Project

General

Profile

Tâche #10989

Distribution EOLE - Scénario #10984: Documenter la haute disponibilité

Commandes crm non documentées

Added by Gérald Schwartzmann about 8 years ago. Updated about 8 years ago.

Status:
Fermé
Priority:
Normal
Start date:
03/24/2015
Due date:
% Done:

100%

Estimated time:
2.00 h
Spent time:
Remaining (hours):
0.0

Description

/2_4/modules/Sphynx/90_complementsTechniques/94-commandes_crm.scen

http://eoleng.ac-dijon.fr/documentations/2.4/beta/partielles/ModuleSphynx/co/94-commandes_crm.html


Related issues

Duplicated by Documentations - Evolution #5197: documenter les commandes crm Fermé

History

#1 Updated by Gérald Schwartzmann about 8 years ago

  • Parent task changed from #10687 to #10984

#2 Updated by Fabrice Barconnière about 8 years ago

Les commandes suivantes peuvent ne pas être disponibles en 2.3.
Quelques liens :
http://clusterlabs.org/wiki/Debian_Lenny_HowTo
http://doc.ubuntu-fr.org/pacemaker
  • Monitoring du cluster :
    crm_mon
    

    ou en one shot :
    crm_mon -1
    ou
    crm status
    
  • La commande crm preut être utilisée en ligne de commande :
    crm status
    

    ou en console :
    root@sphynx:~# crm
    crm(live)# status
    ============
    Last updated: Thu Mar 26 11:49:12 2015
    Last change: Thu Mar 26 11:47:22 2015 via crmd on sphynx
    Stack: openais
    Current DC: sphynx - partition WITHOUT quorum
    Version: 1.1.6-9971ebba4494012a93c03b40a2c58ec0eb60f50c
    1 Nodes configured, 2 expected votes
    6 Resources configured.
    ============
    
    Online: [ sphynx ]
    
     Resource Group: VIPCluster
         VIP_externe    (ocf::heartbeat:IPaddr2):    Started sphynx
         VIP_interne    (ocf::heartbeat:IPaddr2):    Started sphynx
         VIP_src_addr    (ocf::heartbeat:IPsrcaddr):    Started sphynx
         ipsec_rsc    (lsb:ipsecSphynx):    Started sphynx
         arv_rsc    (lsb:arv):    Started sphynx
     Clone Set: gw_pingd_clone [gw_pingd]
         Started: [ sphynx ]
    crm(live)# exit
    bye
    
  • Mettre un noeud en maintenance (Les ressources de ce noeud seront migrées automatiquement sur l'autre noeud du cluster) :
    crm node standby <nom de l'hôte>
    
  • Sortir un noeud du mode maintenance :
    crm node online <nom de l'hôte>
    
  • Reset de l'état d'un noeud du cluster. Cela peut régler le fait que des ressources ne reviennent pas sur un noeud ou que les noeuds ne se voient plus dans le cluster :
    crm node clearstate <nom de l'hôte>
    
  • Migrer une ressource vers un autre poste :
    crm resource migrate <nom ressource> <nom du poste allant accueillir la ressource>
    
  • Annuler la migration de la ressource :
    crm resource unmigrate <nom ressource>
    
  • Mettre à zéro les compteurs d'échec pour un hôte et une ressource donnés :
    crm resource failcount <nom de la ressource> delete <nom de l'hôte>
    
  • Mettre à zéro l'état d'une ressource :
    crm resource cleanup <nom de la ressource>
    

#3 Updated by Gérald Schwartzmann about 8 years ago

  • Status changed from Nouveau to En cours
  • Assigned To set to Gérald Schwartzmann

#4 Updated by Gérald Schwartzmann about 8 years ago

Gérald Schwartzmann a écrit :

/2_4/modules/Sphynx/90_complementsTechniques/94-commandes_crm.scen

http://eoleng.ac-dijon.fr/documentations/2.4/beta/partielles/ModuleSphynx/co/94-commandes_crm.html

#5 Updated by Gérald Schwartzmann about 8 years ago

  • Status changed from En cours to Résolu
  • % Done changed from 0 to 100
  • Remaining (hours) changed from 2.0 to 1.0

#6 Updated by Gérald Schwartzmann about 8 years ago

  • Description updated (diff)

#7 Updated by Fabrice Barconnière about 8 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) changed from 1.0 to 0.0

Relecture

Also available in: Atom PDF