5.0
Table Of Contents
- vSphere Management Assistant Guide
- Contents
- About This Book
- Introduction to vMA
- Getting Started with vMA
- Hardware Requirements
- Software Requirements
- Required Authentication Information
- Deploy vMA
- Configure vMA at First Boot
- vMA Console and Web UI
- Configure vMA for Active Directory Authentication
- Configure Unattended Authentication for Active Directory Targets
- Enable the vi-user Account
- vMA User Account Privileges
- Add Target Servers to vMA
- Running vSphere CLI for the Targets
- Reconfigure a Target Server
- Remove Target Servers from vMA
- Modifying Scripts
- Configure vMA to Use a Static IP Address
- Configure vMA to Use a DHCP Server
- Setting the Time Zone
- Shut Down vMA
- Delete vMA
- Troubleshooting vMA
- Update vMA
- Configure Automatic vMA Updates
- vMA Interfaces
- Index
vSphere Management Assistant Guide
20 VMware, Inc.
Example 2-1. Adding and Reconfiguring a Target
vi-admin@example-dhcp:~> vifp addserver 90.100.110.120
Enter username for 90.100.110.120: administrator
administrator@90.100.110.120'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@example-dhcp:~> vifp reconfigure 90.100.110.120
administrator@90.100.110.120's password:
vi-admin@example-dhcp:~>
Remove Target Servers from vMA
BeforeyoudeleteavMAvirtualmachine,removealltargetserversfromvMA.Ifyoudonotremovetarget
ESXihosts,thevi‐adminandvi‐userusersremainonthetargetservers.
To remove a vCenter Server system from vMA
1LogintovMAasvi‐admin.
2ToremoveatargetvCenterServersystemfromvMA,runthe
followingcommand:
vifp removeserver <servername>
ThevCenterServersystemisnolongeravMAtarget.
To remove an ESXi host from vMA
1LogintovMAasvi‐admin.
2ToremoveanESXihostthatisavMAtarget,runthefollowingcommand:
vifp removeserver <host>
TheRecentTaskspanelofthetargetserverdisplaysinformationaboutthevi‐adminandvi‐userusersthat
arebeingremoved.TheUsersandGroupspanelofthetargetservernolongerdisplaystheusers.
Modifying Scripts
YoucanmodifyserviceconsolescriptstorunfromvMA.
Linuxcommands–ScriptsrunninginvMAcannotuseLinuxcommandsinthewaythattheydoonthe
ESXserviceconsolebecausetheLinuxcommandsarerunningonvMAandnotontheESXhost.
AccesstoESXifiles–IfyouneedaccesstofoldersorfilesonanESXihost,youcanmakethathostatarget
serverandusethevifsvSphereCLIcommandtoview,retrieve,ormodifyfoldersandfiles.
Referencestolocalhost–Scriptscannotrefertolocalhost.
Ifvi‐fastpassisinitialized,allcommandsthatdonotspecify--serverapplytothedefaulttarget.
Ifvi‐fastpassisinitialized,allcommandsthatspecifyhostnameorIPofthetargetapplyto thetarget
specified.
Programmaticconnection–InPerlscriptsorJavaprograms,youcancallVmaTarget.login() method
of VmaTargetLibandspecifythehosttoconnectto.Thedirectory/opt/vmware/vma/samplescontains
examplesinPerlandJava.vMAhandlesauthenticationiftheserverhasbeenestablishedasatarget
server.ProgramscanuseVmaTargetLiblibrarycommands.See
“UsingtheVmaTargetLibLibrary”on
page 33.
Noprocnodes–SomeserviceconsolescriptsstilluseVMwareprocnodes,whichwereofficiallymade
obsoletewithESXServer3.0andarenotavailableinESX/ESXi4.0andlater.Youcanextractinformation
thatwasavailableinVMwareprocnodesusingthevSphereCLIcommandsavailableonvMA.
Targetspecification–Youmustspecifythetargetserverwhenyouruncommandsorscripts.