Virtual TapeServer 6.04.01 Operations and Administration Guide
| 195
i. Configure the /etc/hosts file to ensure that the following information is present in the
file. Replace ipaddr, fully.qualified.domain.name, and hostname with the GFS
upgrade system's information:
127.0.0.1 localhost.localdomain localhost
ipaddr fully.qualified.domain.name hostname
::1 localhost6.localdomain6 localhost6
j. Configure LVM and enable the cluster by entering this command:
lvmconf --enable-cluster
k. Start the GFS services by entering the following commands:
service ccsd start
service cman start
service clvmd start
Note
Starting the cman and clvmd processes may take a few minutes before
displaying any success or failure messages.
l. Determine local volume names by entering the following command:
lvscan
Note the logical volume names. These should correlate to the pool names present in
the GFS cluster prior to upgrade. Also, a CCS logical volume and one or more GFS
volumes should be listed. Here is an example of the output:
ACTIVE '/dev/pool_gfs01/pool_gfs01' [2.79 GB] normal
ACTIVE '/dev/pool_ccs/pool_ccs' [95.98 MB] normal
m. Create a cluster configuration volume by creating the cluster.conf file:
ccs_tool upgrade /dev/pool_ccs/pool_ccs > /etc/cluster/
cluster.conf-new
Note
You must append “-new” to the file name. If the cluster.conf file is changed
while the cluster is running, it will not shut down properly.
n. Shut down the cluster services by entering these commands:
service clvmd stop
service cman stop
service ccsd restart
o. Restart the cluster services, replacing fully.qualified.domain.name with the fully
qualified domain name of the GFS upgrade system:
lock_gulmd -c -s fully.qualified.domain.name
Note that you can ignore this message when it is displayed:
Warning! You didn't specify a cluster name before --use_ccs
Letting ccsd choose which cluster we belong to.
Then, enter this command:
service clvmd start