Skip to content

ProdInfo

Narrow screen resolution Wide screen resolution Increase font size Decrease font size Default font size    Default color brown color green color red color blue color
You are here: Accueil arrow Système arrow Unix arrow [HACMP] Memento
Skip to content
[HACMP] Memento Suggérer par mail
Écrit par canto   
30-05-2007

Mémento de commandes d'administration pour HACMP ≤ 5.x (High Availability Cluster Multi-Processing for AIX)

 

 

 HACMP

 Commandes Description
 HACMP réagit à ses événements :
•    node failure
•    network adapter failure
•    network failure
ressource group = @IP + VG + FS + script AR application

cascading = notion de priorité, les ressources retournent sur le nœud prioritaire
rotating = pas de priorité, pas de réintégration des données
concurent = tous les nœuds fonctionnent simultanément
cascading without failback = toujours une notion de priorité mais pas de réintégration automatique des ressources
cascading with inactive takeover =
cascading groups with mutual takeover


arrêt HACMP en mode forcé = arrêt HACMP transparent pour les utilisateurs, les processus HACMP sont arrêtés mais les ressources groups restent disponibles

C-SPOC

DARE

Cluster Single Point Of Failure

Réplication dynamique de la configuration sur tous les noeuds distants

Pré requis HACMPfileset RSCT 

smitty clstop puis

shutdown mode graceful

arrêt de HACMP sans bascule

smitty clstop, puis

shutdown mode takeover

 
arrêt & bascule
smitty clstart

démarrage de hacmp

(attention, acquiert les groupes si le nœud sur lequel hacmp est démarré est en priority override) 

smit cl_resgrp_move.select déplacer les groupes de ressources (menu) 
clfindres ou clRGinfo affiche la localisation & l’état des resssources 
tailout

 tail –f sur la log hacmp

 (ex : /var/adm/hacmp/hacmp.out)

lslpp -h clust* connaître la version de HACMP installée 
cllsifaffiche l’adresse de service d’un cluster
clRGinfo [-s] | [-p] [-t] [resgroup1] [resgroup2]...Displays the status and location of a given resource group in the cluster configuration
clfindres [-s] [resgroup1] [resgroup2]...

Finds a given resource group or groups in a cluster configuration

Note: In HACMP 5.1, when you run clfindres, it calls clRGinfo 

cllscfLists complete cluster topology information 
cllsdisk {-g ResourceGroup}Lists PVIDs of accessible disks in a specified resource chain 
cllsfs {-g resource_group} [-n]Lists shared filesystems contained in a resource group 
-nLists the nodes that share the filesystem in the resource group 
cllslv [-g resource_group] [-n] [-v] Lists the names of logical volumes accessible by nodes in a specified resource chain 
-nLists the nodes in the resource group
-v
Lists only those logical volumes that belong to volume groups that are currently varied on
# cllslv -g grp5 -n –vDisplays the nodes and those logical volumes that belong to currently varied-on volume groups in resource group grp5 
cllsgrpLists names of all resource groups configured in the cluster
cllsres [-g group] [-c] [-s] [-f field] [-d odmdir] [-q query]Sorts HACMP for AIX ODM resource data by name and arguments
-cSpecifies a colon output format 
-sUsed with the -c flag, specifies native language instead of English 
-f
field Specifies the field in object to list. Fields are the resource group name, the type of resource group (cascading, concurrent, or rotating), and participating nodes 
-dodmdir Specifies an alternate ODM directory 
-qquery Specifies search criteria for ODM retrieve. See the odmget man page for information on search criteria 
# cllsresLists resource data for all resource groups 
# cllsres -g grp1Lists resource data for resource group grp1 
cllsvg {-g resource_group} [-n]List shared volume groups in a specified resource chain 
-nnodes Specifies all nodes participating in a resource group 
# cllsvg -g grp1Lists all shared volume groups in resource group grp1 
clshowres [-g group] [-n nodename] [-d odmdir]Shows resource group information for a cluster or a node
# clshowresLists all the resource group information for the cluster 
# clshowres -n totoLists the resource group information for node toto 
clstat [-c cluster ID | -n cluster name] [-i] [-r seconds] [-a] [-o]Cluster Status Monitor (ASCII mode) 
-aRuns clstat in ASCII mode 
-c

id Displays cluster information only about the cluster with the specified ID. If the specified cluster is not available, clstat continues looking for the cluster until the cluster is found or the program is canceled

May not be specified if the -n option is used 

-nname Displays cluster information only about the cluster with the specified name 
-rtenths-of-seconds The interval at which the clstat utility updates the display. For the graphical interface, this value is interpreted in tenths of seconds. By default, clstat updates the display every 0.10 seconds 
cltopinfo [-c] [-i] [-n] [-w]Shows complete topology information: The cluster name, total number of networks and nodes configured in the cluster. Displays all the configured networks for each node. Displays all the configured interfaces for each network. also displays all the resource groups defined 
-cShows the cluster name and the security mode (Standard or Enhanced) 
-iShows all interfaces configured in the cluster. The information includes the interface label, the network it's attached to (if appropriate), the IP address, netmask, nodename and the device name 
-nShows all the nodes configured in the cluster. For each node, lists all the networks defined. For each network, lists all the interfaces defined 
-wShows all the networks configured in the cluster. For each network, lists all the nodes attached to that network. For each node, lists all the interfaces defined 

 [AIX] Incidents lors d'un boot

Dernière mise à jour : ( 23-06-2009 )
 
< Précédent   Suivant >