Use the mount command to complete various Data Protection for VMware Recovery Agent tasks.
The Recovery Agent CLI can be used to mount (mount add) and unmount (mount del) volumes and disks, and to view a list of mounted volumes (mount view).To use the mount command, Data Protection for VMware Recovery Agent must be running. Use the set_connection command to connect a TDPVMwareShell.exe to the mount application.
Snapshots are mounted or unmounted on the system where Data Protection for VMware Recovery Agent is running.
Virtual volume - only for a partition mount
Reparse point - only for a partition mount
iSCSI target
In the following example V: is the virtual volume
mount target:-target "V:"
-target "C:\SNOWBIRD@FASTBACK\SnowbirtK\Snowbird\K\\"
In the following example an iSCSI target
is specified:-target "ISCSI: target=<target_name> initiator=<initiator_name>"
tsm: ip=<ip/host_name> port=<port_number>
node=<node_name> pass=<node_password>
You
can also specify the as_node and from_node options.
If the password field is empty, the Data Protection for VMware Recovery Agent attempts to
use the password for the stored node.-date "2013-Apr-12 22:42:52 AM"
To
view the active (or latest) snapshot, specify last snapshot.mount add -rep "tsm: ip=10.10.10.01 port=1500 node=tsm-ba pass=password"
-target "iscsi: target=test1 initiator=initiator_name" -type disk
-vmname VM-03ENT -disk 1 -date "2013-Jan-21 10:46:57 AM"
In
this example, a snapshot of VMware named VM-03ent is located on a Tivoli Storage
Manager server with
IP 10.10.10.01. Disk number 1 of this snapshot is mounted to the system
where Data Protection for VMware Recovery Agent is
running.mount del -target "c:\gever" -force
To
dismount a snapshot currently mounted as volume V:,
use the following command:mount del -target V:
To
dismount a snapshot currently mounted as an iSCSI target, use the
following command:mount del -target "ISCSI:<target_name>"
tsm: ip=<IP/host name> port=<PortNumber>
node=<NodeName> pass=<NodePassword>
mount dump –type TSM –for TSMVE -rep P -request
ListVM [–file <FileNameAndPath>]
mount dump –type TSM –for TSMVE -rep P -request
ListSnapshots -VMName P [-file <FileNameAndPath>]
mount dump –type TSM –for TSMVE -rep P -request
ListPartitions -VMName P -disk P -date P [-file <FileNameAndPath>]
mount remove -rep "tsm: NodeName@ip"
mount view
>>-TDPVMwareShell.exe -c--mount--add----------------------------> >-- -rep -"tsm: -ip--=--+-IP -------+--port--=--portNumber------> '-host_name-' >--node--=--nodeName--+------------------------+----------------> '- -as_node--=--nodeName-' >--pass--=--NodePassword"-- -vmname--vmname-- -type--disk-------> >-- -disk----disk_number----date--date_format-------------------> >-- -target -"ISCSI:--target--=--target_name--initiator--=--initiator_name"-><
>>-TDPVMwareShell.exe -c--mount--add-- -rep "tsm:---------------> >--ip--=--+-IP---------+--port--=--portNumber-------------------> '- host_name-' >--node--=--nodeName--+------------------------+----------------> '- -as_node--=--nodeName-' >--pass--=--NodePassword"-- -vmname--vmname---------------------> >-- -disk--+-disk_number-+--date--date_format-------------------> '-vmdk--------' >-- -type partition-- -PartitionNumber--partNum-----------------> >-- -target -+-volume_letter--------------------------------------------------+->< '-"ISCSI:--target--=--target_name--initiator--=--initiator_name"-'