Guía de administración del sistema de Oracle® Solaris Cluster

Salir de la Vista de impresión

Actualización: Octubre de 2015
 
 

Arranque de un cluster

Este procedimiento explica cómo arrancar un cluster global o uno de zona cuyos nodos se han cerrado. En los nodos de un cluster global, el sistema muestra el indicador ok en los sistemas SPARC o el mensaje Press any key to continue (Pulse cualquier tecla para continuar) en los sistemas x86 basados en GRUB.

phys-schost# refleja un indicador de cluster global. Siga este procedimiento en un cluster global.

Este procedimiento proporciona las formas largas de los comandos de Oracle Solaris Cluster. La mayoría de los comandos también tienen una forma corta. A excepción de las formas de los nombres de comandos, los comandos son idénticos.


Notas -  Para crear un cluster de zona, siga las instrucciones de Creación y configuración de un cluster de zona de Guía de instalación del software de Oracle Solaris Cluster o utilice la GUI para crear el cluster de zona.
  1. Inicie cada nodo en el modo de cluster.

    Siga todos los pasos de este procedimiento desde un nodo del cluster global.

    • En los sistemas basados en SPARC, ejecute el comando siguiente.
      ok boot
    • En los sistemas basados en x86, ejecute los comandos siguientes.

      Cuando aparezca el menú GRUB, seleccione la entrada de Oracle Solaris que corresponda y pulse Intro.

      Para obtener más información sobre el inicio basado en GRUB, consulte Inicio de un sistema de Inicio y cierre de sistemas Oracle Solaris 11.2 .


      Notas -  Los nodos deben disponer de una conexión operativa con la interconexión de cluster para poder convertirse en miembros del cluster.
    • Si tiene un cluster de zona, puede arrancar el cluster de zona completo.
      phys-schost# clzonecluster boot zoneclustername
    • Si tiene más de un cluster de zona, puede arrancar todos los clusters de zona. Use + en lugar de zoneclustername.
  2. Compruebe que los nodos se hayan arrancado sin errores y que estén en línea.

    El comando cluster status informa sobre el estado de los nodos del cluster global.

    phys-schost# cluster status -t node

    Si ejecuta el comando de estado clzonecluster status desde un nodo del cluster global, el comando informa el estado del nodo del cluster de zona.

    phys-schost# clzonecluster status

    Notas -  Si el sistema de archivos /var de un nodo alcanza su límite de capacidad, es posible que Oracle Solaris Cluster no pueda reiniciarse en ese nodo. Si surge este problema, consulte Reparación de un sistema de archivos /var que haya alcanzado el límite de capacidad. Para obtener más información, consulte la página del comando man clzonecluster(1CL).
Ejemplo 3-4  SPARC: Arranque de un cluster global

El ejemplo siguiente muestra la salida de la consola cuando el nodo phys-schost-1 se inicia en el cluster global. Aparecen mensajes similares en las consolas de los otros nodos del cluster global. Si la propiedad de arranque automático de un cluster de zona se establece en true, el sistema arranca el nodo del cluster de zona de forma automática tras haber arrancado el nodo del cluster global en ese equipo.

Al rearrancarse un nodo del cluster global, todos los nodos de cluster de zona presentes en ese equipo se detienen. Todos los nodos de cluster de zona de ese equipo con la propiedad de arranque automático establecida en true se arrancan tras volver a arrancarse el nodo del cluster global.

