######################################
# #
# Function for install HACMP 5.5 #
######################################
#### install_031 install packages required by HACMP
install_031(){
geninstall -d /lpp5308 I:bos.data
#install bos.clvm.enh
geninstall -d /lpp5308 \
rsct.basic.rte \
rsct.basic.hacmp \
rsct.compat.basic.rte \
rsct.compat.basic.hacmp \
rsct.compat.clients.rte \
rsct.compat.clients.hacmp
geninstall -d /lpp5308 I:bos.clvm.enh
#install packages about bos
# bos.adt.libm
# bos.adt.syscalls
# bos.net.nfs.server
geninstall -d /lpp5308 bos.net.nfs.server \
bos.adt.libm \
bos.adt.syscalls
}
### install_032 installs HACMP 5.5
install_032(){
geninstall -d /epack3/hacmp/5.5 -Y \
I:cluster.adt.es.client.include \
I:cluster.adt.es.client.samples.clinfo \
I:cluster.adt.es.client.samples.clstat \
I:cluster.adt.es.client.samples.libcl \
I:cluster.adt.es.java.demo.monitor \
I:cluster.doc.en_US.es.html \
I:cluster.doc.en_US.es.pdf \
I:cluster.es.cfs.rte \
I:cluster.es.client.clcomd \
I:cluster.es.client.lib \
I:cluster.es.client.rte \
I:cluster.es.client.utils \
I:cluster.es.client.wsm \
I:cluster.es.cspoc.cmds \
I:cluster.es.cspoc.dsh \
I:cluster.es.cspoc.rte \
I:cluster.es.nfs.rte \
I:cluster.es.plugins.dhcp \
I:cluster.es.plugins.dns \
I:cluster.es.plugins.printserver \
I:cluster.es.server.cfgast \
I:cluster.es.server.diag \
I:cluster.es.server.events \
I:cluster.es.server.rte \
I:cluster.es.server.simulator \
I:cluster.es.server.testtool \
I:cluster.es.server.utils \
I:cluster.es.worksheets \
I:cluster.license \
I:cluster.man.en_US.es.data
}
### install_033 install patches for HACMP 5.5 , PAY ATTENTION TO THE DATE OF THE PATCH!
install_033(){
geninstall -d /epack3/hacmp/5.5/ha_patch_20100901 \
S:cluster.adt.es.client.samples.clstat \
S:cluster.es.cfs.rte \
S:cluster.es.client.clcomd \
S:cluster.es.client.lib \
S:cluster.es.client.rte \
S:cluster.es.client.utils \
S:cluster.es.client.wsm \
S:cluster.es.cspoc.cmds \
S:cluster.es.cspoc.rte \
S:cluster.es.nfs.rte \
S:cluster.es.plugins.dhcp \
S:cluster.es.plugins.dns \
S:cluster.es.plugins.printserver \
S:cluster.es.server.diag \
S:cluster.es.server.events \
S:cluster.es.server.rte \
S:cluster.es.server.simulator \
S:cluster.es.server.testtool \
S:cluster.es.server.utils \
S:cluster.es.worksheets \
S:cluster.man.en_US.es.data
}
#########################################################################
# #
# Function to install all the HACMP 5.5 packages in one cmd #
#########################################################################
install_hacmp(){
install_031
install_032
install_033
}
前期需要把软件和补丁包放到NFS服务器上。