VMControl commands
IBM® Flex System Manager VMControl includes a library of commands that you can use to perform many of the same workload-management operations that can be accomplished from the Web interface.
smcli commands
The
following smcli commands
are available for VMControl.
Note: The
commands are separated into the following groups:
- Hosts
- Storage
- System pools for servers and storage
- Virtual appliances
- Virtual servers
- Workloads
- addhosttopool
- Use the addhosttopool command to add a host to a server system pool.
- addsttopool
- Use the addsttopool command to add storage resources to a storage system pool.
- captureva
- Use the captureva command to capture a virtual appliance.
- chsyspool
- Use the chsyspool command to update a server system pool.
- chtpmfisrv
- Use the chtpmfisrv command to configure the communication attributes for communicating with a Tivoli Provisioning Manager for Images server.
- chvrtauth
- Use the chvrtauth command to authorize one or more platform managers or host systems by setting or revoking authorization credentials.
- chvrthost
- Use the chvrthost command to change the attributes of one or more virtual-server host.
- chvs
- Use the chvs command to change the attributes of one or more virtual servers.
- chworkload
- Use the chworkload command to change the attributes of a workload.
- deployva
- Use the deployva command to deploy a virtual appliance.
- dumpstcfg
- Use the dumpstcfg command to display SAN configurations.
- entermaintenancemode
- Use the entermaintenancemode command to enter the maintenance mode for a host.
- exitmaintenancemode
- Use the exitmaintenancemode command to exit the maintenance mode for a host.
- importva
- Use the importva command to import a virtual appliance into VMControl Standard Edition.
- lscandidatehost
- Use the lscandidatehost command to list hosts that are candidates for addition to a server system pool.
- lscandidatestorage
- Use the lscandidatestorage command to list candidate storage for a server system pool.
- lscapsrv
- Use the lscapsrv command list servers or workloads that you can capture as virtual appliances.
- lscustomization
- Use the lscustomization command to list attributes that you can customize for a virtual appliance when you run the following commands: captureva, deployva, importva, or migratesys.
- lsdeploytargets
- Use the lsdeploytargets command to list the existing servers, hosts, or server system pools on which you can deploy a virtual appliance workload.
- lsrepos
- Use the lsrepos command to list repositories.
- lssyspool
- Use the lssyspool command to list server system pools.
- lstpmfisrv
- Use the lstpmfisrv command to list the communication attributes for communicating with a Tivoli Provisioning Manager for Images server.
- lsva
- Use the lsva command to list virtual appliances.
- lsvacustomization
- Use the lsvacustomization command to retrieve the default customization properties for this virtual appliance based on its OVF descriptor..
- lsvaforreplace
- Use the lsvaforreplace command to list virtual appliances that can replace the version on the specified virtual server.
- lsvaquery
- Use the lsvaquery command to list virtual appliance queries for the current user.
- lsvrtcap
- Use the lsvrtcap command to list virtualization capabilities of a virtual server or host system.
- lsvrtsys
- Use the lsvrtsys command to list the name and ID for virtual systems.
- lsvsforreplace
- Use the lsvsforreplace command to list all virtual servers that are candidates for being updated to the specified virtual appliance.
- lsworkloads
- Use the lsworkloads command to display workloads.
- migratesys
- Use the migratesys command to migrate a server managed by Tivoli Provisioning Manager for Images into a new virtual server managed by IBM Flex System Manager VMControl, and capture the result as virtual appliance.
- mkclusstforhost
- Use the mkclusstforhost command to provision backing storage for a SAN Volume Controller and make it ready for use.
- mkrelocatetask
- Use the mkrelocatetask command to create a task to relocate (or migrate) virtual servers.
- mkrepos
- Use the mkrepos command to create an image repository for hosting virtual appliances.
- mkstsyspool
- Use the mkstsyspool command to create a new storage system pool.
- mksvcsshrsap
- Use the mksvcsshrsap command to create an SSH remote service access point (RSAP) connection for the SAN Volume Controller (SVC) family of storage subsystems. This connection enables the use of FlashCopy byIBM Flex System Manager VMControl, which decreases the amount of time it takes to copy data between storage volumes.
- mksyspool
- Use the mksyspool command to create a server system pool.
- mktpcrrsap
- Use the mktpcrrsap command to create a remote service access point (RSAP) connection to a IBM Tivoli Storage Productivity Center for Replication (TPC-R) server to allow for fast copy operations. This connection enables the use of FlashCopy on IBM Flex System Manager VMControl, which decreases the amount of time that it takes to capture workloads and deploy virtual appliances.
- mkvs
- Use the mkvs command to create a virtual server.
- mkworkload
- Use the mkworkload command to create a workload.
- mkvaquery
- Use the mkvaquery command to create queries for virtual appliances advanced search.
- replaceversion
- Use the replaceversion command to deploy a different version of a virtual appliance on one or more virtual servers.
- resumeworkload
- Use the resumeworkload command to resume one or more previously suspended workloads.
- rmhostfrompool
- Use the rmhostfrompool command to remove a host from a server system pool.
- rmrepos
- Use the rmrepos command to remove an image repository.
- rmstsyspool
- Use the rmstsyspool command to delete a storage system pool.
- rmsvcsshrsap
- Use the rmsvcsshrsap command to remove the SSH remote service access point (RSAP) connection for the SAN Volume Controller and remove the accessInfo to credential mapping in the CTS.
- rmsyspool
- Use the rmsyspool command to delete a server system pool.
- rmtpcrrsap
- Use the rmtpcrrsap command to remove a remote service access point (RSAP) connection to a IBM Tivoli Storage Productivity Center for Replication (TPC-R) server. This connection removal disables the use of FlashCopy on IBM Flex System Manager VMControl, which increases the amount of time that it takes to capture workloads and deploy virtual appliances.
- rmva
- Use the rmva command to permanently delete a virtual appliance.
- rmvaquery
- Use the rmvaquery command to remove a specific virtual appliance query for the current user, or to remove all queries for the current user.
- rmvs
- Use the rmvs command to permanently delete one or more virtual servers and, optionally, any attached storage.
- rmworkload
- Use the rmworkload command to remove a workload or a collection of workloads.
- startworkload
- Use the startworkload command to start a workload.
- stopworkload
- Use the stopworkload command to stop a workload.
- suspendworkload
- Use the suspendworkload command to suspend one or more workloads.
- testluncreate
- Use the testluncreate command to verify the completeness of the storage configuration and the control points that are both used to manage external storage for IBM Flex System Manager VMControl.
- vmcrelocate
- Use the vmcrelocate command to generate, display, and, optionally, execute a Placement Services plan.