Veritas Storage Foundation and High Availability Solutions (quick install)

Posted on Tue 12 July 2011 by Pavlo Khmel

OS: SUSE Linux Enterprise Server 10.2 (x86_64)
SF_HS version: 5.0MP3

1. Preinstallation
Network:
On linux-001
eth0 10.10.10.1
eth1 10.10.10.2
eth2 no ip (for heartbeat link)
eth3 no ip (for heartbeat link)

On linux-002
eth0 10.10.10.3
eth1 10.10.10.4
eth2 no ip (for heartbeat link)
eth3 no ip (for heartbeat link)

Add to /etc/hosts on both servers:
10.10.10.1 linux-001.site linux-001
10.10.10.2 linux-001.site linux-001
10.10.10.3 linux-002.site linux-002
10.10.10.4 linux-002.site linux-002

Generate a DSA key pair on linux-001 as user root:

$ ssh-keygen -t dsa

Install public key on linux-002

$ ssh-copy-id -i .ssh/id_dsa.pub linux-002

Verify you can login without password as user root:

$ ssh linux-002

2. Installation
Files:
sf_ha.dvd2.5.0.30.0.suselinux.tar.gzaa
sf_ha.dvd2.5.0.30.0.suselinux.tar.gzab
sf_ha.dvd2.5.0.30.0.suselinux.tar.gzac

To combine them:

$ cat sf_ha.dvd2.5.0.30.0.suselinux.tar.gzaa sf_ha.dvd2.5.0.30.0.suselinux.tar.gzab sf_ha.dvd2.5.0.30.0.suselinux.tar.gzac > sf_ha.dvd2.5.0.30.0.suselinux.tar.gz
$ tar -xvzf sf_ha.dvd2.5.0.30.0.suselinux.tar.gz
$ cd dvd2-suselinux/sles10_x86_64/
# Precheck:
$ ./installer -precheck
. . .
VCS can be installed successfully on linux-001
VCS can be installed successfully on linux-002
# Installation:
$ ./installer
# Add permanent variable for binaries and man pages:
$ cat /etc/profile.local
export PATH=$PATH:/opt/VRTS/bin:/opt/VRTSvcs/bin
export MANPATH=$MANPATH:/opt/VRTS/man

Tips

# Boot only one node cluser if second node is down. Change -n2 to -n1 in file:
$ cat /etc/gabtab
/sbin/gabconfig -c -n1
# To configure Storage Foundation (if not done during installation):
/opt/VRTS/install/installsf -configure

Using VEA

#Manual start
/opt/VRTSob/bin/vxsvcctrl start
# or
/etc/init.d/isisd start

I you have error during VEA login "Connection to server [linux-001.site] is broken". You should update libgcc rpm:

$ rpm -Uvh libgcc-4.1.2_20070115-0.22.x86_64.rpm
Preparing... ########################################### [100%]
1:libgcc ########################################### [100%]