HA的简单配置过程.doc_第1页
HA的简单配置过程.doc_第2页
HA的简单配置过程.doc_第3页
HA的简单配置过程.doc_第4页
HA的简单配置过程.doc_第5页
免费预览已结束,剩余1页可下载查看

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

环境:两台52A,AIX5305 HA5.4应用:weblogicHA的配置都在一台机器上完成一、第1阶段1、 IP规划vi编辑etc/hosts(两台机器上都配置)127.0.0.1 loopback localhost #loopback (lo0) name address192.168.1.110 app1_boot1192.168.2.110 app1_boot210.32.127.23 app1_per10.32.127.32 app_serv192.168.1.111 app2_boot1192.168.2.111 app2_boot210.32.127.24 app2_per2、 配置网卡基本上使用小机自带的双端口网卡。smitty tcpip en0: boot1 en1: boot23、 创建应用系统启动和停止脚本的目录#touch /home/appserver/start_app.sh#touch /home/appserver/stop_app.sh4、 创建串口设备smitty tty 选择tty类型为tty rs232,端口为0,波特率为96005、 创建卷组和文件系统以下是在两台机器上的操作顺序:创建共享VGA机器B机器Smitty mkvg 修改两个参数为NOVaryoffvg datavgImportvg y datavg hdisk2Smitty chvg 修改两个参数为NoVaryonvg datavgSmitty chvg 修改两个参数为noVaryoffvg datavg Varyoffvg datavg创建JFS2A机器B机器Varyonvg datavgSmitty crfs 选择创建JFS2文件系统Varyoffvg datavgExportvg datavgImportvg y datavg hdisk2Smitty chvg 修改两个参数为no二、第2阶段(HACMP的standard配置阶段)1、添加集群名和节点名Smitty hacmpInitialization and Standard Configuration Extended Configuration System Management (C-SPOC) Problem Determination Tool Add Nodes to an HACMP Cluster Configure Resources to Make Highly Available Configure HACMP Resource Groups Verify and Synchronize HACMP Configuration Display HACMP Configuration * Cluster Name appcluster New Nodes (via selected communication paths) app1_boot1 app2_boot1 app1_boot1 app2_boot2 2、配置cluster资源a) 添加service ip#Smitty hacmpInitialization and Standard Configuration Extended Configuration System Management (C-SPOC) Problem Determination Tool Add Nodes to an HACMP Cluster Configure Resources to Make Highly Available Configure HACMP Resource Groups Verify and Synchronize HACMP Configuration Display HACMP ConfigurationConfigure Service IP Labels/Addresses Configure Application Servers Configure Volume Groups, Logical Volumes and Filesystems Configure Concurrent Volume Groups and Logical Volumes Add a Service IP Label/Address Change/Show a Service IP Label/Address Remove Service IP Label(s)/Address(es) 添加服务IP给weblogic服务使用。如果有另外的oracle服务,则在另外一台机器上继续添加服务IP。IP Label/Address app_svc Network Name net_ether_01 此网络名称根据实际情况而定,并不一定第一个网络就肯定是net_ether_01,所以当出现是net_ether_02时请大家不要惊慌。a) 添加application serverSmitty hacmpInitialization and Standard Configuration Extended Configuration System Management (C-SPOC) Problem Determination Tool Add Nodes to an HACMP Cluster Configure Resources to Make Highly Available Configure HACMP Resource Groups Verify and Synchronize HACMP Configuration Display HACMP ConfigurationConfigure Service IP Labels/Addresses Configure Application Servers Configure Volume Groups, Logical Volumes and Filesystems Configure Concurrent Volume Groups and Logical Volumes* Server Name appsvc* Start Script /etc/appscript/appstart.sh* Stop Script /etc/appscript/appstop.sh用同样方法可以添加oracle服务,如果有此服务的话。3、创建集群的资源组Smitty hacmpInitialization and Standard Configuration Extended Configuration System Management (C-SPOC) Problem Determination Tool Add Nodes to an HACMP Cluster Configure Resources to Make Highly Available Configure HACMP Resource Groups Verify and Synchronize HACMP Configuration Display HACMP ConfigurationAdd a Resource Group Change/Show a Resource Group Remove a Resource Group Change/Show Resources for a Resource Group (standard) 选择资源组类型 Cascading Rotating Concurrent Custom 添加APP资源* Resource Group Name appsvc* Participating Node Names / Default Node Priority app1 app2 注意修改顺序,表明优先级4、配置资源Smitty hacmpInitialization and Standard Configuration Extended Configuration System Management (C-SPOC) Problem Determination Tool Add Nodes to an HACMP Cluster Configure Resources to Make Highly Available Configure HACMP Resource Groups Verify and Synchronize HACMP Configuration Display HACMP ConfigurationAdd a Resource Group Change/Show a Resource Group Remove a Resource Group Change/Show Resources for a Resource Group (standard)选择appsvcResource Group Name dbrg apprgParticipating Node Names (Default Node Priority) db01 db02 db02 db01Service IP Labels/Addresses db_svc app_svc Volume Groups datavg (dbvg) (appvg) Filesystems (empty is ALL for VGs specified) Application Servers appsvc5、创建串口通信设备# smitty hacmp Extended Configuration Extended Topology Configuration Configure HACMP Networks Configure HACMP Communication Interfaces/Devices Add Communication Interfaces/Device Add Pre-defined Communication Interfaces and Devices Communication Devices * Device Name rs232_nodeA * Network Type rs232 * Network Name net_rs232_01 * Device Path /dev/tty0 * Node Name NodeA + 以同样方法创建另一个串口通信设备 * Device Name rs232_nodeB * Network Type rs232 * Network Name net_rs232_01 * Device Path /dev/tty0 * Node Name NodeB6、群集 #smitty hacmp 同步Initialization and Standard Configuration Extended Configuration System Management (C-SPOC) Problem Determination Tools Discover HACMP-related Information from Configured Nodes Extended Topology Configuration Extended Resource Configuration Extended Cluster Service Settings Extended Event Configuration Extended Performance Tuning Parameters Configuration Security and Users Configuration Snapshot Configuration Export Definition File for Online Planning Worksheets Extended Verification and SynchronizationHACMP Cluster Test Tool Entry Fields* Verify, Synchronize or Both Both +* Automatically correct errors

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论