设为首页 | 网站公告 | 网站地图 | 联系我们 加入收藏
| 网站首页 | 技巧文摘 | 电脑书库 | 媒体教程 | P2P资源区 | 在线留言 | 学习资源社区 |
会员登录
 
热门电脑教程
推荐电脑教程
您现在的位置: 计算机应用技巧资讯站 > 技巧文摘 > 网络应用 > 网站建设 > 数据库 > 文章正文
Oracle HA在Unix上双机环境的安装指南(下)
来源:网络收集  阅读次数:  更新日期:2007-7-26

(4)分别增加TTY在两台主机上:
smit tty
选择:Add a TTY
Add a TTY
Type or select values in entry fields.
Press Enter AFTER making all desired changes.

[TOP] [Entry Fields]
TTY tty2
TTY type tty
TTY interface rs232
Description Asynchronous Terminal
Status Available
Location 01-S4-00-00
Parent adapter sa3 
PORT number [0] +
Enable LOGIN disable +
BAUD rate [9600] +
PARITY [none] +
BITS per character [8] +
Number of STOP BITS [1] +
[MORE...35] 

在第二台主机上同样方法配置一个TTY。

(5)配置心跳线TTY
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 Non IP-based network
Adapters on Non IP-based network
Add an Adapter 
Change / Show an Adapter 
Remove an Adapter 
---------- end of screen ----------
选择Add an Adapter,并进行配置
Add an Adapter

[Entry Fields]
Adapter Label m851_tty
New Adapter Label []
Network Type [rs232] +
* Network Name [test_tty] +
* Device Name [/dev/tty2]
* Node Name [m851] +
---------- end of screen ----------

Add an Adapter

[Entry Fields]
Adapter Label m852_tty
New Adapter Label []
Network Type [rs232] +
* Network Name [test_tty] +
* Device Name [/dev/tty3]
* Node Name [m852] +
---------- end of screen ----------

(6)配置资源组:
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 Resources
Cluster Resources

Define Resource Groups
Define Application Servers
Configure Application Monitoring
Define Tape Resources
Define Highly Available Communication Links
Discover Current Volume Group Configuration
Configure Dynamic Node Priority Policies
Change/Show Resources/Attributes for a Resource Group
Cluster Events
Change/Show Run Time Parameters
Change/Show Cluster Lock Manager Resource Allocation
Show Cluster Resources
Synchronize Cluster Resources
---------- end of screen ----------

(7)配置应用服务器
选择Define Application Servers
Define Application Servers
Add an Application Server
Change / Show an Application Server 
Remove an Application Server 
---------- end of screen ----------
1.选择Add an Application Server,并进行配置
Add an Application Server
[Entry Fields]
Server Name adata_app
Start script [/usr/sbin/cluster/appserver/startapp1]
Stop script [/usr/sbin/cluster/appserver/stopapp1]
---------- end of screen ----------

Add an Application Server
[Entry Fields]
Server Name bdata_app
Start script [/usr/sbin/cluster/appserver/startapp2]
Stop script [/usr/sbin/cluster/appserver/stopapp2]
---------- end of screen ----------

2.增加资源组
选择Define Resource Groups
Define Resource Groups
Add a Resource Group
Change / Show a Resource Group
Remove a Resource Group
---------- end of screen ----------
选择Add a Resource Group,并配置两个资源组
Add a Resource Group
[Entry Fields]
Resource Group Name resource1
Node Relationship cascading +
Participating Node Names / Default Node Priority [m851 m852] +
---------- end of screen ----------
Add a Resource Group
[Entry Fields]
Resource Group Name resource2
Node Relationship cascading +
Participating Node Names / Default Node Priority [m852 m851] +
---------- end of screen ----------

3.配置资源组
选择Change/Show Resources/Attributes for a Resource Group,配置resource1和resource2
配置resource1
Change/Show Resources/Attributes for a Resource Group

