Problem: NetBackup using the vSphere/vCenter MOB to create a Snapshot for a VM
Process:
To create this process the following can be performed:
https:// <virtual_center>/mob/?moid= <VM mob identifier>&method=createSnapshot
Where:
<virtual_center> is the name or IP of the virtual center machine
<VM mob identifier> is the Manged Object reference for the VM in question. This can be obtained from the NetBackup cache (NetBackup\online_util\fi_cntl\vcbnames_<vcenter>_Any)
Here is an example of the vcbnames_ <vcenter>_Any:
GUEST
DN: 2003VM1
MO: vm-35
VC: vcenter1
VX: DATA
DS: DATA
DT: 1381265786
ID: 422bcc25-6ae1-8cd4-d8df-418d80a82d2c
VI: 502beda2-5666-b443-3c0d-9d6392cccd75
Fields are described below:
name – NetBackup uses the following name format "NBU_SNAPSHOT <proxy> <time>", where proxy should be the backup host and time is formatted local time. For example (NBU_SNAPSHOT nbproxy 1405363154). It is not necessary to use the same format as NetBackup unless you believe the name is causing a problem, you can just use "Test1" or something simple.
description – NetBackup uses the following decription format "Created by <proxy> on <time>", where proxy should be the backup host and time is formatted local time. For example (Created by nbproxy on Mon Jul 14 14:42:25 2014). It is not necessary to use the same format as NetBackup, you can create a simple description or leave it blank.
memory – false
quiesce – true if Virtual machine quiesce is enabled. Else false.
Virtual Center Snapshot Manager can be used to Remove the created snapshot, however if you are trying to test the snapshot removal using the API use the following web call:
https:// <vcenter>/mob/?moid= <snapshot_moref>&method=remove
https:// <vcenter>/mob/?moid= <VM mob identifier>&doPath=snapshot
Comments
0 comments
Please sign in to leave a comment.