10.7.2 Method of Changing the Automatic Replacement Policy
10.7.2 Method of Changing the Automatic Replacement Policy
The automatic replacement policy can be changed using the svccfg command of the Oracle VM Server for SPARC.
The automatic replacement can be enabled/disabled by the autoreplacement_policy_cpu property of the ldmd service. You can use the following values for the autoreplacement_policy_cpu property.
The automatic replacement can be enabled/disabled by the autoreplacement_policy_cpu property of the ldmd service. You can use the following values for the autoreplacement_policy_cpu property.
- autoreplacement_policy_cpu=1
A failed CPU resource is automatically replaced. This is the default policy.
A failed CPU resource is automatically replaced. This is the default policy.
- autoreplacement_policy_cpu=0
If a failure occurs in a CPU, it is not automatically replaced.
If a failure occurs in a CPU, it is not automatically replaced.
The setting procedure is described below.
- Log in to the control domain.
- Become the administrator.
- Display the autoreplacement_policy_cpu property value.
# svccfg -s ldmd listprop ldmd/autoreplacement_policy_cpu |
- Stop the ldmd service.
# svcadm disable ldmd |
- Change the autoreplacement_policy_cpu property value.
# svccfg -s ldmd setprop ldmd/autoreplacement_policy_cpu=value |
- Refresh and restart the ldmd service.
# svcadm refresh ldmd # svcadm enable ldmd |
The following example shows how to display the current value of the autoreplacement_policy_cpu property and how to change it to a new value. The original value of this property is 0. In that case, the CPU automatic replacement process is disabled. To stop or restart the ldmd service, use the svcadm command. To display or set property values, use the svccfg command.
# svccfg -s ldmd listprop ldmd/autoreplacement_policy_cpu ldmd/autoreplacement_policy_cpu integer 0 # svcadm disable ldmd # svccfg -s ldmd setprop ldmd/autoreplacement_policy_cpu=1 # svcadm refresh ldmd # svcadm enable ldmd |
< Previous Page | Next Page >