Oracle HA 在Unix上双机环境的安装指南
2007-07-24 12:34:31 来源:WEB开发网核心提示: (1)安装HACMP软件的安装与AIX基本*作系统选项软件的安装相同,用户可以根据需要选择安装HACMP软件,Oracle HA 在Unix上双机环境的安装指南(8),一般HACMP软件光盘上的内容全选,smit update_all选择光驱默认安装光盘上所有软件(2)配置1、/.rhos
(1)安装
HACMP软件的安装与AIX基本*作系统选项软件的安装相同,用户可以根据需要选择安装HACMP软件,一般HACMP软件光盘上的内容全选。
smit update_all
选择光驱
默认安装光盘上所有软件
(2)配置
1、/.rhosts
在两台主机上用VI建立 .rhosts文件,内容为:
m851_svc
m851_stb
m851_boot
m852_svc
m852_stb
m852_boot
在两台机器上分别改变 .rhosts文件的属
性:
chmod 644 .rhosts
2、/etc/hosts
在两台主机上的/etc/hosts文件中用VI编辑,内容为:
202.168.0.1 m851_svc
196.100.2.11 m851_stb
172.17.0.1 m851_boot
202.168.0.1 m852_svc
202.168.0.12 m852_stb
172.17.0.2 m852_boot
3、配置网络拓扑结构
smit hacmp:
屏幕显示hacmp菜单:
HACMP
Cluster Configuration
Cluster Services
Cluster System Management
Cluster Recovery Aids
RAS Support
---------- end of screen ----------
选择Cluster Configuration,
Cluster Configuration
Cluster Topology
Cluster Security
Cluster Resources
Cluster Snapshots
Cluster Verification
Cluster Custom Modification
Restore System Default Configuration from Active Configuration
Advanced Performance Tuning Parameters
---------- end of screen ----------
选择Cluster Topology
Cluster Topology
Configure Cluster
Configure Nodes
Configure Networks
Configure Adapters
Configure Sites
Configure Global Networks
Configure Network Modules
Configure Topology Services and Group Services
Show Cluster Topology
Synchronize Cluster Topology
---------- end of screen ----------
选择Configure Cluster
Configure Cluster
Add a Cluster Definition
Change / Show Cluster Definition
Remove Cluster Definition
---------- end of screen ----------
选择Add a Cluster Definition,并进行配置:
Add a Cluster Definition
[Entry Fields]
**NOTE: Cluster Manager MUST BE RESTARTED
in order for changes to be acknowledged.**
* Cluster ID [188](输入) #
* Cluster Name [test](输入)
---------- end of screen ----------
添加成功后返回到Cluster Topology
Cluster Topology
Configure Cluster
Configure Nodes
Configure Networks
Configure Adapters
Configure Sites
Configure Global Networks
Configure Network Modules
Configure Topology Services and Group Services
Show Cluster Topology
Synchronize Cluster Topology
---------- end of screen ----------
选择Configure Nodes
Configure Nodes
Add Cluster Nodes
Change / Show Cluster Node Name
Remove a Cluster Node
---------- end of screen ----------
选择Add Cluster Nodes,并进行配置(添加两个Node,M851、M852):
Add Cluster Nodes
[Entry Fields]
Node Names [m851](输入 Node Name)
---------- end of screen ----------
Add Cluster Nodes
[Entry Fields]
Node Names [m852](输入 Node Name)
---------- end of screen ----------
添加成功后,返回到Cluster Topology
Cluster Topology
Configure Cluster
Configure Nodes
Configure Networks
Configure Adapters
Configure Sites
Configure Global Networks
Configure Network Modules
Configure Topology Services and Group Services
Show Cluster Topology
Synchronize Cluster Topology
---------- end of screen ----------
选择Configure Adapters
Configure Adapters
Adapters on IP-based network
Adapters on Non IP-based network
---------- end of screen ----------
选择Adapters on IP-based network
Adapters on IP-based network
Discover Current Network Configuration
Add an Adapter
Change / Show an Adapter
Remove an Adapter
---------- end of screen ----------
选择Add an Adapter,配置m851_boot
Add an IP-based Adapter
[Entry Fields]
Adapter IP Label m851_boot
New Adapter IP Label [] +
* Network Type [ether] +
* Network Name [test_eth] +
* Network Attribute [public] +
* Adapter Function [boot] +
Adapter IP address [202.168.0.11]
Adapter Hardware Address []
Node Name [m851] +
Netmask [255.255.255.0] +
---------- end of screen ----------
<ccid_page/>
配置m851_stb
Add an IP-based Adapter
[Entry Fields]
Adapter IP Label m851_stb
New Adapter IP Label [] +
* Network Type [ether] +
* Network Name [test_eth] +
* Network Attribute [public] +
* Adapter Function [standby] +
Adapter IP address [172.17.0.1]
Adapter Hardware Address []
Node Name [m851] +
Netmask [255.255.255.0] +
---------- end of screen ----------
配置m851_svc
Add an IP-based Adapter
[Entry Fields]
Adapter IP Label m851_svc
New Adapter IP Label [] +
* Network Type [ether] +
* Network Name [test_eth] +
* Network Attribute [public] +
* Adapter Function [service] +
Adapter IP address [202.168.0.1]
Adapter Hardware Address [0x0002556affff]
Node Name [m851] +
Netmask [255.255.255.0] +
---------- end of screen ----------
配置m852_boot
Add an IP-based Adapter
[Entry Fields]
Adapter IP Label m852_boot
New Adapter IP Label [] +
* Network Type [ether] +
* Network Name [test_eth] +
* Network Attribute [public] +
* Adapter Function [boot] +
Adapter IP address [202.168.0.12]
Adapter Hardware Address []
Node Name [m852] +
Netmask [255.255.255.0] +
---------- end of screen ----------
配置m852_stb
Add an IP-based Adapter
[Entry Fields]
Adapter IP Label m852_stb
New Adapter IP Label [] +
* Network Type [ether] +
* Network Name [test_eth] +
* Network Attribute [public] +
* Adapter Function [standby] +
Adapter IP address [172.17.0.2]
Adapter Hardware Address []
Node Name [m852] +
Netmask [255.255.255.0] +
---------- end of screen ----------
配置m852_svc
Add an IP-based Adapter
[Entry Fields]
Adapter IP Label m852_svc
New Adapter IP Label [] +
* Network Type [ether] +
* Network Name [test_eth] +
* Network Attribute [public] +
* Adapter Function [service] +
Adapter IP address [202.168.0.2]
Adapter Hardware Address [0x0002556ad9ff]
Node Name [m852] +
Netmask [255.255.255.0] +
---------- end of screen ----------
赞助商链接