change disk_domain repair_env_status
Function
Parameters
Parameter |
Description |
Value |
---|---|---|
disk_domain_id=? | ID of the disk domain whose recovery environment you want to enter or exit. | To obtain the value, run the "show disk_domain general" command in the guest view. |
action=? | Enters or exits the recovery environment of a disk domain. | The value can be "exit" or "enter", where:
|
force=? | Whether to forcibly enter the recovery environment of a disk domain. | The value can be "yes" and "no", where:
|
Example
-
Enter the recovery environment of disk domain "0".
developer:/>change disk_domain repair_env_status disk_domain_id=0 action=enter DANGER: You are going to enter or exit a repair environment. Entering the repair environment will make the disk domain and LUNs go offline and you will not be able to perform system configuration operations. Exiting the repair environment will make the disk domain and LUN go online, and you will be able to perform system configuration operations. Suggestion: Before you run this command, 1. Ensure that host I/Os have been stopped. 2. Ensure value-added services have been stopped. Have you read danger alert message carefully?(y/n)y Are you sure you really want to perform the operation?(y/n)y Command executed successfully.
-
Forcibly enter the recovery environment of disk domain "0".
developer:/>change disk_domain repair_env_status disk_domain_id=0 action=enter force=yes DANGER: You are going to enter or exit a repair environment. Entering the repair environment will make the disk domain and LUNs go offline and you will not be able to perform system configuration operations. Exiting the repair environment will make the disk domain and LUN go online, and you will be able to perform system configuration operations. Suggestion: Before you run this command, 1. Ensure that host I/Os have been stopped. 2. Ensure value-added services have been stopped. Have you read danger alert message carefully?(y/n)y Are you sure you really want to perform the operation?(y/n)y Command executed successfully.