Example--Bringing a Cluster Node Out of Maintenance State and
Resetting the Quorum Vote Count
The following example resets the quorum count for a cluster node and
its quorum devices to their defaults and verifies the result. The scstat -q output shows the Node votes for phys-schost-1
to be 1 and the status to be online.
The Quorum Summary should also show an increase in vote
counts.
phys-schost-2# scconf -c -q node=phys-schost-1,reset
|
On phys-schost-1:
SPARC:
x86: <<< Current Boot Parameters >>>
Boot path: /pci@0,0/pci8086,2545@3/pci8086,1460@1d/pci8086,341a@7,1/
sd@0,0:a
Boot args:
Type b [file-name] [boot-flags] <ENTER> to boot with options
or i <ENTER> to enter boot interpreter
or <ENTER> to boot with defaults
<<< timeout in 5 seconds >>>
Select (b)oot or (i)nterpreter: b -x |
phys-schost-1# scstat -q
-- Quorum Summary --
Quorum votes possible: 6
Quorum votes needed: 4
Quorum votes present: 6
-- Quorum Votes by Node --
Node Name Present Possible Status
--------- ------- -------- ------
Node votes: phys-schost-1 1 1 Online
Node votes: phys-schost-2 1 1 Online
Node votes: phys-schost-3 1 1 Online
-- Quorum Votes by Device --
Device Name Present Possible Status
----------- ------- -------- ------
Device votes: /dev/did/rdsk/d3s2 1 1 Online
Device votes: /dev/did/rdsk/d17s2 1 1 Online
Device votes: /dev/did/rdsk/d31s2 1 1 Online
|
Adding and Removing a Cluster Node
The following table lists the tasks to perform when adding a node to
an existing cluster. To complete the procedure correctly, these tasks must
be performed in the order shown.
Table 7-2 Task Map: Adding a Cluster Node to an Existing Cluster
Task | For Instructions, Go To |
Install the host adapter on the node and verify that the existing cluster
interconnects can support the new node | Sun Cluster Hardware Administration Manual for Solaris OS |
Add shared storage | Sun Cluster Hardware Administration
Manual for Solaris OS |
Add the node to the authorized node list - Use scsetup. | How to Add a Node to the Authorized Node List |
Install and configure the software on the new cluster node -
Install the Solaris Operating Environment and Sun Cluster software - Configure the node as part of the cluster | "Installing and Configuring Sun Cluster Software"
in Sun Cluster Software Installation Guide for Solaris OS |
The following table lists the tasks to perform when removing a node
from an existing cluster. To complete the procedure correctly, the tasks must
be performed in the order shown.
Caution - Do not use this procedure if your cluster is running an OPS
configuration. At this time, removing a node in an OPS configuration might
cause nodes to panic at reboot.
Table 7-3 Task Map: Removing a Cluster Node (5/02)
Task | For Instructions, Go To |
Move all resource groups and disk device groups off of the node to be removed. - Use scswitch(1M) | # scswitch -S -h from-node |
Remove the node from all resource groups. -
Use scrgadm(1M) | Sun Cluster Data Services Planning and Administration
Guide for Solaris OS |
Remove node from all disk device groups - Use scconf(1M), metaset(1M),
and scsetup(1M) | How to Remove a Node From a Disk Device Group (Solstice DiskSuite/Solaris Volume Manager) SPARC: How to Remove a Node From a Disk Device Group (VERITAS Volume Manager) SPARC: How to Remove a Node From a Raw Disk Device Group Caution: If the number of desired secondaries is configured
as 2 or more, it must be decreased to 1. |
Remove all fully connected quorum devices. -
Use scsetup. | Caution: Do not remove the quorum
device if you are removing a node from a two-node cluster. How to Remove a Quorum Device Note that although you must remove
the quorum device before you remove the storage device in the next step, you
can add the quorum device back immediately afterward. |
Remove all fully connected storage devices from the node. - Use devfsadm(1M), scdidadm(1M). | Caution: Do not remove the quorum device if you are removing
a node from a two-node cluster.How to Remove Connectivity Between an Array and a Single Node, in a
Cluster With Greater Than Two-Node Connectivity |
Add back the quorum devices (to only the nodes that are intended to remain
in the cluster). - Use scconf -a -q globaldev=d[n],node=node1,node=node2 | scconf(1M) |
Place the node being removed into maintenance state. -
Use scswitch(1M), shutdown(1M),
and scconf(1M). | How to Put a Node Into Maintenance State |
Remove all logical transport connections (transport cables and adapters) to
the node being removed. - Use scsetup. | How to Remove Cluster Transport Cables, Transport Adapters, and Transport Junctions |
Remove all quorum devices connected
to the node being removed. - Use scsetup, scconf(1M). | How to Remove the Last Quorum Device From a Cluster |
Remove node from the cluster software configuration. -
Use scconf(1M). | How to Remove a Node From the Cluster Software Configuration |
How to Add a Node to the Authorized Node List
Before adding
a machine to an existing cluster, be sure the node has all of the necessary
hardware correctly installed and configured, including a good physical connection
to the private cluster interconnect.
For hardware installation information, refer to the Sun Cluster Hardware Administration Manual for Solaris
OS or the hardware documentation that shipped with your
server.
This procedure permits a machine to install itself into a cluster by
adding its node name to the list of authorized nodes for that cluster.
You must be superuser on a current cluster member to complete this procedure.
Be sure you have correctly completed all prerequisite hardware installation
and configuration tasks listed in the task map for Adding and Removing a Cluster Node.
Type the scsetup command.
The Main Menu is displayed.
To access the New Nodes Menu, type 7 at the Main
Menu.
To modify the authorized list, type 3 at the New
Nodes Menu, Specify the name of a machine which may add itself. Follow the prompts to add the node's name to the cluster. You will be
asked for the name of the node to be added.
Verify that the task has been performed successfully. The scsetup utility prints a "Command completed successfully"
message if it completes the task without error.
Quit the scsetup utility.
Install and configure the software on the new cluster node. Use either scinstall or JumpStart to complete the installation and configuration of the
new node, as described in the Sun Cluster Software Installation Guide for Solaris OS.
To prevent any new machines from being added to the cluster, type 1 at the New Nodes Menu. Follow the scsetup prompts. This option tells the
cluster to ignore all requests coming in over the public network from any
new machine trying to add itself to the cluster.
|