|Skip Navigation Links|
|Exit Print View|
|Oracle VM Server for SPARC 2.2 Administration Guide Oracle VM Server for SPARC|
The initial configuration where the platform appears as a single system hosting only one operating system is called the factory default configuration. If you want to disable logical domains, you probably also want to restore this configuration so that the system regains access to all resources (CPUs, memory, I/O), which might have been assigned to other domains.
This section describes how to remove all guest domains, remove all Logical Domains configurations, and revert the configuration to the factory default.
primary# ldm stop-domain -a
primary# ldm unbind-domain ldom
Note - You might be unable to unbind an I/O domain if it is providing services required by the control domain. In this situation, skip this step.
primary# ldm remove-domain -a
primary# ldm list-config
Use the following command for each such configuration:
primary# ldm rm-config config-name
After you remove all the configurations previously saved to the SP, the factory-default domain is the next domain to use when the control domain (primary) is rebooted.
primary# ldm set-config factory-default
primary# shutdown -i1 -g0 -y
-> stop /SYS -> start /SYS
primary# svcadm disable ldmd
Note - Disabling the Logical Domains Manager does not stop any running domains, but does disable the ability to create a new domains, change the configuration of existing domains, or monitor the state of the domains.
Caution - If you disable the Logical Domains Manager, this disables some services, such as error reporting or power management. In the case of error reporting, if you are in the factory-default configuration, you can reboot the control domain to restore error reporting. However, this is not the case with power management. In addition, some system management or monitoring tools rely on the Logical Domains Manager.
After restoring the factory default configuration and disabling the Logical Domains Manager, you can remove the Logical Domains Manager software.
Note - If you remove the Logical Domains Manager before restoring the factory default configuration, you can restore the factory default configuration from the service processor as shown in the following procedure.
primary# pkgrm SUNWldm SUNWldmp2v
primary# pkg uninstall ldomsmanager
If you remove the Logical Domains Manager before restoring the factory default configuration, you can restore the factory default configuration from the service processor.
-> set /HOST/bootmode config=factory-default
-> reset /SYS