Ce chapitre indique les procédures à suivre pour arrêter ou initialiser un cluster ou des nœuds de cluster individuels.
Pour obtenir une description détaillée des procédures évoquées dans ce chapitre, reportez-vous au Tableau 3–1 et au Tableau 3–2.
La commande Sun Cluster scshutdown (1M) arrête les fonctions du cluster de manière ordonnée et ferme correctement l'ensemble du cluster. Vous pouvez utiliser cette commande scshutdown lorsque vous modifiez l'emplacement d'un cluster, ou pour arrêter le cluster si une corruption de données est causée par une erreur d'application.
Pour garantir un arrêt correct de l'ensemble du cluster, utilisez la commande scshutdown au lieu des commandes shutdown ou halt. La commande shutdown de Solaris, associée à la commande scswitch(1M) permet de fermer les nœuds individuels. Pour de plus amples informations, reportez-vous à la rubrique Arrêt d'un cluster ou à Arrêt et initialisation d'un seul nœud de cluster.
La commande scshutdown procède de la manière suivante pour arrêter l'ensemble des nœuds de cluster :
Mise hors ligne de tous les groupes de ressources en cours d'exécution.
Démontage de tous les systèmes de fichiers de cluster.
Arrêt des services de périphériques actifs.
Exécution de la commande init 0 et retour à l'invite OpenBootTM PROM ok sur tous les nœuds sur un système SPARC ou à un sous-système d'amorce sur un système x86. Les sous-systèmes d'amorce sont décrits plus en détail à la rubrique “Boot Subsystems” du document System Administration Guide: Basic Administration.
si nécessaire, vous pouvez initialiser un nœud en mode non cluster pour qu'il ne soit pas membre du cluster. Cela peut être utile lors de l'installation du logiciel de cluster ou de l'exécution de certaines procédures administratives. Reportez-vous à la rubrique Initialisation d'un nœud de cluster en mode non cluster pour obtenir de plus amples informations.
Tâche |
Instructions |
---|---|
Arrêt du cluster -Utilisez scshutdown(1M) |
Voir Arrêt d'un cluster |
Démarrage du cluster en initialisant tous les nœuds. Les nœuds doivent disposer d'une connexion fonctionnelle avec l'interconnexion du cluster pour devenir membres de ce dernier. | |
Réinitialisation du cluster - Utilisez scshutdown À l'invite ok ou Select (b)oot or (i)nterpreter sur l'écran des paramètres d'initialisation courants, initialisez chaque nœud individuellement à l'aide de la commande boot(1M) ou b. Les nœuds doivent disposer d'une connexion fonctionnelle avec l'interconnexion du cluster pour devenir membres de ce dernier. |
n'utilisez pas send brk sur une console de cluster pour arrêter un nœud de cluster. La commande n'est pas prise en charge dans un cluster.
SPARC : si Oracle Parallel Server ou Real Application Clusters s'exécute sur votre cluster, fermez toutes les instances de la base de données.
Reportez-vous à la documentation d'Oracle Parallel Server or Oracle Real Application Clusters pour connaître les procédures d'arrêt.
Devenez superutilisateur sur un nœud du cluster.
Arrêtez immédiatement le cluster.
Sur un nœud du cluster, entrez la commande suivante :
# scshutdown -g0 -y |
Vérifiez que tous les nœuds apparaissent à l'invite ok sur un système SPARC ou un sous-système d'amorce sur un système x86.
Ne mettez aucun nœud hors tension tant que tous les nœuds du cluster n'apparaissent pas à l'invite ok sur un système SPARC ou dans un sous-système d'amorce sur un système x86.
Si nécessaire, mettez les nœuds hors tension.
L'exemple suivant reproduit l'affichage de la console lors d'un arrêt normal du cluster avec retour de tous les nœuds à l'invite ok. L'option -g 0 remet à zéro le délai d'arrêt et -y répond automatiquement oui à la demande de confirmation. Les messages d'arrêt apparaissent également sur les consoles des autres nœuds du cluster.
# scshutdown -g0 -y Wed Mar 10 13:47:32 phys-schost-1 cl_runtime: WARNING: CMM monitoring disabled. phys-schost-1# INIT: New run level: 0 The system is coming down. Please wait. System services are now being stopped. /etc/rc0.d/K05initrgm: Calling scswitch -S (evacuate) The system is down. syncing file systems... done Program terminated ok |
L'exemple suivant reproduit l'affichage de la console lors d'un arrêt normal du cluster avec retour de tous les nœuds. L'option -g 0 remet à zéro le délai d'arrêt et -y répond automatiquement yes à la demande de confirmation. Les messages d'arrêt apparaissent également sur les consoles des autres nœuds du cluster.
# scshutdown -g0 -y May 2 10:32:57 phys-schost-1 cl_runtime: WARNING: CMM: Monitoring disabled. root@phys-schost-1# INIT: New run level: 0 The system is coming down. Please wait. System services are now being stopped. /etc/rc0.d/K05initrgm: Calling scswitch -S (evacuate) failfasts already disabled on node 1 Print services already stopped. May 2 10:33:13 phys-schost-1 syslogd: going down on signal 15 The system is down. syncing file systems... done Type any key to continue |
Reportez-vous à la rubrique Initialisation d'un cluster pour relancer un cluster préalablement arrêté.
Pour démarrer un cluster dont les nœuds ont été arrêtés et apparaissent à l'invite ok ou Select (b)oot or (i)nterpreter sur l'écran des paramètres d'initialisation courants, utilisez la commande boot(1M) sur chaque nœud.
Si vous modifiez la configuration entre les arrêts, initialisez d'abord le nœud dont la configuration est la plus récente. Hormis dans cette situation, l'ordre d'initialisation des nœuds n'a aucune incidence.
SPARC :
ok boot |
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 |
Des messages apparaissent sur les consoles des nœuds initialisés à mesure que vous activez des composants de cluster.
les nœuds de cluster doivent avoir une connexion fonctionnelle avec l'interconnexion du cluster pour en devenir membres.
Vérifiez que les nœuds sont correctement initialisés et qu'ils sont en ligne.
La commande scstat(1M) récapitule le statut des nœuds.
# scstat -n |
si le système de fichiers /var du nœud d'un cluster est saturé, il est possible que Sun Cluster ne puisse pas redémarrer sur ce nœud. Si cela se produit, reportez-vous à la rubrique Réparation d'un système de fichiers /var saturé.
L'exemple suivant reproduit l'affichage de la console lors de l'initialisation du nœud phys-schost-1 dans la grappe. Des messages similaires apparaissent sur les consoles des autres nœuds du cluster.
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. ... |
L'exemple suivant reproduit l'affichage de la console lors de l'initialisation du nœud phys-schost-1 dans la grappe. Des messages similaires apparaissent sur les consoles des autres nœuds du 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. |
Exécutez la commande scshutdown( 1M) pour arrêter le cluster, puis initialisez-le à l'aide de la commande boot( 1M) sur chaque nœud.
SPARC : si votre cluster exploite Oracle Parallel Server or Oracle Real Application Clusters, fermez toutes les instances de la base de données.
Reportez-vous à la documentation d'Oracle Parallel Server or Oracle Real Application Clusters pour connaître les procédures d'arrêt.
Devenez superutilisateur sur un nœud du cluster.
Arrêtez le cluster.
Sur un nœud du cluster, entrez la commande suivante :
# scshutdown -g0 -y |
Chaque nœud est arrêté.
les nœuds de cluster doivent avoir une connexion fonctionnelle avec l'interconnexion du cluster pour en devenir membres.
Initialisez chaque nœud.
L'ordre d'initialisation des nœuds n'a aucune incidence, sauf si vous modifiez la configuration entre les arrêts. Dans ce cas, initialisez d'abord le nœud dont la configuration est la plus récente.
SPARC :
ok boot |
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 |
Vérifiez que les nœuds sont correctement initialisés et qu'ils sont en ligne.
La commande scstat(1M) récapitule le statut des nœuds.
# scstat -n |
si le système de fichiers /var du nœud d'un cluster est saturé, il est possible que Sun Cluster ne puisse pas redémarrer sur ce nœud. Si cela se produit, reportez-vous à la rubrique Réparation d'un système de fichiers /var saturé.
L'exemple suivant reproduit l'affichage de la console lors d'un arrêt normal du cluster avec retour de tous les nœuds à l'invite ok, suivi du redémarrage du cluster. L'option -g 0 remet le délai à zéro et -y répond automatiquement oui à la demande de confirmation. Les messages d'arrêt apparaissent également sur les consoles des autres nœuds du cluster.
# scshutdown -g0 -y Wed Mar 10 13:47:32 phys-schost-1 cl_runtime: WARNING: CMM monitoring disabled. phys-schost-1# INIT: New run level: 0 The system is coming down. Please wait. ... The system is down. syncing file systems... done Program terminated ok boot Rebooting with command: boot ... Hostname: phys-schost-1 Booting as part of a cluster ... 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: Cluster members: phys-schost-1 phys-schost-2 phys-schost-3. ... NOTICE: Node phys-schost-1: joined cluster ... The system is coming up. Please wait. checking ufs filesystems ... reservation program successfully exiting Print services started. volume management starting. The system is ready. phys-schost-1 console login: NOTICE: Node phys-schost-1: joined cluster ... The system is coming up. Please wait. checking ufs filesystems ... reservation program successfully exiting Print services started. volume management starting. The system is ready. phys-schost-1 console login: |
L'exemple suivant reproduit l'affichage de la console lors d'un arrêt normal du cluster avec retour de tous les nœuds, suivi du redémarrage du cluster. L'option -g 0 remet le délai à zéro et -y répond automatiquement yes à la demande de confirmation. Les messages d'arrêt apparaissent également sur les consoles des autres nœuds du cluster.
# scshutdown -g0 -y May 2 10:32:57 phys-schost-1 cl_runtime: WARNING: CMM: Monitoring disabled. root@phys-schost-1# INIT: New run level: 0 The system is coming down. Please wait. System services are now being stopped. /etc/rc0.d/K05initrgm: Calling scswitch -S (evacuate) failfasts already disabled on node 1 Print services already stopped. May 2 10:33:13 phys-schost-1 syslogd: going down on signal 15 The system is down. syncing file systems... done Type any key to continue 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: b 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. WARNING: mod_installdrv: no major number for rsmrdt ip: joining multicasts failed (18) on clprivnet0 - will use link layer broadcasts for multicast The system is coming up. Please wait. checking ufs filesystems /dev/rdsk/c1t0d0s5: is clean. NOTICE: clcomm: Path phys-schost-1:e1000g0 - phys-schost-2:e1000g0 online NIS domain name is dev.eng.mycompany.com starting rpc services: rpcbind keyserv ypbind done. Setting netmask of e1000g2 to 192.168.255.0 Setting netmask of e1000g3 to 192.168.255.128 Setting netmask of e1000g0 to 192.168.255.128 Setting netmask of clprivnet0 to 192.168.255.0 Setting default IPv4 interface for multicast: add net 224.0/4: gateway phys-schost-1 syslog service starting. obtaining access to all attached disks ***************************************************************************** * * The X-server can not be started on display :0... * ***************************************************************************** volume management starting. Starting Fault Injection Server... The system is ready. phys-schost-1 console login: |
Utilisez la commande scswitch( 1M) avec la commande shutdown(1M) de Solaris pour arrêter un nœud individuel. N'utilisez la commande scshutdown que pour arrêter un cluster entier.
Tâche |
Instructions |
---|---|
Arrêt d'un nœud de cluster - Utilisez scswitch(1M) et shutdown(1M) | |
Démarrage d'un nœud Le nœud doit disposer d'une connexion fonctionnelle avec l'interconnexion du cluster pour devenir membre de ce dernier. | |
Arrêt et redémarrage (réinitialisation) d'un nœud de cluster. - Utilisez les commandes scswitch et shutdown Le nœud doit disposer d'une connexion fonctionnelle avec l'interconnexion du cluster pour devenir membre de ce dernier. | |
Initialisation d'un nœud de sorte qu'il ne soit pas membre du cluster - Utilisez scswitch et shutdown, puis boot -x ou b -x |
n'utilisez pas send brk sur une console de cluster pour arrêter un nœud de cluster. La commande n'est pas prise en charge dans un cluster.
SPARC : si votre cluster exploite Oracle Parallel Server or Oracle Real Application Clusters, fermez toutes les instances de la base de données.
Reportez-vous à la documentation d'Oracle Parallel Server or Oracle Real Application Clusters pour connaître les procédures d'arrêt.
Devenez superutilisateur sur le nœud de cluster à arrêter.
Transférez vers d'autres membres du cluster tous les groupes de ressources, toutes les ressources et tous les groupes de périphériques du nœud que vous arrêtez.
Sur le nœud à arrêter, entrez la commande suivante.
# scswitch -S -h nœud |
Évacue tous les services de périphériques et tous les groupes de ressources du nœud spécifié.
Indique le nœud dont vous changez les groupes de ressources et groupes de périphériques.
Arrêtez le nœud de cluster.
Sur le nœud à arrêter, entrez la commande suivante.
# shutdown -g0 -y -i0 |
Vérifiez que le nœud de cluster apparaît à l'invite ok ou Select (b)oot or (i)nterpreter sur l'écran des paramètres d'initialisation courants.
Si nécessaire, mettez le nœud hors tension.
L'exemple suivant reproduit l'affichage de la console lors de l'arrêt du nœud phys-schost-1. L'option -g0 remet le délai à zéro, -y donne automatiquement la réponse oui à la demande de confirmation et -i0 appelle le niveau d'exécution 0 (zéro). Les messages d'arrêt de ce nœud apparaissent sur les consoles des autres nœuds du cluster.
# scswitch -S -h phys-schost-1 # shutdown -g0 -y -i0 Wed Mar 10 13:47:32 phys-schost-1 cl_runtime: WARNING: CMM monitoring disabled. phys-schost-1# INIT: New run level: 0 The system is coming down. Please wait. Notice: rgmd is being stopped. Notice: rpc.pmfd is being stopped. Notice: rpc.fed is being stopped. umount: /global/.devices/node@1 busy umount: /global/phys-schost-1 busy The system is down. syncing file systems... done Program terminated ok |
L'exemple suivant reproduit l'affichage de la console lors de l'arrêt du nœud phys-schost-1. L'option -g0 remet le délai à zéro, -y donne automatiquement la réponse oui à la demande de confirmation et -i0 appelle le niveau d'exécution 0 (zéro). Les messages d'arrêt de ce nœud apparaissent sur les consoles des autres nœuds du cluster.
# scswitch -S -h phys-schost-1 # shutdown -g0 -y -i0 Shutdown started. Wed Mar 10 13:47:32 PST 2004 Changing to init state 0 - please wait Broadcast Message from root (console) on phys-schost-1 Wed Mar 10 13:47:32... THE SYSTEM phys-schost-1 IS BEING SHUT DOWN NOW ! ! ! Log off now or risk your files being damaged phys-schost-1# INIT: New run level: 0 The system is coming down. Please wait. System services are now being stopped. /etc/rc0.d/K05initrgm: Calling scswitch -S (evacuate) failfasts disabled on node 1 Print services already stopped. Mar 10 13:47:44 phys-schost-1 syslogd: going down on signal 15 umount: /global/.devices/node@2 busy umount: /global/.devices/node@1 busy The system is down. syncing file systems... done WARNING: CMM: Node being shut down. Type any key to continue |
Reportez-vous à la rubrique Initialisation d'un nœud de cluster pour relancer un nœud de cluster préalablement arrêté.
Si vous avez l'intention d'arrêter ou de réinitialiser d'autres nœuds actifs du cluster, attendez que le nœud en cours d'initialisation ait au moins atteint l'invite de connexion. Sinon, le nœud ne pourra pas reprendre les services des autres nœuds du cluster que vous arrêtez ou redémarrez.
la configuration du quorum peut avoir une incidence sur le démarrage des nœuds de cluster. Sur un cluster à deux nœuds, un périphérique de quorum doit être configuré afin que le nombre total de quorum du cluster soit de trois. Vous devez avoir un quorum pour chaque nœud et un quorum pour le périphérique de quorum. Le cas échéant, si le premier nœud est arrêté, le second nœud continue d'avoir un quorum et s'exécute en tant que membre unique du cluster. Pour le premier nœud revenant dans le cluster sous forme d'un nœud de cluster, le deuxième nœud doit être prêt et actif. Le nombre de quorum de cluster requis (deux) doit être présent.
Pour faire démarrer un nœud de cluster préalablement arrêté, initialisez-le.
SPARC :
ok boot |
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 |
le nœud d'un cluster doit avoir une connexion fonctionnelle avec l'interconnexion du cluster pour devenir membre de cette dernière.
Assurez-vous que le nœud est correctement initialisé et qu'il est en ligne.
La commande scstat récapitule le statut du nœud.
# scstat -n |
si le système de fichiers /var du nœud d'un cluster est saturé, il est possible que Sun Cluster ne puisse pas redémarrer sur ce nœud. Si cela se produit, reportez-vous à la rubrique Réparation d'un système de fichiers /var saturé.
L'exemple suivant reproduit l'affichage de la console lors de l'initialisation du nœud phys-schost-1 dans la grappe.
ok boot Rebooting with command: boot ... Hostname: phys-schost-1 Booting as part of a cluster ... NOTICE: Node phys-schost-1: attempting to join cluster ... NOTICE: Node phys-schost-1: joined cluster ... The system is coming up. Please wait. checking ufs filesystems ... reservation program successfully exiting Print services started. volume management starting. The system is ready. phys-schost-1 console login: |
L'exemple suivant reproduit l'affichage de la console lors de l'initialisation du nœud phys-schost-1 dans la grappe.
<<< 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: 276915 + 22156 + 150372 Bytes /platform/i86pc/kernel/unix loaded - 0xac000 bytes used SunOS Release 5.9 Version on81-feature-patch:08/30/2003 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. WARNING: CMM: Initialization for quorum device /dev/did/rdsk/d1s2 failed with error EACCES. Will retry later. 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. WARNING: CMM: Reading reservation keys from quorum device /dev/did/rdsk/d1s2 failed with error 2. NOTICE: CMM: Cluster has reached quorum. NOTICE: CMM: Node phys-schost-1 (nodeid = 1) is up; new incarnation number = 1068503958. 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 #3 completed. NOTICE: CMM: Node phys-schost-1: joined cluster. NOTICE: clcomm: Path phys-schost-1:e1000g0 - phys-schost-2:e1000g0 being initiated NOTICE: clcomm: Path phys-schost-1:e1000g0 - phys-schost-2:e1000g0 online NOTICE: CMM: Retry of initialization for quorum device /dev/did/rdsk/d1s2 was successful. WARNING: mod_installdrv: no major number for rsmrdt ip: joining multicasts failed (18) on clprivnet0 - will use link layer broadcasts for multicast The system is coming up. Please wait. checking ufs filesystems /dev/rdsk/c1t0d0s5: is clean. NIS domain name is dev.eng.mycompany.com starting rpc services: rpcbind keyserv ypbind done. Setting netmask of e1000g2 to 192.168.255.0 Setting netmask of e1000g3 to 192.168.255.128 Setting netmask of e1000g0 to 192.168.255.128 Setting netmask of clprivnet0 to 192.168.255.0 Setting default IPv4 interface for multicast: add net 224.0/4: gateway phys-schost-1 syslog service starting. obtaining access to all attached disks ***************************************************************************** * * The X-server can not be started on display :0... * ***************************************************************************** volume management starting. Starting Fault Injection Server... The system is ready. phys-schost-1 console login: |
Si vous avez l'intention d'arrêter ou de réinitialiser d'autres nœuds actifs du cluster, attendez que le nœud en cours de réinitialisation ait au moins atteint l'invite de connexion. Sinon, le nœud ne pourra pas reprendre les services des autres nœuds du cluster que vous arrêtez ou redémarrez.
SPARC : si votre cluster exploite Oracle Parallel Server or Oracle Real Application Clusters, fermez toutes les instances de la base de données.
Reportez-vous à la documentation d'Oracle Parallel Server or Oracle Real Application Clusters pour connaître les procédures d'arrêt.
Devenez superutilisateur sur le nœud de cluster à arrêter.
Arrêtez le nœud à l'aide des commandes scswitch et shutdown.
Entrez ces commandes sur nœud à arrêter. L'option -i 6 associée à la commande shutdown réinitialise le nœud préalablement arrêté.
# scswitch -S -h nœud # shutdown -g0 -y -i6 |
les nœuds de cluster doivent avoir une connexion fonctionnelle avec l'interconnexion du cluster pour en devenir membres.
Assurez-vous que le nœud est correctement initialisé et qu'il est en ligne.
# scstat -n |
L'exemple suivant reproduit l'affichage de la console lors de la réinitialisation du nœud phys-schost-1. Les messages relatifs à ce nœud, tels que les notifications d'arrêt et de démarrage, apparaissent sur les consoles des autres nœuds du cluster.
# scswitch -S -h phys-schost-1 # shutdown -g0 -y -i6 Shutdown started. Wed Mar 10 13:47:32 phys-schost-1 cl_runtime: WARNING: CMM monitoring disabled. phys-schost-1# INIT: New run level: 6 The system is coming down. Please wait. System services are now being stopped. Notice: rgmd is being stopped. Notice: rpc.pmfd is being stopped. Notice: rpc.fed is being stopped. umount: /global/.devices/node@1 busy umount: /global/phys-schost-1 busy The system is down. syncing file systems... done rebooting... Resetting ... ,,, Sun Ultra 1 SBus (UltraSPARC 143MHz), No Keyboard OpenBoot 3.11, 128 MB memory installed, Serial #5932401. Ethernet address 8:8:20:99:ab:77, Host ID: 8899ab77. ... Rebooting with command: boot ... Hostname: phys-schost-1 Booting as part of a cluster ... NOTICE: Node phys-schost-1: attempting to join cluster ... NOTICE: Node phys-schost-1: joined cluster ... The system is coming up. Please wait. The system is ready. phys-schost-1 console login: |
L'exemple suivant reproduit l'affichage de la console lors de la réinitialisation du nœud phys-schost-1. Les messages relatifs à ce nœud, tels que les notifications d'arrêt et de démarrage, apparaissent sur les consoles des autres nœuds du cluster.
# scswitch -S -h phys-schost-1 # shutdown -g0 -y -i6 Shutdown started. Wed Mar 10 13:47:32 PST 2004 Changing to init state 6 - please wait Broadcast Message from root (console) on phys-schost-1 Wed Mar 10 13:47:32... THE SYSTEM phys-schost-1 IS BEING SHUT DOWN NOW ! ! ! Log off now or risk your files being damaged phys-schost-1# INIT: New run level: 6 The system is coming down. Please wait. System services are now being stopped. /etc/rc0.d/K05initrgm: Calling scswitch -S (evacuate) Print services already stopped. Mar 10 13:47:44 phys-schost-1 syslogd: going down on signal 15 umount: /global/.devices/node@2 busy umount: /global/.devices/node@1 busy The system is down. syncing file systems... done WARNING: CMM: Node being shut down. rebooting... 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: 276915 + 22156 + 150372 Bytes /platform/i86pc/kernel/unix loaded - 0xac000 bytes used SunOS Release 5.9 Version on81-feature-patch:08/30/2003 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. WARNING: CMM: Initialization for quorum device /dev/did/rdsk/d1s2 failed with error EACCES. Will retry later. 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. WARNING: CMM: Reading reservation keys from quorum device /dev/did/rdsk/d1s2 failed with error 2. NOTICE: CMM: Cluster has reached quorum. NOTICE: CMM: Node phys-schost-1 (nodeid = 1) is up; new incarnation number = 1068503958. 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 #3 completed. NOTICE: CMM: Node phys-schost-1: joined cluster. NOTICE: clcomm: Path phys-schost-1:e1000g0 - phys-schost-2:e1000g0 being initiated NOTICE: clcomm: Path phys-schost-1:e1000g0 - phys-schost-2:e1000g0 online NOTICE: CMM: Retry of initialization for quorum device /dev/did/rdsk/d1s2 was successful. WARNING: mod_installdrv: no major number for rsmrdt ip: joining multicasts failed (18) on clprivnet0 - will use link layer broadcasts for multicast The system is coming up. Please wait. checking ufs filesystems /dev/rdsk/c1t0d0s5: is clean. NIS domain name is dev.eng.mycompany.com starting rpc services: rpcbind keyserv ypbind done. Setting netmask of e1000g2 to 192.168.255.0 Setting netmask of e1000g3 to 192.168.255.128 Setting netmask of e1000g0 to 192.168.255.128 Setting netmask of clprivnet0 to 192.168.255.0 Setting default IPv4 interface for multicast: add net 224.0/4: gateway phys-schost-1 syslog service starting. obtaining access to all attached disks ***************************************************************************** * * The X-server can not be started on display :0... * ***************************************************************************** volume management starting. Starting Fault Injection Server... The system is ready. phys-schost-1 console login: |
Vous pouvez initialiser un nœud de manière telle qu'il ne soit pas inclus dans un cluster, c'est à dire en mode non cluster. Cela peut être utile lors de l'installation du logiciel de cluster ou de l'exécution de certaines procédures administratives, par exemple l'application d'un patch à un nœud.
Devenez superutilisateur sur le nœud du cluster à démarrer en mode non cluster.
Arrêtez le nœud à l'aide des commandes scswitch et shutdown.
# scswitch -S -h node # shutdown -g0 -y -i0 |
Vérifiez que le nœud apparaît à l'invite ok ou Select (b)oot or (i)nterpreter sur l'écran des paramètres d'initialisation courants.
Initialisez le nœud en mode non-cluster à l'aide de la commande boot(1M) ou b avec l'option -x.
SPARC :
ok boot -x |
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 |
L'exemple suivant reproduit l'affichage de la console lors de l'arrêt du nœud phys-schost-1, puis de son redémarrage en mode non cluster. L'option -g0 remet le délai à zéro, -y donne automatiquement la réponse oui à la demande de confirmation et -i0 appelle le niveau d'exécution 0 (zéro). Les messages d'arrêt de ce nœud apparaissent sur les consoles des autres nœuds du cluster.
# scswitch -S -h phys-schost-1 # shutdown -g0 -y -i0 Shutdown started. Wed Mar 10 13:47:32 phys-schost-1 cl_runtime: WARNING: CMM monitoring disabled. phys-schost-1# ... rg_name = schost-sa-1 ... offline node = phys-schost-2 ... num of node = 0 ... phys-schost-1# INIT: New run level: 0 The system is coming down. Please wait. System services are now being stopped. Print services stopped. syslogd: going down on signal 15 ... The system is down. syncing file systems... done WARNING: node phys-schost-1 is being shut down. Program terminated ok boot -x ... Not booting as part of cluster ... The system is ready. phys-schost-1 console login: |
L'exemple suivant reproduit l'affichage de la console lors de l'arrêt du nœud phys-schost-1, puis de son redémarrage en mode non cluster. L'option -g0 remet le délai à zéro, -y donne automatiquement la réponse oui à la demande de confirmation et -i0 appelle le niveau d'exécution 0 (zéro). Les messages d'arrêt de ce nœud apparaissent sur les consoles des autres nœuds du cluster.
# scswitch -S -h phys-schost-1 # shutdown -g0 -y -i0 Shutdown started. Wed Mar 10 13:47:32 PST 2004 phys-schost-1# INIT: New run level: 0 The system is coming down. Please wait. System services are now being stopped. Print services already stopped. Mar 10 13:47:44 phys-schost-1 syslogd: going down on signal 15 ... The system is down. syncing file systems... done WARNING: CMM: Node being shut down. Type any key to continue 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: b -x ... Not booting as part of cluster ... The system is ready. phys-schost-1 console login: |
Solaris et le logiciel Sun Cluster envoient tous deux des messages d'erreur dans le fichier /var/adm/messages, ce qui, à la longue, risque de saturer le système de fichiers /var. si le système de fichiers /var du nœud d'un cluster est saturé, il est possible que Sun Cluster ne puisse pas redémarrer sur ce nœud. En outre, vous risquez de ne plus pouvoir vous connecter à ce nœud.
Si un nœud indique que son système de fichiers /var est saturé et continue d'exécuter les services Sun Cluster, procédez comme suit pour vider le système de fichiers. Pour de plus amples informations, veuillez vous reporter à la rubrique “Viewing System Messages” dans le System Administration Guide: Advanced Administration.