Commandes Utiles - Baies

HORCM - ShadowImage & TrueCopy

Fichiers de configuration (cf. Mémo HORCM?) :

 /etc/horcm<num_instance>.conf

Environnement :

 export PATH=$PATH:/HORCM/etc:/HORCM/usr/bin;
 export HORCC_MRCF=1;
 export HORCMINST=1;

La variable HORCC_MRCF doit être positionnée pour travailler sur ShadowImage.
Si cette variable n'est pas positionnée, l'environnement par défaut est TrueCopy.
Il est possible de choisir ces mode avec les options des commandes suivantes :

 -ITC[#] Set to HORC mode [and HORCMINST#]
 -ISI[#] Set to MRCF mode [and HORCMINST#]

Démarrer les instances horcm :

 horcmstart.sh <horcminst> ...

Arrêter les instances horcm :

 horcmshutdown.sh <horcminst> ...

Afficher les informations sur les paires

 pairdisplay -I<mode><horcminst> -g <dev_group> -fcx

Créer une paire ShadowImage

 paircreate -I<mode><horcminst> -g <dev_group> -d <dev_name> -vl

Splitter une paire ShadowImage

 pairsplit -I<mode><horcminst> -g <dev_group> -d <dev_name>

Resynchroniser une paire ShadowImage

 pairresync -I<mode><horcminst> -g <dev_group> -d <dev_name>

Monitorer les événements sur une paire

 pairmon -allsnd -nowait

Afficher la configuration d'un port

 raidscan -p <port>

Afficher les relations entre rhdisk et PDEV

 ls /dev/rhdisk* | inqraid