Installation and Migration Guide
Follow the instructions in the "Installing HACMP for AIX software"
chapter of the HACMP for AIX: Installation Guide or the
"Installing the HACMP/ES software" chapter of the HACMP for
AIX: Enhanced Scalability Installation and Administration Guide to
install the HACMP software.
If you are installing HACMP, follow the instructions in the "Verifying
cluster software" chapter of the HACMP for AIX: Installation
Guide to verify the cluster software. If you are installing
HACMP/ES, follow the instructions in the "Installing the HACMP/ES
software" chapter of the HACMP for AIX: Enhanced Scalability
Installation and Administration Guide.
Install ssp.hacws on both control workstations using
SMIT.
- TYPE
- smit install_latest
- The Install Software window appears.
- SELECT
- The input device (press F4 and select a device) and the
ssp.hacws file set.
- PRESS
- Ok to complete the action.
Stop control workstation services on the primary control workstation by
entering the following command:
/usr/sbin/hacws/spcw_apps -d
Configure the target mode SCSI connection or the target mode SSA
connection, or the raw RS-232 serial line which is to be used as the HACMP
serial network. Refer to the "Configuring networks" chapter of
the HACMP for AIX: Installation Guide for
instructions.
You need to configure each control workstation to use its boot addresses
after it reboots. (You should have identified the boot addresses in Step 2: Plan network configuration.) To do this, enter the following command:
smit chinet
The Internet Address field should contain the IP address corresponding to
the boot address. Do this for each boot address on both control
workstations.
- Note:
- Do not reboot until you are instructed to do so in Step 34: Reboot control workstations.
If not previously done, the /spdata directory needs to reside in
an external volume group so both control workstations can access it.
You can accomplish this by migrating the /spdata files from a
separate file system in an internal volume group to the external volume
group.
Complete the following procedure:
- Determine which file system contains the /spdata directory by
entering the following command:
df /spdata
If the file system is separate, the mount point will be
/spdata.
- Unmount the /spdata file system by entering the following command:
umount /spdata
- Enter:
smit chjfs
- Select /spdata.
- Set the new mount point to /spdata.old. Set
mount automatically at system restart to no.
- Mount the file system at its new mount point by entering the following
command:
mount /spdata.old
The following list illustrates how the HACMP terminology maps to your HACWS
setup:
- HACMP Term
- HACWS Equivalent
- Source node
- Primary control workstation
- Destination node
- Backup control workstation
If you have not already set up an external file system, refer to the shared
logical volume configuration instructions in the "Defining shared LVM
components" chapter of the HACMP for AIX: Installation
Guide.
Follow the instructions for non-concurrent access. Use the following
list with the shared logical volume configuration instructions:
- Create a volume group on the primary control workstation. The
volume group can have any name--it does not have to be
spvg. (spvg is used in the examples.) Be
sure to use a major number that is available on both control
workstations.
- Follow the instructions to create a file system in the new volume
group.
- Follow the instructions to rename the logical volumes. After you
rename the logical volumes, check the /etc/filesystems file to make
sure the dev and log attributes reflect the
changes. If they do not, edit /etc/filesystems and update
these attributes to reflect the changes.
- Follow the instructions to add copies to the logical volume on the source
node (primary control workstation).
- Mount the new /spdata file system. Enter the following
command:
mount /spdata
- Copy the /spdata files from the old /spdata file
system to the new file system. Enter the following command:
cp -Rph /spdata.old/* /spdata
- Unmount both spdata file systems. Enter the following
commands:
umount /spdata.old
umount /spdata
- Follow the instructions in the remainder of non-concurrent access section
to do the following:
- Vary off the volume group on the primary control workstation.
- Import the volume group on the backup control workstation. (Make
sure to use the same major number you used on the primary control
workstation.)
- Change the volume group so it remains dormant on the backup control
workstation. If the volume group is mirrored three ways, then answer
Yes to the quorum required question. Otherwise, answer
No to the question. Refer to the HACMP publications for more
information about quorum in an HACMP cluster.
- Vary off the volume group on the backup control workstation.
- Make the /spdata file system available on the primary control
workstation.
- Vary on the volume group on the primary. Enter the following
command:
varyonvg spvg
- Mount the /spdata file system. Enter the following
command:
mount /spdata
- Issue the SMIT chvg command to make sure quorum status on the
primary control workstation matches the quorum status that you specified for
the backup control workstation.
Follow the AIX administration instructions in the "Additional AIX
administration tasks" chapter of the HACMP for AIX:
Installation Guide. Use the following list with the installation
instructions:
- The install_hacws command you will use in Step 29: Set up the HACWS configuration sets I/O pacing to the HACMP recommended starting
points. If you want to let install_hacws set these values,
skip the set I/O pacing step.
- The /etc/hosts file should contain both short and long host
names for each network interface, so both types of references (for example,
sp_cws_bt and sp_cws_bt.xyz.com) can be
resolved.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]