Sun Cluster Handbuch Systemverwaltung für Solaris OS

Beispiel — Versetzen eines Cluster-Knotens in Wartungszustand

Im nachstehenden Beispiel wird ein Cluster-Knoten in Wartungszustand versetzt und das Ergebnis überprüft. Die Ausgabe von scstat -q zeigt, dass Node votes für phys-schost-1 den Wert 0 (Null) und den Status Offline aufweist. Auch Quorum Summary sollte eine reduzierte Stimmenanzahl anzeigen. Je nach Konfiguration zeigt die Ausgabe für Quorum Votes by Device möglicherweise auch an, dass manche Quorum-Plattengeräte offline sind.


[On the node to be put into maintenance state:]
phys-schost-1# scswitch -S -h phys-schost-1
phys-schost-1# shutdown -g0 -y -i0

[On another node in the cluster:]
phys-schost-2# scconf -c -q node=phys-schost-1,maintstate
phys-schost-2# scstat -q

-- Quorum Summary --
  Quorum votes possible:      3
  Quorum votes needed:        2
  Quorum votes present:       3

-- Quorum Votes by Node --
                    Node Name           Present Possible Status
                    ---------           ------- -------- ------
  Node votes:       phys-schost-1       0        0       Offline
  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  0        0       Offline
  Device votes:     /dev/did/rdsk/d17s2 0        0       Offline
  Device votes:     /dev/did/rdsk/d31s2 1        1       Online