ok boot
Rebooting with command: boot
...
Hostname: phys-schost-1
Booting as part of a cluster
NOTICE: Node phys-schost-1 with votecount = 1 added.
NOTICE: Node phys-schost-2 with votecount = 1 added.
NOTICE: Node phys-schost-3 with votecount = 1 added.
...
NOTICE: Node phys-schost-1: attempting to join cluster
...
NOTICE: Node phys-schost-2 (incarnation # 937690106) has become reachable.
NOTICE: Node phys-schost-3 (incarnation # 937690290) has become reachable.
NOTICE: cluster has reached quorum.
NOTICE: node phys-schost-1 is up; new incarnation number = 937846227.
NOTICE: node phys-schost-2 is up; new incarnation number = 937690106.
NOTICE: node phys-schost-3 is up; new incarnation number = 937690290.
NOTICE: Cluster members: phys-schost-1 phys-schost-2 phys-schost-3.
...
Ejemplo 3-5  x86: Inicio de un cluster

El ejemplo siguiente muestra la salida de la consola cuando el nodo phys-schost-1 se inicia en el cluster. Aparecen mensajes similares en las consolas de los otros nodos del cluster.

ATI RAGE SDRAM BIOS P/N GR-xlint.007-4.330
*   BIOS Lan-Console 2.0
Copyright (C) 1999-2001  Intel Corporation
MAC ADDR: 00 02 47 31 38 3C
AMIBIOS (C)1985-2002 American Megatrends Inc.,
Copyright 1996-2002 Intel Corporation
SCB20.86B.1064.P18.0208191106
SCB2 Production BIOS Version 2.08
BIOS Build 1064
2 X Intel(R) Pentium(R) III CPU family      1400MHz
Testing system memory, memory size=2048MB
2048MB Extended Memory Passed
512K L2 Cache SRAM Passed
ATAPI CD-ROM SAMSUNG CD-ROM SN-124

Press <F2> to enter SETUP, <F12> Network

Adaptec AIC-7899 SCSI BIOS v2.57S4
(c) 2000 Adaptec, Inc. All Rights Reserved.
Press <Ctrl><A> for SCSISelect(TM) Utility!

Ch B,  SCSI ID: 0 SEAGATE  ST336605LC        160
SCSI ID: 1 SEAGATE  ST336605LC        160
SCSI ID: 6 ESG-SHV  SCA HSBP M18      ASYN
Ch A,  SCSI ID: 2 SUN      StorEdge 3310     160
SCSI ID: 3 SUN      StorEdge 3310     160

AMIBIOS (C)1985-2002 American Megatrends Inc.,
Copyright 1996-2002 Intel Corporation
SCB20.86B.1064.P18.0208191106
SCB2 Production BIOS Version 2.08
BIOS Build 1064

2 X Intel(R) Pentium(R) III CPU family      1400MHz
Testing system memory, memory size=2048MB
2048MB Extended Memory Passed
512K L2 Cache SRAM Passed
ATAPI CD-ROM SAMSUNG CD-ROM SN-124

SunOS - Intel Platform Edition             Primary Boot Subsystem, vsn 2.0

Current Disk Partition Information

Part#   Status    Type      Start       Length
================================================
1     Active   X86 BOOT     2428       21852
2              SOLARIS     24280     71662420
3              <unused> 
4              <unused>
Please select the partition you wish to boot: *       *

Solaris DCB

loading /solaris/boot.bin

SunOS Secondary Boot version 3.00

Solaris Intel Platform Edition Booting System

Autobooting from bootpath: /pci@0,0/pci8086,2545@3/pci8086,1460@1d/
pci8086,341a@7,1/sd@0,0:a

If the system hardware has changed, or to boot from a different
device, interrupt the autoboot process by pressing ESC.
Press ESCape to interrupt autoboot in 2 seconds.
Initializing system
Please wait...
Warning: Resource Conflict - both devices are added

NON-ACPI device: ISY0050
Port: 3F0-3F5, 3F7; IRQ: 6; DMA: 2
ACPI device: ISY0050
Port: 3F2-3F3, 3F4-3F5, 3F7; IRQ: 6; DMA: 2

<<< 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:
Size: 275683 + 22092 + 150244 Bytes
/platform/i86pc/kernel/unix loaded - 0xac000 bytes used
SunOS Release 5.9 Version Generic_112234-07 32-bit
Copyright 1983-2003 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
configuring IPv4 interfaces: e1000g2.
Hostname: phys-schost-1
Booting as part of a cluster
NOTICE: CMM: Node phys-schost-1 (nodeid = 1) with votecount = 1 added.
NOTICE: CMM: Node phys-schost-2 (nodeid = 2) with votecount = 1 added.
NOTICE: CMM: Quorum device 1 (/dev/did/rdsk/d1s2) added; votecount = 1, bitmask
of nodes with configured paths = 0x3.
NOTICE: clcomm: Adapter e1000g3 constructed
NOTICE: clcomm: Path phys-schost-1:e1000g3 - phys-schost-2:e1000g3 being constructed
NOTICE: clcomm: Path phys-schost-1:e1000g3 - phys-schost-2:e1000g3 being initiated
NOTICE: clcomm: Path phys-schost-1:e1000g3 - phys-schost-2:e1000g3 online
NOTICE: clcomm: Adapter e1000g0 constructed
NOTICE: clcomm: Path phys-schost-1:e1000g0 - phys-schost-2:e1000g0 being constructed
NOTICE: CMM: Node phys-schost-1: attempting to join cluster.
NOTICE: clcomm: Path phys-schost-1:e1000g0 - phys-schost-2:e1000g0 being initiated
NOTICE: CMM: Quorum device /dev/did/rdsk/d1s2: owner set to node 1.
NOTICE: CMM: Cluster has reached quorum.
NOTICE: CMM: Node phys-schost-1 (nodeid = 1) is up; new incarnation number = 1068496374.
NOTICE: CMM: Node phys-schost-2 (nodeid = 2) is up; new incarnation number = 1068496374.
NOTICE: CMM: Cluster members: phys-schost-1 phys-schost-2.
NOTICE: CMM: node reconfiguration #1 completed.
NOTICE: CMM: Node phys-schost-1: joined cluster.