Monitor Program
Créer un FS sur un VG qui bascule
⇒ Pour rappel :
haconf -makerw hares -add ${VOLNAME}_Vol${NB} Volume $SG hares -modify ${VOLNAME}_Vol${NB} Critical 1 hares -modify ${VOLNAME}_Vol${NB} Volume ${VOLNAME} hares -modify ${VOLNAME}_Vol${NB} DiskGroup $DG hares -modify ${VOLNAME}_Vol${NB} Enabled 1 hares -online ${VOLNAME}_Vol${NB} -sys $HOST hares -add ${VOLNAME}_Mount${NB} Mount $SG hares -modify ${VOLNAME}_Mount${NB} Critical 1 hares -modify ${VOLNAME}_Mount${NB} MountPoint $FS hares -modify ${VOLNAME}_Mount${NB} BlockDevice $DEV hares -modify ${VOLNAME}_Mount${NB} FSType vxfs hares -modify ${VOLNAME}_Mount${NB} FsckOpt %-y hares -modify ${VOLNAME}_Mount${NB} Enabled 1 hares -online ${VOLNAME}_Mount${NB} -sys $HOST hares -link ${VOLNAME}_Mount${NB} ${VOLNAME}_Vol${NB} hares -link ${VOLNAME}_Vol${NB} $VDG hares -link $APPLI ${VOLNAME}_Mount${NB} hares -online ${VOLNAME}_Vol${NB} -sys $HOST hares -online ${VOLNAME}_Mount${NB} -sys $HOST haconf -dump -makero
- On créé les dépendances + le point de montage
root@server1111013:~# haconf -makerw root@server1111013:~# hares -link cft_dexA_Mount13 cft_dexA_Vol13 root@server1111013:~# hares -link cft_dexA_Vol13 dexA_DG root@server1111013:~# haconf -dump -makero root@server1111013:~# mkdir /apps/cft_dexa
⇒ un script pour générer les commandes, dispo ici.
Troubleshooting
LLT ne démarre pas
Starting snmpd: [ OK ] Starting sshd:[ OK ] Starting xinetd: [ OK ] Starting ntpd: [ OK ] Starting isisd: [ OK ] Starting vsftpd for vsftpd: [ OK ] Starting llt:
En RHEL4U6 il faut supprimer les RPMs relatifs à lpfc pour installer le package ci-dessous, sur les 2 noeuds :
lpfc_2.6_ioctl_inbox-2.0.9-1
umount, device busy
UX:vxfs umount: ERROR: V-3-21705: mount-point cannot unmount : Device busy
[root@eaibb01 - /root ] # mount|grep lock /exec/applis/EAI_Backbone/G9R0C0/commons on /dev/vx/dsk/vcs40v1/lvol07 ioerror=mwdisable,largefiles,qio,delaylog,mntlock=VCS,dev=200f61e on Sun May 17 13:50:02 2015 /exec/applis/EAI_Backbone/G9R0C0/BS on /dev/vx/dsk/vcs40v1/lvol06 ioerror=mwdisable,largefiles,qio,delaylog,mntlock=VCS,dev=200f61d on Sun May 17 13:50:02 2015 /exec/applis/EAI_Backbone/G9R0C0/Tools on /dev/vx/dsk/vcs40v1/lvol04 ioerror=mwdisable,largefiles,qio,delaylog,mntlock=VCS,dev=200f61b on Sun May 17 13:50:02 2015 /exec/applis/EAI_Backbone/G9R0C0/Supervision on /dev/vx/dsk/vcs40v1/lvol05 ioerror=mwdisable,largefiles,qio,delaylog,mntlock=VCS,dev=200f61c on Sun May 17 13:50:02 2015
vxumount -o mntunlock="VCS" /exec/applis/EAI_Backbone/G9R0C0/commons