HACMP安装配置施实全过程Word文件下载.docx
- 文档编号:18998757
- 上传时间:2023-01-02
- 格式:DOCX
- 页数:9
- 大小:18.06KB
HACMP安装配置施实全过程Word文件下载.docx
《HACMP安装配置施实全过程Word文件下载.docx》由会员分享,可在线阅读,更多相关《HACMP安装配置施实全过程Word文件下载.docx(9页珍藏版)》请在冰豆网上搜索。
*NetworkINTERFACEen1
NAMESERVER
InternetADDRESS(dotteddecimal)[]
DOMAINName[]
DefaultGATEWAYAddress[]
B.
配置第二块boot网卡
selecten1
*InternetADDRESS(dotteddecimal)[10.10.10.1]
*NetworkINTERFACEen3
(2)
在p630_2机上:
*HOSTNAME[p630_2]
*InternetADDRESS(dotteddecimal)[10.10.9.2]
*InternetADDRESS(dotteddecimal)[10.10.10.2]
2、
修改/etc/hosts文件,内容如下:
127.0.0.1loopbacklocalhostp630_1
10.10.9.1boot_11p630_1
10.10.10.1boot_12p630_1
192.168.1.1service1
10.10.9.2boot_21p630_2
10.10.10.2boot_22p630_2
192.168.1.2service2
3、
在p630_1上建立共享卷组
建立oravg共享卷组
#smitty
SystemStorageManagement(Phisical&
LogicalStorage)
LogicalVolumeManager
VolumeGroups
AddaVolumeGroup
VOLUMEGROUPname[oravg]
PhysicalpartitionSIZEinmegabytes[128]
*PHYSICALVOLUMEnames[hdisk2]
ActivatevolumegroupAUTOMATICALLY[no]
atsystemrestart?
VolumeGroupMAJORNUMBER[]
CreateVGconcurrentCapable?
[yes]
Auto-varyoninConcurrentMode?
[no]
4、
在p630_2上import共享卷组
importoravg共享卷组
ImportaVolumeGroup
*PHYSICALVOLUMEname[hdisk2]
MakethisVGConcurrentCapableno
MakedefaultvaryonofVGConcurrent?
no
修改oravg共享卷组属性
SetCharacteristicsofaVolumeGroup
ChangeaVolumeGroup
select*VOLUMEGROUPname[oravg]
*ACTIVATEvolumegroupAUTOMATICALLY[no]
*AQUORUMofdisksrequiredtokeepthevolume[yes]
groupon-line?
ConvertthisVGtoConcurrentCapable?
*AutovaryonVGinConcurrentMode?
5、
在p630_1
和p630_2上配置非TCP/IP网络
Devices
TTY
AddaTTY
selectttyrs232AsynchronousTerminal
TTYtype[tty]
TTYinterface[rs232]
Description[Terminalasynchrone]
Parentadapter[sa3]
*PORTnumber[0]
BAUDrate[9600]
PARITY[none]
BITSpercharacte
NumberofSTOPBITS[1]
TERMINALtype[dumb]
STATEtobeconfiguredatboottime[available]
...
EnableLOGIN[disable]
用SerialtoSerialCable连接一号机和二号机的COM3,作为HACMP的心跳线
测试心跳线:
1)
在p630_1机上执行:
cat<
/dev/tty0
2)
在p630_2上执行:
cat/etc/hosts>
3)
在p630_1上若显示出p630_2的/etc/hosts文件内容,说明心跳线配置正确
6、
建立应用服务器启动脚本
在/etc/hascript下分别建立dbstart.sh,dbstop.sh,
然后修改文件属性为755:
#chomd755*
7、
HACMP的设置
(1)定义CLUSTER
InitializationandStandardConfiguration
AddNodestoanHACMPCluster
Add/Change/ShowanHACMPCluster
[输入字段]
*ClusterName[wly]
NOTE:
HACMPmustbeRESTARTED
onallnodesinorderforchangetotakeeffect
(2)定义p630_1节点
ExtendedConfiguration
ExtendedTopologyConfiguration
ConfigureHACMPNodes
AddaNodetotheHACMPCluster
AddaNodetotheHACMPCluster
*NodeName[p630_1]
CommunicationPathtoNode[]+
(2)定义p630_2节点
(3)
定义网络
定义IP网络
ExtendedTopologyConfiguration
ConfigureHACMPNetworks
AddaNetworktotheHACMPCluster
AddanIP-BasedNetworktotheHACMPCluster
[输入字段]
*NetworkName[net_ether_01]
*NetworkTypeether
*Netmask[255.255.255.0]+
*EnableIPAddressTakeoverviaIPAliases[Yes]+
IPAddressOffsetforHeartbeatingoverIPAliases[]
定义非IP网络
AddaNetworktotheHACMPCluster
选择#Pre-definedSerialDeviceTypes
中的rs232
AddaSerialNetworktotheHACMPCluster
*NetworkName[net_rs232_01]
*NetworkTypers232
(4)
定义网络接口
定义IP网络接口
定义Boot_11接口:
ConfigureHACMPCommunicationInterfaces/Devices
AddCommunicationInterfaces/Devices
选择
AddPre-definedCommunicationInterfacesandDevices
CommunicationInterfaces
选择net_ether_01(0.0.0.0/0)
AddaCommunicationInterface
*IPLabel/Address[boot_11]+
*NetworkNamenet_ether_01
*NodeName[p630_1]+
NetworkInterface[]
定义Boot_12接口:
*IPLabel/Address[boot_12]+
定义boot_21接口:
*IPLabel/Address[boot_21]+
*NodeName[p630_2]+
定义boot_22接口:
*IPLabel/Address[boot_22]+
定义非IP网络接口
定义p630_1tty接口:
CommunicationDevice
net_rs232_01
AddaCommunicationDevice
*DeviceName[p630_1tty]
*NetworkNamenet_rs232_01
*DevicePath[/dev/tty0]
*NodeName[p630_1]
定义p630_2tty接口:
*DeviceName[p630_2tty]
*NodeName[p630_2]
(5)
定义应用服务器
定义wlyapp应用服务器:
ConfigureApplicationServers
AddanApplicationServer
AddApplicationServer
*ServerName[wlyapp]
*StartScript[/etc/hascript/dbstart.sh]
*StopScript[/etc/hascript/dbstop.sh]
(6)
定义共享资源组
定义wlyres资源组
ConfigureHACMPResourceGroup
AddaResourceGroup
选择Cascading
AddaResourceGroupwithaCascadingManagementPolicy(standard)
*ResourceGroupName[wlyres]
*ParticipatingNodeNames(DefaultNodePriority)[p630_1p630_2]+
(7)
修改资源组属性
修改wlyres资源组属性:
Change/ShowResourcesforaCascadingResourceGroup(standard)
Change/ShowResourcesforaCascadingResourceGroup
ResourceGroupNamewlyres
ParticipatingNodeNames(DefaultNodePriority)p630_2p630_1
*ServiceIPLabels/Addresses[]+
VolumeGroups[oravg]+
Filesystems(emptyisALLforVGsspecified)[]+
ApplicationServers[wlyapp]+
(8)
定义ServiceIP
定义p630_1的serviceIP地址:
ConfigureResourcestoMakeHighlyAvailable
ConfigureServiceIPLabeles/Addresses
AddaserviceIPLabeles/Addresses
AddaServiceIPLabel/Address(standard)
*IPLabel/Address[service1]+
*NetworkName[net_ether_01]+
8、
同步HACMP配置
VerifyandSynchronizeHACMPComfiguration
VerifyandSynchronizeHACMPComfiguration
*Verify,SynchronizeorBoth[Both]+
Forcesynchronizationifverificationfails?
[No]+
*Verifychangesonly?
*Logging[Standard]+
9、
HACMP服务的启动和停止
启动:
#smittyclstart
StartClusterServices
*Startnow,onsystemrestartorbothnow+
StartClusterServicesonthesenodes[p630_1]+
BROADCASTmessageatstartup?
true+
StartupClusterLockServices?
false+
StartupClusterInformationDaemon?
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- HACMP 安装 配置 全过程