Shutting Down a Clustered Configuration (CLI)
Use this procedure to shut down a clustered configuration.
Note -
For the purpose of this procedure, the clustered controllers are referred to
as controller-a and controller-b.
-
Verify the cluster state of each controller, using the following
commands:
In the following example, controller-a is the owner and in
the active state. Its peer, controller-b, is the standby
controller and in the stripped state.
controller-a:>configuration cluster
controller-a:configuration cluster> show
state = AKCS_OWNER
description = Active (takeover completed)
peer_asn = 365ed33c-3b9d-c533-9349-8014e9da0408
peer_hostname = controller-b
peer_state = AKCS_STRIPPED
peer_description = Ready (waiting for failback)
-
Use the following table to verify the status of each controller:
|
|
|
AKCS_CLUSTERED
|
AKCS_CLUSTERED
|
Both controllers are running in a normal clustered
condition.
|
AKCS_OWNER
|
AKCS_STRIPPED
|
controller-a owns all of the resources
and is the active controller.
controller-b, is in standby mode and
has no resources. To limit the number of times a pool is
moved, shut down the STRIPPED controller first.
|
AKCS_OWNER
|
rebooting
|
controller-b is rebooting and
controller-a has all
resources.
|
AKCS_OWNER
|
unknown
|
controller-b is powered off or
rebooting, all of its cluster interconnect links are down,
or clustering has not yet been configured.
|
|
Note -
If the status of each controller does not agree, the cluster may be experiencing a problem.
Contact Oracle Support before proceeding.
-
Shut down the controller-b, using the following
commands:
controller-b:configuration cluster> cd /
controller-b:> maintenance system poweroff
This will turn off power to the appliance. Are you sure? (Y/N)Y
Note -
If both controllers have a status of AKCS_CLUSTERED, a takeover of the
surviving controller begins automatically.
-
From controller-a, use the show command
to verify that controller-b has been powered off and is in
state OWNER/unknown.
controller-a:configuration cluster> show
state = AKCS_OWNER
description = Active (takeover completed)
peer_asn = 365ed33c-3b9d-c533-9349-8014e9da0408
peer_hostname = controller-b
peer_state = OWNER/unknown
peer_description =
-
Shut down controller-a using the following commands:
controller-a:configuration cluster> cd /
controller-a:> maintenance system poweroff
This will turn off power to the appliance. Are you sure? (Y/N) Y
- (Optional)
To confirm that both controllers are powered off, log into the Oracle ILOM and
enter:
->show /SYS power_state
For information about accessing ILOM, see Logging in
to Oracle ILOM Remotely Using a Command Line Interface in
Oracle ZFS Storage Appliance Customer Service
Manual.
-
Power off the disk shelves.
-
Place the power supply on/off switches to the "O" off position.
-
Disconnect the power cords from the external power source for the
cabinet.
Note -
All power cords must be disconnected to completely remove power
from the disk shelf.
For more information, see Powering Off a Disk
Shelf in Oracle ZFS Storage
Appliance Installation Guide.