Managing MC/ServiceGuard NFS for Linux, December 2001

Installing and Configuring MC/ServiceGuard NFS for Linux
Installing MC/ServiceGuard NFS for Linux
Chapter 2 21
# cmmakepkg -p pkg.conf
# cmmakepkg -s pkg.cntl
4. Create a directory for your package files, for example:
# mkdir /usr/local/cmcluster/<pkg_name>
5. Issue the following command to copy the MC/ServiceGuard NFS
template files to the newly created package directory:
#
cp /usr/local/cmcluster/nfstoolkit/* /usr/local/cmcluster/<pkg_name>
Copying the Template Files
If you will run only one MC/ServiceGuard NFS package in your
MC/ServiceGuard cluster, technically you do not have to copy the
template files. Though, it is recommended that you keep your template
file in its original form for future use. If you will run multiple
MC/ServiceGuard NFS packages, each package must have its own
package directory, package configuration file and control scripts.
For each MC/ServiceGuard NFS package you plan to run, make a copy of
all the package files including the package configuration file (pkg.conf),
package control script (pkg.cntl), NFS Control Script (hanfs.sh), and
NFS monitor script (nfs.mon). You can rename the package control script
with a package specific identification, such as pkg1.conf and
pkg1.cntl.
NOTE pkg.cntl and hanfs.sh s h o u l d b e i n t h e s a m e d i r e c t o r y . D o n o t
rename the hanfs.sh and nfs.mon. These files are hard coded in the
two control scripts.