电脑技术学习

UNIX平台双机配置

dn001

  #双机启动成功后,你可以使用如下命令来查看

  cmhaltcl-f 停双机

  cmvIEwcl-v 查看双机的状态

  cmrunnode  启动一个节点

  cmhaltnode 停一个节点

  14.注明:/etc/fstab中不能出现被双机共享的卷组

  [color=red:e75c3b98b1]关于包配置脚本的编写及包控制文件的编写请参考HP随机的双机文档中的说明和你的DBA工程师。在此时间不够就不说了。[/color:e75c3b98b1]

  15.注明:以下为一个cmclconfig.ascii的文件内容,大家可以看一看里面的英文注释,及以下相关的配置参数

#**********************************************************************
#*********HIGHAVAILABILITYCLUSTERCONFIGURATIONFILE***************
#*****Forcompletedetailsaboutclusterparametersandhowto  ****
#*****setthem,consultthecmquerycl(1m)manpageoryourmanual.****
#**********************************************************************
#Enteranameforthiscluster. Thisnamewillbeusedtoidentifythe
#clusterwhenviewingormanipulatingit.
CLUSTER_NAMEcl_db
#ClusterLockDeviceParameters. Thisisthevolumegroupthat
#holdstheclusterlockwhichisusedtobreakaclusterformation
#tie. Thisvolumegroupshouldnotbeusedbyanyothercluster
#asclusterlockdevice.
#Warning:Novolumegroupswerefoundonallnodes.
#Aclusterlockvolumegroupisrequiredforclustersofonlytwonodes.
FIRST_CLUSTER_LOCK_VG/dev/vgsyb
#Definitionofnodesinthecluster.
#Repeatnodedefinitionsasnecessaryforadditionalnodes.
NODE_NAMEJSta
NETWORK_INTERFACElan2
HEARTBEAT_IP192.9.200.2
NETWORK_INTERFACElan3
NETWORK_INTERFACElan1
STATIONARY_IP132.228.39.2
#Warning:Novolumegroupswerefoundonallnodes.
#Aclusterlockdeviceisrequiredforclustersofonlytwonodes.
FIRST_CLUSTER_LOCK_PV/dev/dsk/c4t1d2
#Listofserialdevicefilenames
#Forexample:
#SERIAL_DEVICE_FILE/dev/tty0p0
#PossiblestandbyNetworkInterfacesforlan1:lan3.
#Warning:Therearenostandbynetworkinterfacesforlan2.
NODE_NAMEJStb
NETWORK_INTERFACElan2
HEARTBEAT_IP192.9.200.3
NETWORK_INTERFACElan3
NETWORK_INTERFACElan1
STATIONARY_IP132.228.39.3
#Warning:Novolumegroupswerefoundonallnodes.
#Aclusterlockdeviceisrequiredforclustersofonlytwonodes.
FIRST_CLUSTER_LOCK_PV/dev/dsk/c4t1d2
#Listofserialdevicefilenames
#Forexample:
#SERIAL_DEVICE_FILE/dev/tty0p0
#PossiblestandbyNetworkInterfacesforlan1:lan3.
#Warning:Therearenostandbynetworkinterfacesforlan2.
#ClusterTimingParmeters(microseconds).
HEARTBEAT_INTERVAL1000000
NODE_TIMEOUT2000000
#Configuration/ReconfigurationTimingParameters(microseconds).
AUTO_START_TIMEOUT600000000
NETWORK_POLLING_INTERVAL2000000
#PackageConfigurationParameters.
#Enterthemaximumnumberofpackageswhichwillbeconfiguredinthecluster.
#Youcannotaddpackagesbeyondthislimit.
#Thisparameterisrequired.
MAX_CONFIGURED_PACKAGES4
#ListofclusterawareVolumeGroups.Thesevolumegroupswill
#beusedbypackageapplicationsviathevgchange-aecommand.
#Forexample: 
#VOLUME_GROUP/dev/vgdatabase.
#VOLUME_GROUP/dev/vg02.
VOLUME_GROUP/dev/vgsyb

标签: