AIX under RAC build oracle10g (iii) HACMP installation and configuration

Source: Internet
Author: User

Aix under RAC Construction series

AIX under RAC build oracle10g (iii) HACMP installation and configuration

Environment

Node

Node 1

Node 2

Small machine Model

IBM p-series 630

IBM p-series 630

Host Name

AIX203

AIX204

Switch

SAN Fibre switch

Store

SAN T3 Storage

The outline flow is as follows:

First part: Host configuration

First, the detection system environment

Second, network configuration

Iii. Users and Groups

Four, network parameter adjustment

Five, time synchronization

Six, Volume group


Part II: Installing HACMP and configuring

Vii. hacmp Installation and configuration


Part III: Installation of CRS

VIII. Installation of CRS


Part IV: Installing Oracle Software

Nine, install Oracle


Part V: With monitoring, creating Oracle Database

X. Setting up Monitoring

Xi. DBCA Construction of the library

12. Verification


Continuation of the previous article *********************************************

Address of the previous article

************************************************************************************************
The following start text:


Vii. hacmp Installation and configuration

HACMP responsible for managing shared resources (RACVG volume Group)

Thinking Analysis:

HACMP:VG Concurrent

1

Create cluster

2

Cluster Join node

3

Configure the Network

4

Communication interface between nodes

5

Sync to the rest of node

6

Add Shared resource Group VG (RACVG)

1. Set up Resource Group resource group, configure HA

2. Adding resources to a Resource volume group (VG)

3. Sync to other nodes

4. Start hacmp

5, VG Concurrent (can be viewed to Volume group concurrency)

1. Create cluster

Configuring the first two node volume group requires off processing

[04:15:55 [email protected]/]#Smit hacmp



2. Add node in cluster

Add two nodes: aix203, aix204

[04:42:13 [email protected]/]#Smit hacmp//Add first node




[04:49:57 [email protected]/]#Smit hacmp//Add a second node




3. Configure the Network

Note that all network clip netmask is consistent (for example: 255.255.255.0)

[04:54:57 [email protected]/]#Smit hacmp




4. Add Communication interface

First step: Two nodes add communication interface for Aix203-priv, Aix204-priv

Step Two: Add the network attributes (network attributable is set to private)

[05:01:27 [email protected]/]#Smit hacmp //Add a communication interface for the first node













Add Network Properties

[05:17:33 [email protected]/]#Smit hacmp





5. Synchronization between nodes

(1) Modify the configuration file

Configuration file Description:


[05:27:19 [email protected]/]#vi/usr/sbin/cluster/netmon.cf //Node 1 modify NETMON.CF

Add to:

192.168.8.203

192.168.8.204

192.168.8.243

192.168.8.244

10.10.10.203

10.10.10.204

[04:21:07 [email protected]/]#vi/usr/sbin/cluster/netmon.cf //Node 2 modify NETMON.CF

Add to:

192.168.8.203

192.168.8.204

192.168.8.243

192.168.8.244

10.10.10.203

10.10.10.204

[05:27:37 [email protected]/]#vi/usr/es/sbin/cluster/etc/rhosts //Node 1 modify rhosts

Add to:

192.168.8.203

192.168.8.204

192.168.8.243

192.168.8.244

10.10.10.203

10.10.10.204

[05:31:11 [email protected]/]#vi/usr/es/sbin/cluster/etc/rhosts //Node 2 modify Rhosts

Add to:

192.168.8.203

192.168.8.204

192.168.8.243

192.168.8.244

10.10.10.203

10.10.10.204

"Supplemental": Remote Copy configuration file under Aix

#rcp/usr/sbin/cluster/netmon.cfaix204:/usr/sbin/cluster/netmon.cf

Verifying configuration File Settings

[05:29:55 [email protected]/]#cat/usr/sbin/cluster/netmon.cf

[05:40:12 [email protected]/]#cat/usr/es/sbin/cluster/etc/rhosts

[05:32:56 [email protected]/]#cat/usr/sbin/cluster/netmon.cf

[05:40:40 [email protected]/]#cat/usr/es/sbin/cluster/etc/rhosts


(2) Start hacmp Service

[05:40:28 [email protected]/]#/usr/bin/startsrc-s clcomdes //Start Clcomdes Service

[08:08:42 [email protected]/]#lssrc-a |grep cl

[05:40:47 [email protected]/]#/usr/bin/startsrc-s clcomdes

[08:09:11 [email protected]/]#lssrc-a |grep cl


[08:09:45 [email protected]/]#Smit hacmp



6. Add a resource group

[08:20:48 [email protected]/]#Smit hacmp



Modify the properties of a resource group

[08:29:43 [email protected]/]#Smit hacmp




Do another resource synchronization

[08:34:55 [email protected]/]#Smit hacmp



Start hacmp

[08:37:43 [email protected]/]#Smit hacmp



View HACMP Installation Conditions

After starting the HACMP service, you should have 4 (all nodes) to view the start of CL service, LSPV can view concurrent, LSVG-LRACVG all nodes can view

[08:44:05 [email protected]/]#lssrc-a |grep-i cl

[08:44:44 [email protected]/]#lssrc-a |grep-i cl


Add: Use #startsrc-s service name //Start a service that is not started on Node 1, so that all services on both sides of the node are up

[08:44:19 [email protected]/]#LSPV

[08:44:47 [email protected]/]#LSPV


[08:52:57 [email protected]/]#cat/etc/inittab

View the Startup items that are automatically written to hacmp in the boot entry configuration file


[08:53:26 [email protected]/]#lsvg RACVG


[08:51:[email protected]/]#LSVGRACVG


[08:56:50 [email protected]/]#lsvg-l RACVG


To be continued *********************************************


*********************************************** declaration ***************************************** *******

Original works, from the "Blue Blog" blog, Welcome to reprint, please be sure to indicate the source (Http://blog.csdn.net/huangyanlong).

There is an error in the statement, please leave a message, greatly appreciated.

Reminder: Click on the table of contents, more helpful to your view.

*************************************************************************************************** **






























Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.