[TOP] [Entry Fields]
Resource Group Name resource1
Node Relationship cascading
Participating Node Names / Default Node Priority m851 m852
Dynamic Node Priority [] +

Service IP label [m851_svc] +
Filesystems (default is All) [] +
Filesystems Consistency Check fsck +
Filesystems Recovery Method sequential +
Filesystems/Directories to Export [] +
Filesystems/Directories to NFS mount [] +
Network For NFS Mount [] +
Volume Groups [adatavg] +
Concurrent Volume groups [] +
Raw Disk PVIDs [] +
Connections Services [] +
Fast Connect Services [] +
Tape Resources [] +
Application Servers [adata_app] +
Highly Available Communication Links [] +
Miscellaneous Data []

Automatically Import Volume Groups false +
Inactive Takeover Activated false +
Cascading Without Fallback Enabled false +
9333 Disk Fencing Activated false +
SSA Disk Fencing Activated false + 
Filesystems mounted before IP configured false +
---------- end of screen ----------
配置resource2
Change/Show Resources/Attributes for a Resource Group


[TOP] [Entry Fields]
Resource Group Name resource2
Node Relationship cascading
Participating Node Names / Default Node Priority m852 m851
Dynamic Node Priority [] +

Service IP label [m852_svc] +
Filesystems (default is All) [] +
Filesystems Consistency Check fsck +
Filesystems Recovery Method sequential +
Filesystems/Directories to Export [] +
Filesystems/Directories to NFS mount [] +
Network For NFS Mount [] +
Volume Groups [bdatavg] +
Concurrent Volume groups [] +
Raw Disk PVIDs [] +
Connections Services [] +
Fast Connect Services [] +
Tape Resources [] +
Application Servers [bdata_app] +
Highly Available Communication Links [] +
Miscellaneous Data [] 

Automatically Import Volume Groups false +
Inactive Takeover Activated false +
Cascading Without Fallback Enabled false +
9333 Disk Fencing Activated false +
SSA Disk Fencing Activated false + 
Filesystems mounted before IP configured false +
---------- end of screen ----------

(8)拓扑同步和资源同步
在主机一配置完成以后,用菜单中的同步命令进行将第一资源放到第二台机器上的工作。 

1.拓扑同步
具体配置方法如下:
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 ----------
选择Synchronize Cluster Topology,回车确认等待同步完成。

2.资源同步
具体配置方法如下:
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 ----------
选择Cluster Resources
Cluster Resources

Define Resource Groups
Define Application Servers
Configure Application Monitoring
Define Tape Resources
Define Highly Available Communication Links
Discover Current Volume Group Configuration
Configure Dynamic Node Priority Policies
Change/Show Resources/Attributes for a Resource Group
Cluster Events
Change/Show Run Time Parameters
Change/Show Cluster Lock Manager Resource Allocation
Show Cluster Resources
Synchronize Cluster Resources
---------- end of screen ----------
选择Synchronize Cluster Resources,回车确认等待同步完成。

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 Verification
Cluster Verification
Verify Cluster
Define Custom Verification Method 
---------- end of screen ----------
选择Verify Cluster
Verify Cluster
[Entry Fields]
Base HACMP Verification Methods both +
(Cluster topology, resources, both, none)
Custom Defined Verification Methods [] +
Error Count [] #
Log File to store output []
---------- end of screen ----------
回车确认即可。

加入收藏】【告诉好友】【打印此文】【关闭窗口
上一篇教程  
下一篇教程   没有了
 
网友评论:(评论内容只代表网友观点,与本站立场无关!)
 姓 名:
 评 分: 1分 2分 3分 4分 5分
 内 容:
计算机应用技巧资讯站 版权所有 粤ICP备05000897号  
Copyright © 2006 www.00083.com Inc. All rights reserved.
软件技术交流群:5895132 硬件技术交流群:19441759 QQ书籍交流群#1:15823216 QQ书籍交流群#2:18211070