Manage the Cluster Manage Nodes
Manage Networks and Network Interfaces
Discover Network Interfaces and Disks
Verify and Synchronize Cluster Configuration
同步完成后磁盘情况如下:
# lspv
hdisk0 00f874e355ef7a89 rootvg active hdisk1 00f874e3338b7141 rootvg active hdisk2 00f874e33239aab1 caavg_private active
4.4.4. 在存储上分别映射2块数据盘过来,然后在HA
主备机里面执行cfgmgr –v命令。
# lspv
hdisk0 00f874e355ef7a89 rootvg active hdisk1 00f874e3338b7141 rootvg active
hdisk2 00f874e33239aab1 caavg_private active hdisk3 hdisk4
主机上分别执行如下命令: Chdev –l hdisk3 –a pv=yes Chdev –l hdisk4 –a pv=yes
/usr/sbin/mkvg -y 'datavg' -s '128' '-f' '-n' -V'53' '-C' hdisk3 /usr/sbin/mkvg -y 'backupvg' -s '128' '-f' '-n' -V'54' '-C' hdisk4 varyonvg datavg varyonvg backupvg
然后通过smitty jfs2建立文件系统。
备机上执行如下命令:
/usr/sbin/importvg -y 'datavg' hdisk3 /usr/sbin/importvg -y 'backupvg' hdisk4
4.4.5. 建立Persistent Node IP Addresses
4.4.5.1.
Move cursor to desired item and press Enter.
Cluster Nodes and Networks
Cluster Applications and Resources
System Management (C-SPOC) Problem Determination Tools Custom Cluster Configuration
Can't find what you are looking for ? Not sure where to start ? 4.4.5.2.
Move cursor to desired item and press Enter.
Initial Cluster Setup (Typical)
Manage the Cluster Manage Nodes
Manage Networks and Network Interfaces
Discover Network Interfaces and Disks
Verify and Synchronize Cluster Configuration 4.4.5.3.
Move cursor to desired item and press Enter.
Show Topology Information by Node Add a Node
Change/Show a Node Remove a Node
Configure Persistent Node IP Label/Addresses
Verify and Synchronize Cluster Configuration
4.4.5.4.
Move cursor to desired item and press Enter.
Add a Persistent Node IP Label/Address
Change / Show a Persistent Node IP Label/Address Remove a Persistent Node IP Label/Address
配置完Persistent IP之后就可以利用Persistent IP登陆了。
4.4.6. 创建资源组
4.4.6.1.
Move cursor to desired item and press Enter.
Cluster Nodes and Networks
Cluster Applications and Resources
System Management (C-SPOC) Problem Determination Tools Custom Cluster Configuration
Can't find what you are looking for ? Not sure where to start ?
4.4.6.2.
Move cursor to desired item and press Enter.
Make Applications Highly Available (Use Smart Assists) Resources
Resource Groups
Verify and Synchronize Cluster Configuration
4.4.6.3.
Move cursor to desired item and press Enter.
Add a Resource Group
Change/Show Nodes and Policies for a Resource Group
Change/Show Resources and Attributes for a Resource Group Remove a Resource Group
Configure Resource Group Run-Time Policies
Show All Resources by Node or Resource Group
Verify and Synchronize Cluster Configuration
Learn more about Resource Groups
4.4.6.4.
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields] * Resource Group Name [rg1]
* Participating Nodes (Default Node Priority) [hisserver1 hisserver2] +
Startup Policy Online On First Available Node +
Fallover Policy Fallover To Next Priority Node In The List +
Fallback Policy Never Fallback
4.4.7. 配置服务IP
执行如下命令:
/usr/es/sbin/cluster/utilities/clmgr add service_ip 'hisserver1_service' NETMASK='255.255.255.0' NETWORK='net_ether_01'
4.4.8. 配置应用程序启停脚本
执行如下 命令:
/usr/es/sbin/cluster/utilities/claddserv -e'/usr/es/script/stop.sh'
-s'app1'
-b'/usr/es/script/start.sh'
4.4.9. 使双机可以发现存储映射过去的磁盘
4.4.9.1.
Move cursor to desired item and press Enter.
Cluster Nodes and Networks
Cluster Applications and Resources
System Management (C-SPOC) Problem Determination Tools Custom Cluster Configuration
Can't find what you are looking for ? Not sure where to start ?
4.4.9.2.
Move cursor to desired item and press Enter.
Initial Cluster Setup (Typical)
Manage the Cluster Manage Nodes
Manage Networks and Network Interfaces
Discover Network Interfaces and Disks
Verify and Synchronize Cluster Configuration
4.4.10. 存储映射过去的盘添加到双机资源组中
4.4.10.1. 通过smitty hacmp实现
Cluster Nodes and Networks
Cluster Applications and Resources
System Management (C-SPOC) Problem Determination Tools Custom Cluster Configuration
Make Applications Highly Available (Use Smart Assists) Resources
Resource Groups