Enable SSH on ESXi host (you can do this using vCenter)
Download putty or any SSH client and log in with root access
vim-cmd vmsvc/getallvms
~ # vim-cmd hbrsvc
Commands available under hbrsvc/:
vmreplica.abort vmreplica.pause
vmreplica.create vmreplica.queryReplicationState
vmreplica.disable vmreplica.reconfig
vmreplica.diskDisable vmreplica.resume
vmreplica.diskEnable vmreplica.startOfflineInstance
vmreplica.enable vmreplica.stopOfflineInstance
vmreplica.getConfig vmreplica.sync
vmreplica.getState
See more at: http://www.virtuallyghetto.com/2011/07/hbr-host-based-replication-cli-for-srm.html#sthash.mpqbyGmw.dpuf
http://www.virtuallyghetto.com/2011/07/hbr-host-based-replication-cli-for-srm.html
Comments
Post a Comment