Deploying VMA virtual Machines
650) this.width=650; "title=" image "style=" border-right-width:0px;background-image:none;border-bottom-width:0px; padding-top:0px;padding-left:0px;padding-right:0px;border-top-width:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m01/53/8d/wkiol1rq8ppb8bu_aabuyvsr1v4996.jpg "width=" height= "299"/>
650) this.width=650; "title=" image "style=" border-right-width:0px;background-image:none;border-bottom-width:0px; padding-top:0px;padding-left:0px;padding-right:0px;border-top-width:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m02/53/8f/wkiom1rq8jpgpkohaaci156fq6g459.jpg "width=" 347 "height=" 296 "/>
650) this.width=650; "title=" image "style=" border-right-width:0px;background-image:none;border-bottom-width:0px; padding-top:0px;padding-left:0px;padding-right:0px;border-top-width:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m01/53/8d/wkiol1rq8qqwpjleaaeq4kdid0q332.jpg "width=" 349 "height=" 298 "/>
650) this.width=650; "title=" image "style=" border-right-width:0px;background-image:none;border-bottom-width:0px; padding-top:0px;padding-left:0px;padding-right:0px;border-top-width:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m02/53/8d/wkiol1rq8qrbtre5aab-tmxaldc983.jpg "width=" 354 "height=" 302 "/>
650) this.width=650; "title=" image "style=" border-right-width:0px;background-image:none;border-bottom-width:0px; padding-top:0px;padding-left:0px;padding-right:0px;border-top-width:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m00/53/8d/wkiol1rq8qvbm26faacsxfifkwm305.jpg "width=" 359 "height=" 306 "/>
650) this.width=650; "title=" image "style=" border-right-width:0px;background-image:none;border-bottom-width:0px; padding-top:0px;padding-left:0px;padding-right:0px;border-top-width:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m01/53/8d/wkiol1rq8qzj0bgraac7ojgbbmq643.jpg "width=" 363 "height=" 309 "/>
650) this.width=650; "title=" image "style=" border-right-width:0px;background-image:none;border-bottom-width:0px; padding-top:0px;padding-left:0px;padding-right:0px;border-top-width:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m02/53/8d/wkiol1rq8rdgrqlmaabu6elkocy515.jpg "width=" 368 "height=" 314 "/>
650) this.width=650; "title=" image "style=" border-right-width:0px;background-image:none;border-bottom-width:0px; padding-top:0px;padding-left:0px;padding-right:0px;border-top-width:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m00/53/8d/wkiol1rq8rdjtzgdaacratc8zws370.jpg "width=" 370 "height=" "/>"
650) this.width=650; "title=" image "style=" border-right-width:0px;background-image:none;border-bottom-width:0px; padding-top:0px;padding-left:0px;padding-right:0px;border-top-width:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m01/53/8d/wkiol1rq8rhgbuysaab7191mkua987.jpg "width=" 368 "height=" 314 "/>
650) this.width=650; "title=" image "style=" border-right-width:0px;background-image:none;border-bottom-width:0px; padding-top:0px;padding-left:0px;padding-right:0px;border-top-width:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m02/53/8d/wkiol1rq8rhhxuayaackmteax5s968.jpg "width=" 372 "height=" 317 "/>
Click "Finish" to start the deployment.
VMA Virtual machine settings
When the deployment is complete, turn on the virtual machine power and set IPV4, netmask, hostname, IPV4 gateway, DNS in the console window, respectively. When the settings are complete, press 1 to exit the program. Then change the vi-admin user password. The password requirements are as follows:
9 characters
1 caps
1 lowercase
1 digits
A $ or #
After setting the password, use the Vi-admin account to log in to the system and use the following command to change the root password.
[Email protected]:~> sudo passwd root |
Enable Vi-user Users:
[Email protected]:~> sudo passwd vi-user Vi-admin ' s Password: changing password for Vi-user. New Password: Retype new Password: Password changed. |
Add vcenter, ESXi to VMA:
[email protected]:~> vifp addserver vcenter.xzxj.edu.cn Enter username for vcenter.xzxj.edu.cn: [email protected] [email protected ] @vcenter. xzxj.edu.cn ' s password: This would store username and password in credential store which is a security risk . Want to continue? (yes/no): Yes [email protected]:~> vifp listservers--long vcenter.xzxj.edu.cn vCenter fpauth [email protected]:~> vifp addserver node01.xzxj.edu.cn [email protected] ' s password: [email protected]:~> vifp addserver node02.xzxj.edu.cn [email protected] ' s password: //list added servers [email protected]:~> vifp listservers--long vcenter.xzxj.edu.cn vcenter fpauth node01.xzxj.edu.cn ESXi Fpauth node02.xzxj.edu.cn ESXi fpauth |
Set up a health check script
This health check script name is vmwarevspherehealthcheck.pl and its configuration file is healthcheck.conf. It is recommended that this script and configuration file be stored in the/home/vi-admin/bin directory. The properties of the modified file are as follows:
[Email protected]:~/bin> chown vi-admin:root vmwarevspherehealthcheck.pl [Email protected]:~/bin> chown vi-admin:root healthcheck.conf |
650) this.width=650; "title=" image "style=" border-right-width:0px;background-image:none;border-bottom-width:0px; padding-top:0px;padding-left:0px;padding-right:0px;border-top-width:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m00/53/8d/wkiol1rq8rlt0ewhaaea7vn9ibq932.jpg "width=" 580 "height=" 121 "/>
Then run the vmwarevspherehealthcheck.pl script as follows:
[email protected]:~> strong>vmwarevspherehealthcheck.pl--server vcenter.xzxj.edu.cn --username [email protected] --config bin/healthcheck.conf --type vcenter Enter Password: Generating VMware vSphere Health Report v5.5.0 "vmware_health_report.html" ... This can take a few minutes depending on the size of your environment. Get a cup of coffee/tea/beer and check out http://www.virtuallyghetto.com Wide character in print at/home/vi-admin/bin/vmwarevspherehealthcheck.pl line 554. Wide character in print at/home/vi-admin/bin/vmwarevspherehealthcheck.pl line 3582. Wide character in print at/home/vi-admin/bin/vmwarevspherehealthcheck.pl line 3896. Start time:11-17-2014 21:31:00 End time:11-17-2014 21:31:21 Duration:21 Seconds |
After the run is complete, the vmware_health_report.html file is generated in the current directory. You can view information about VMware when you open it with a browser. If it is garbled after opening, change the character set of the browser to Unicode.
References: VMware vSphere Management Assistant Guide
This article from "candon123" blog, declined reprint!
VMware vSphere Management Assistant Guide