8.6 Shutting Down a Logical Domain
8.6 Shutting Down a Logical Domain
Use the ldm stop-domain command of Oracle VM Server for SPARC to shut down logical domains individually.
Only a root user or a user with the ldomadm role can execute this command.
Only a root user or a user with the ldomadm role can execute this command.
primary# ldm stop-domain ldom |
For ldom, specify the name of the logical domain to be shut down.
For details of the ldm command, see the Oracle VM Server for SPARC Reference Manual of the version used.
For details of the ldm command, see the Oracle VM Server for SPARC Reference Manual of the version used.
Operation Procedure
- Switch from the XSCF console to the control domain console to which the physical partition of the target logical domain belongs.
For details on how to switch to the control domain console, see "8.3 Switching to the Control Domain Console From the XSCF Shell."
If you have already switched to the target control domain console, go to the next step. - Execute the ldm list-domain command to check the start status of domains.
The following example checks the status of the primary, ldom1, ldom2, and ldom3 logical domains.
primary# ldm list-domain NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME primary active -n-cv- SP 8 4G 3.1% 1d 36m ldom1 active -n---- 5001 24 2G 34% 1m ldom2 active -n---- 5002 16 1G 34% 17h 48m ldom3 active -n---- 5003 16 4G 1 7% 17h 48m |
- Execute the ldm stop-domain command to shut down the specified domain.
The following example shuts down ldom2.
primary# ldm stop-domain ldom2 |
- Execute the ldm list-domain command to check the start status of domains.
The following example checks the status of the primary, ldom1, ldom2, and ldom3 logical domains.
primary# ldm list-domain NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME primary active -n-cv- SP 8 4G 3.1% 1d 36m ldom1 active -n---- 5001 24 2G 34% 1m ldom2 bound ------ 5002 16 1G ldom3 active -n---- 5003 16 4G 1 7% 17h 48m |
- Once the domain is shut down, STATE changes to the resource bound state (bound).
< Previous Page | Next Page >