Specifications
Changing LifeKeeper Configuration Values
2. If you are changing the uname of a LifeKeeper server, change the server's hostname using the
Linux hostname(1) command.
3. Before continuing, ensure that any new host names are resolvable by all of the servers in the
cluster. If you are changing comm path addresses, check that the new addresses are
configured and working (the ping and telnet utilities can be used to verify this).
4. If more than one LifeKeeper value is to be changed, old and new values should be specified in
a file on each server in the cluster in the following format:
old_value1=new_value1
....
old_value9=new_value9
5. Verify that the changes to be made do not have any unexpected side effects by examining the
output of running the lk_chg_value command on all servers in the cluster. If there is
more than one value to change, run the command:
$LKROOT/bin/lk_chg_value -Mvf file_name
where file_name is the name of the file created in Step 4.
If there is only one value to change, run the command:
$LKROOT/bin/lk_chg_value -Mvo old_value -n new_value
The -M option specifies that no modifications should be made to any LifeKeeper files.
6. Modify LifeKeeper files by running the lk_chg_value command without the -M option on
all servers in the cluster. If there is more than one value to change, run the command:
$LKROOT/bin/lk_chg_value -vf file_name
where file_name is the name of the file created in Step 4.
If there is only one value to change, run the command:
$LKROOT/bin/lk_chg_value -vo old_value -n new_value
7. Restart LifeKeeper using the command:
/etc/init.d/lifekeeper start
If the cluster is being viewed using the LifeKeeper GUI, it may be necessary to close and
restart the GUI.
Example:
Server1 and Server2 are the LifeKeeper server unames in a two-node cluster.Server1 has a
comm path with address 172.17.100.48. Server2 has an ip resource with address
172.17.100.220 which is extended to Server1. We wish to change the following values for
Server1:
202User Guide