Table of Contents

HPE Serviceguard

Installing SGLX(HPE Serviceguard for Linux) in RHEL



RPM Install

# cd /media/RedHat/RedHat6/Serviceguard/x86_64/
# ls serviceguard*
serviceguard-A.12.00.00-0.rhel6.x86_64.rpm            serviceguard-providers-A.12.00.00-0.rhel6.x86_64.rpm
serviceguard-analytics-A.12.00.00-0.rhel6.x86_64.rpm  serviceguard-snmp-A.12.00.00-0.rhel6.x86_64.rpm
serviceguard-license-A.12.00.00-0.rhel6.x86_64.rpm
#
# rpm -ivh  serviceguard-A.12.00.00-0.rhel6.x86_64.rpm serviceguard-analytics-A.12.00.00-0.rhel6.x86_64.rpm serviceguard-license-A.12.00.00-0.rhel6.x86_64.rpm serviceguard-providers-A.12.00.00-0.rhel6.x86_64.rpm serviceguard-snmp-A.12.00.00-0.rhel6.x86_64.rpm


Check Quorum

server1 # fdisk /dev/mapper/mpathb
n
p
1

t
83
p
w
q

server1 # kpartx -a /dev/mapper/mpathb
server1 # ls -l /dev/mapper/mpathbp1
server2 # ls -l /dev/mapper/mpathbp1


LVM

server1 # fdisk /dev/mapper/mpathb
n
p
1

t
8e   <- Linux LVM
p
w
q
server1 # kpartx -a /dev/mapper/mpathb
server1 # pvcreate /dev/mapper/mpathbp1
server1 # pvs

server1 # vgcreate VG_TEST /dev/mapper/mpathbp1
server1 # vgs

server1 # lvcreate -l 100%FREE VG_TEST
server1 # lvs
server2 # pvscan
server2 # vgscan
server2 # lvscan
server1 # mkfs -t ext4 /dev/VG_TEST/lvol0
server1 # mount /dev/VG_TEST/lvol0 /mnt
server1 # umount /mnt

Mount The Storage After started serviceguard

server1 # vgcreate --addtag $(uname -n) VG_TEST /dev/mapper/mpathc  <- uname -n = server1.example.locl
server1 # vgs -o +tags <- check tag
server1 # vgdisplay |grep Status      # Check Active

server1 # mount /dev/VG_TEST/lvol0 /mnt
server1 # umount /mnt

server1 # vgchange -a n VG_TEST
server1 # vgchange --deltag $(uname -n) VG_TEST
server1 # vgs -o +tags <- check tag


cmpreparecl

server1 # cmpreparecl -n test-server1 -n test-server2 -p    <- check
server1 # cmpreparecl -n test-server1 -n test-server2