Establish RAC in AIX (1) detection system environment, aixrac
Establish a series of RAC instances under AIX
Environment
Node |
Node 1 |
Node 2 |
Small Machine Model |
IBM p-series 630 |
IBM p-series 630 |
Host Name |
AIX203 |
AIX204 |
Vswitch |
SAN optical fiber switch |
Storage |
SAN T3 Storage |
Topology
Construction method:
Method 1 |
Method 2 |
1. OS: aix 5300-08 |
1. OS: aix 5300-08 |
2. shared storage: concurrent vg --- HACMP manage disks and send volume groups |
2. shared storage: RAW (bare device) --- ASM Management |
3. Install CRS |
3. Install CRS |
4. Install ORACLE |
4. Install ORACLE |
Follow these steps:
The outline process is as follows:
Part 1: Host Configuration
I. Detection System Environment
Ii. Network Configuration
3. users and groups
Iv. Network Parameter Adjustment
V. Time Synchronization
Vi. Volume Group
Part 2: install and configure hacmp
VII. install and configure hacmp
Part 3: Install CRS
8. Install CRS
Part 4: Installing oracle software
9. Install oracle
Part 5: Configure monitoring and create an oracle database
10. Set up a listener
11. dbca database creation
12. Verification
Start text:
Constructing RAC in AIX (1) Detection System Environment
Prerequisites for establishing rac environment: ping the device
Because the experiment environment is wireless connection, occasional signal Instability occurs during the process. To avoid this situation, ping the device continuously under win:
>Ping 192.168.8.203-t
>Ping 192.168.8.204-t
>Ping 192.168.8.126-t
Ping Public Network Card IP addresses from two nodes: (refer to network configuration)
[05:50:26 root @ aix203/] #Ping 192.168.8.204
[05:00:23 root @ aix204/] #Ping 192.168.8.203
I. Check the system environment version
[04: 14: 56root @ aix203/] #Oslevel-r
[03: 24: 41root @ aix204/] #Oslevel-r
View the kernel version
[04: 15: 08root @ aix203/] #Bootinfo-K
[03: 26: 07root @ aix204/] #Bootinfo-K
Memory Detection
[07:11:16 root @ aix203/] #Lsattr-El sys0-a realmem
[06:20:35 root @ aix204/] #Lsattr-El sys0-a realmem
Detect rootvg Space
[07:10:39 root @ aix203/] #Lsvg-p rootvg
[06:18:01 root @ aix204/] #Lsvg-p rootvg
[07:11:22 root @ aix203/] #Lsvg rootvg
[06:21:20 root @ aix204/] #Lsvg rootvg
View swap partitions
[04: 21: 08root @ aix203/] #Lsps-
[04: 21: 17root @ aix203/] #Lsps-s
[03: 27: 55root @ aix204/] #Lsps-
[03: 31: 14root @ aix204/] #Lsps-s
// The swap partition is generally twice the memory size. It is applicable to both non-absolute and non-absolute values. For example, aix203 only sets the GB swap partition.
// You can use smit mkps to create swap partitions.
// Note: You must place the swap partition on the root volume.
View File Systems
[04:21:57 root @ aix203/] #Df-m
[03: 31: 45root @ aix204/] #Df-m
// It is best to set up a file system separately to put it under/u01 (partition under the root volume), about 10 GB
// If/u01 is used as the file system separately, the root does not need to expand much space, but if/u01 is not used as the file system separately, the root must have at least 10 Gb space.
// Temporary file/tmp at least MB of free space (usually about 1 GB)
// If the file system usage exceeds 80%, scale up immediately
View required software packages
[04: 27: 39root @ aix203/] #Lslpp-l | grep bos. adt
[04: 08: 59root @ aix204/] #Lslpp-l | grep bos. adt
[04: 58: 48root @ aix203/] #Lslpp-l | grep bos. perf
[04: 10: 24root @ aix204/] #Lslpp-l | grep bos. perf
[05: 01: 13root @ aix203/] #Lslpp-l | grep rsct
[04: 10: 31root @ aix204/] #Lslpp-l | grep rsct
[05: 01: 23root @ aix203/] #Lslpp-l | grep dt
[04: 11: 17root @ aix204/] #Lslpp-l | grep dt
[05: 03: 11root @ aix203/] #Lslpp-l | grep xlC
[04: 12: 52root @ aix204/] #Lslpp-l | grep xlC
View patch package installation
[05: 04: 01root @ aix203/] #Instfix-I-k "IY58143 IY59386 IY60930 IY66513"
[04: 13: 55root @ aix204/] #Instfix-I-k "IY58143 IY59386 IY60930IY66513"
View bos. clvm. enh Software
// Install bos. clvm * is used for vg concurrency. concurrent vg is built and managed by the cluster software HACMP and the volume group (underlying disk management) is released ), CRS concurrency management, such as vip and instance concurrency management.
// If the bos. clvm. enh software is not installed, run the smit installp command to install it (find the installation package on the disk)
[23: 52: 04root @ aix203/] #Lslpp-L bos. clvm. enh
[23: 52: 06root @ aix203/] #Lslpp-l | grep clvm
[23: 45: 57root @ aix204/] #Lslpp-L bos. clvm. enh
[23: 52: 10root @ aix204/] #Lslpp-l | grep clvm
Adjust Kernel Parameters
[04: 20: 53root @ aix204/] #Smit system
[05: 12: 05root @ aix203/] #Smit system
[05: 05: 09root @ aix203/] #Smit chaio
[04: 15: 03root @ aix204/] #Smit chaio
// Enable asynchronous IO
**************************************** Unfinished ************************************** *******
**************************************** *******Statement************************************************
Original works, from "Deep Blue blog" blog, welcome to reprint, reprint please be sure to indicate the source (http://blog.csdn.net/huangyanlong ).
Please leave a message if the statement is incorrect. Thank you very much.
Reminder: Click the directory to view the directory.
*****************************************************************************************************
How can I configure a shared storage device for two aix servers when setting up an oracle rac environment? What can this shared storage device be?
Shared storage is a storage that can be accessed by two hosts. It generally refers to a disk array.
The AIX system cannot be started. aix rac helps
The configuration of another machine should be cloned directly after the machine goes on.
Clone both hdisk0 and hdisk1. If HA exists, re-adjust the HA.