Sun Cluster 3.2, lost of quorum serverSun Cluster 3.2, perte du serveur de quorum

     

    I have lost my current quorum server and my cluster was down. To recover from this situation, you must, on each element of the cluster, do:

    1. reboot -x
    2. backup and edit the file /etc/cluster/ccr/infrastructure, as follow:
      • change the value of cluster.properties.installmode from disabled to enabled
      • change the number of votes for node one from 1 to 0 in the line cluster.nodes.1.properties.quorum_vote
      • delete all lines with cluster.quorum_devices, to remove the quorum
    3. start  command: /usr/cluster/lib/sc/ccradm -i /etc/cluster/ccr/infrastructure -o
    4. reboot in cluster mode
    5. when all members are restarted on one member run the command clsetup, to configure a new quorum server

     

      If this operation failed  (clsetup doesn’t want to add a new quorum server) I have
      found another solution. On each cluster members,run:

      1. reboot -x
      2. restore the backuped file /etc/cluster/ccr/infrastructure
      3. start  command: /usr/cluster/lib/sc/ccradm -i /etc/cluster/ccr/infrastructure -o
      4. reboot in cluster mode

      Now, the cluster is restarted but without any quorum server. If we try to do clquorum remove -f <name of the quorum device>, doesn’t work

      To bypass this:

      1. on your quorum server change the ip  address and the hostname (by ifconfig and hostname)
      2. run on one node: clquorum add -t quorum_server -p qshost=<ipaddress> -p port=9000 tmp, this command failed but the tmp quorum device is created correctly
      3. delete the old quorum device clquorum remove -f <name of the quorum device>
      4. restore the original IP address and hostname on the quorum server
      5. recreate the deleted quorum device clquorum add -t quorum_server -p qshost=<ipaddress> -p port=9000 <name of the quorum device>
      6. delete the temporary quorum device: clquorum remove -f tmp

      Have Fun !

         

        J’ai perdu le quorum serveur, et mon cluster ne démarrait plus correctement. Pour récupérer le cluster vous devez installer un nouveau quorum server et sur chaque élément du cluster, exécutez:

        1. reboot -x
        2. sauvegardez et modifiez le fichier /etc/cluster/ccr/infrastructure comme décrit:
          • changez la valeur de cluster.properties.installmode from disabled à enabled
          • changez the nombre de votes pour le noeud de 1 à 0 sur la lignecluster.nodes.1.properties.quorum_vote
          • effacez toute les lignes avec cluster.quorum_devices, pour enlever le quorum,
        3. Exécutez la  commande: /usr/cluster/lib/sc/ccradm -i /etc/cluster/ccr/infrastructure -o
        4. redémarrez le en mode cluster
        5. quand tous les membres on redémarré su in membre exécutez la commande clsetup, pour configurer un nouveau serveur de quorum

         

          Si l’opération échoue (clsetup ne veut pas rajouter un nouveau serveur de quorum) J’ai trouvé une solution.
          Sur chaque membre, exécutez :

          1. reboot -x
          2. restaurez le fichier sauvegardé /etc/cluster/ccr/infrastructure
          3. exécutez: /usr/cluster/lib/sc/ccradm -i /etc/cluster/ccr/infrastructure -o
          4. redémarrez en mode cluster

          Maintenant le cluster tourne sans serveur de quorum. Si vous essayez de faire clquorum remove -f <name of the quorum device>, , l’opération échoue.

          pour contourner cela:

          1. sur votre quorum serveur changez l’adresse IP et l’hostname (avec ifconfig et hostname)
          2. sur un noeud exécutez:: clquorum add -t quorum_server -p qshost=<ipaddress> -p port=9000 tmp, cette commande échoue mais le device de quorum top est créé correctement
          3. effacez l’ancien device de quorum quorum device clquorum remove -f <name of the quorum device>
          4. restaurez l’IP et hostname original sur le serveur de quorum
          5. recréez le devise de quorum effacé clquorum add -t quorum_server -p qshost=<ipaddress> -p port=9000 <nom du quorum device>
          6. effacez le device de quorum temporaire: clquorum remove -f tmp

          Have Fun !

      package removal on SolarisEnlever des paquets sour Solaris

      I have encountered an issue. I have tried to remove one package without success.
      Another package was using it.

      pkgrm SUNWnfssu

      The following package is currently installed:
      SUNWnfssu Network File System (NFS) server support (Usr)
      (i386) 11.10.0,REV=2005.01.21.16.34

      Do you want to remove this package? [y,n,?,q] y

      ## Removing installed package instance

      This package contains scripts which will be executed with super-user
      permission during the process of removing this package.

      Do you want to continue with the removal of this package [y,n,?,q] y
      ## Verifying package dependencies in global zone
      WARNING:
      The package “Network File System (NFS)
      server support (Root)” depends on the package currently
      being removed.
      Dependency checking failed.

      Removal of was suspended (administration).
      No changes were made to the system.

      So it tried to remove the SUNWnfssr package without success. the SUNWnfssu was using it too. Damned.

      To force the removal you can use


      pkgrm -a none SUNWnfssr

      J’ai rencontré un problème sous Solaris. J’ai essayé d’enlever un paquet sans succès. Un autre paquet l’utilisait.

      pkgrm SUNWnfssu

      The following package is currently installed:
      SUNWnfssu Network File System (NFS) server support (Usr)
      (i386) 11.10.0,REV=2005.01.21.16.34

      Do you want to remove this package? [y,n,?,q] y

      ## Removing installed package instance

      This package contains scripts which will be executed with super-user
      permission during the process of removing this package.

      Do you want to continue with the removal of this package [y,n,?,q] y
      ## Verifying package dependencies in global zone
      WARNING:
      The package “Network File System (NFS)
      server support (Root)” depends on the package currently
      being removed.
      Dependency checking failed.

      Removal of was suspended (administration).
      No changes were made to the system.

      Que cela tienne, je décide d’enlever le paquet l’utilisant, mais ce dernier utilisait aussi le précédent paquet.
      Damned. Un deadlock sur les dépendances.

      Pour pouvoir forcer la désinstallation, vous pouvez utiliser:


      pkgrm -a none SUNWnfssr

      SUN SupportSupport SUN

      Today, a technician of SUN is come at my work to repair a SUN Netra X4250, which didn’t want to power on.
      As result, the machine powered on, but without any disk.

      After investigation, he have forgotten to plug the power cable for the diskAujourd’hui, un technicien de SUN est venu réparer un SUN NEtra X4250, qui ne voulait plus démarrer.
      A son départ, la machine démarrait correctement, mais sans disque.

      Après investigation, il avait oublié de brancher la nappe du disque.