Professional Documents
Culture Documents
There are 3 scripts involve to successfully upgrade HACMP cluster. These scripts are located on all NIM servers under /nim/MaintLevels/HACMP/CONFIGURE directory, so the very first thing that you need to do is to nfs mount /nim/MaintLevels directory to the HACMP nodes.
NOTE: Make sure you nfs mount /nim/MaintLevels directory and NOT /nim/MaintLevels/HACMP/CONFIGURE directory. The scripts will get some of its data under /nim/MaintLevels. If you did not nfs mount the directory correctly, the script will fail. PLEASE READ: 1. HACMP Must be stop on both nodes before performing all the steps below. 2. Go to our website mossweb.metlife.com, select configuration then HACMP Information, then find the nodename from the list and click on the cluster name link. This will open a pop-up window containing the HACMP configuration. You will need this info when performing the steps below. 3. In Phase 2: Setup Network, when ask for BOOT IP, enter the 192.168 ip address (standby ip address from old config), and when ask for Persistent IP add, enter the <hostname_boot> IP address (boot ip address from old config).
PHASE 0: nfs mount nimserver /nim/MaintLevels on both nodes PHASE 1: Upgrade HA Code - To be perform on both nodes
1. Execute: /mnt/HACMP/CONFIGURE/upgrade_ha p /mnt/HACMP/CONFIGURE/upgrade_ha s for Primary Node for Secondary Node
NOTE: For active-active node, you have to choose 1 node as primary and the other node as secondary.
This will prompt you if this is HADPAR or not, so make sure you know if this is HADPAR or not. The script does the following: o gather some basic information needed to configure HA later, this config will be saved in /usr/local/HACMP directory.
o o o o o o
run an HACMP snapshot and save it in /usr/local/HACMP directory. Remove old HA code and install new HA code Set the high/low watermark and syncd values update root .profile create netmon.cf file copy cluster_ipconfig script to /usr/local/HACMP directory.
2. unmount /mnt
You can run this script on both nodes at the same time.
5. Once done, please check/compare the new /etc/hosts file with /etc/hosts.migrateha, and add anything you think important alias names, and/or host entries.
Perform this step on secondary node, you can actually perform this step on both server at the same time (just make sure you don't get confused :-)).
PHASE3: Configure HA ==> You only need to run this on the PRIMARY NODE: (Select any node if active-active).
1. nfs mount /nim/MaintLevels 2. cd /usr/local/HACMP 3. Edit haadapter.cfg file, and replace the interface name/value for all INTERFACE entry to the etherchannel interface name. 4. run /mnt/HACMP/CONFIGURE/configure_ha The script performs HA configuration similar to the NEW HACMP setup script, it will pick up the following information that was gathered in PHASE1:
Then convert them to our standard naming convention. 5. Once done, copy the start/stop script from primary node to the secondary node. You can use any method of transfer you want (ftp or sftp or scp), just make sure that the scripts have execute permission. 6. unmount /mnt 7. run HA verification and synchronization 8. start HA and start testing...
END OF DOCUMENT