vi-admin@vma:~> vifp addserver vcenter.xzxj.edu.cn
Enter username for vcenter.xzxj.edu.cn: administrator@vsphere.local
administrator@vsphere.local@vcenter.xzxj.edu.cn‘s password:
This will store username and password in credential store which is a security risk. Do you want to continue?(yes/no): yes
vi-admin@vma:~> vifp listservers --long
vcenter.xzxj.edu.cn vCenter fpauth
vi-admin@vma:~> vifp addserver node01.xzxj.edu.cn
root@node01.xzxj.edu.cn‘s password:
vi-admin@vma:~> vifp addserver node02.xzxj.edu.cn
root@node02.xzxj.edu.cn‘s password:
//列出已添加服务器
vi-admin@vma:~> vifp listservers --long
vcenter.xzxj.edu.cn vCenter fpauth
node01.xzxj.edu.cn ESXi fpauth
node02.xzxj.edu.cn ESXi fpauth
|