2010年10月20日 星期三

ESX VMA note

============ESX VMA note===============

 

Config VMA的時候記得要

sudo vifp addserver esx.org esx server加進去(會需要root的帳號密碼)

 

另外記得要檢查SSH有沒有打開

Nano /etc/ssh/sshd_config

PermitRootLogin yes

 

新版本的ghettoVBC2

http://communities.vmware.com/docs/DOC-9843

 

`vmware-cmd -l | cut -f5,6 -d"/" 可以在 esx上面把host list出來

 

We can use "getAllVMGuestHostname.pl" to make automation script.

http://communities.vmware.com/docs/DOC-10500

 

We can use command as below to get information what we want (names of VM hosts)

First, you need to fill information in the red column

[vi-admin@VMA01 ~]>getAllVMGuestHostname.pl --server esx14.org --username root --password Password | cut -f1 | tail -n +3 > VM_list_esx14

 

Second, you can get vm hosts name from esx server, then you can process backup command

[vi-admin@VMA01 ~]>esx14backup.pl -vmlist VM_list_esx14

沒有留言: