Add nodes to Oracle 10g RAC

Source: Internet
Author: User

The current environment is a dual-node RAC with the version of Oracle 10.2.0.5. The hostname is racnode1, and racnode2 needs to add a new node racnode3.

The OS version is Oracle Linux 5.7 x86_64

Ensure normal operation of RAC

Configure public IP, private IP, and VIP to the/etc/hosts file.

192.168.1.51 racnode1
Racnode1-vip 192.168.1.151
17.01.51 racnode1-priv

192.168.1.52 racnode2
Racnode2-vip 192.168.1.152
17.01.52 racnode2-priv

192.168.1.53 racnode3
The 192.168.1.153 racnode3-vip
17.01.53 racnode3-priv

Install the relevant rpm package and configure system kernel parameters. Here I use the Oracle-validated package provided by oracle Linux5 for installation and configuration.

[Root @ racnode3 ~] # Yum-y install oracle-validated
Loaded plugins: rhnplugin, security
This system is not registered with ULN.
ULN support will be disabled.
Setting up Install Process
Package oracle-validated-1.1.0-15.el5.x86_64 already installed and latest version

Synchronize the time of each node. Here I use the NTP service.

[Root @ racnode3 ~] # Crontab-l
*/5 */usr/sbin/ntpdate 0.asia.pool.ntp.org>/dev/null 2> & 1

Configure shared Disk

[Root @ racnode3 ~] # Cat/etc/udev/rules. d/60-raw.rules
# Enter raw device bindings here.
#
# An example wocould be:
# ACTION = "add", KERNEL = "sda", RUN + = "/bin/raw/dev/raw/raw1% N"
# To bind/dev/raw/raw1 to/dev/sda, or
# ACTION = "add", ENV {MAJOR} = "8", ENV {MINOR} = "1 ", RUN + = "/bin/raw/dev/raw/raw2% M % m"
# To bind/dev/raw/raw2 to the device with major 8, minor 1.
ACTION = "add", KERNEL = "sdb1", RUN + = "/bin/raw/dev/raw/raw1% N"
ACTION = "add", KERNEL = "sdb2", RUN + = "/bin/raw/dev/raw/raw2% N"
ACTION = "add", KERNEL = "sdc1", RUN + = "/bin/raw/dev/raw/raw3% N"
ACTION = "add", KERNEL = "sdc2", RUN + = "/bin/raw/dev/raw/raw4% N"
ACTION = "add", KERNEL = "sdc3", RUN + = "/bin/raw/dev/raw/raw5% N"
ACTION = "add", KERNEL = "raw *", OWNER = "oracle", GROUP = "oinstall", MODE = "0660"
[Root @ racnode3 ~] # Cat/etc/udev/rules. d/99-oracle-asmdevices.rules
KERNEL = "sd *", BUS = "scsi", PROGRAM = "/sbin/scsi_id-g-u-s % p ", RESULT = "SATA_VBOX_HARDDISK_VB5407c582-c0bbcc9c _", NAME = "asm-diskd", OWNER = "oracle", GROUP = "oinstall", MODE = "0660"
KERNEL = "sd *", BUS = "scsi", PROGRAM = "/sbin/scsi_id-g-u-s % p ", RESULT = "SATA_VBOX_HARDDISK_VB2048e338-447949c0 _", NAME = "asm-diske", OWNER = "oracle", GROUP = "oinstall", MODE = "0660"
KERNEL = "sd *", BUS = "scsi", PROGRAM = "/sbin/scsi_id-g-u-s % p ", RESULT = "SATA_VBOX_HARDDISK_VB6d6f72b0-997f769f _", NAME = "asm-diskf", OWNER = "oracle", GROUP = "oinstall", MODE = "0660"
KERNEL = "sd *", BUS = "scsi", PROGRAM = "/sbin/scsi_id-g-u-s % p ", RESULT = "SATA_VBOX_HARDDISK_VB867b3aae-2e3a3f0b _", NAME = "asm-diskg", OWNER = "oracle", GROUP = "oinstall", MODE = "0660"
KERNEL = "sd *", BUS = "scsi", PROGRAM = "/sbin/scsi_id-g-u-s % p ", RESULT = "SATA_VBOX_HARDDISK_VB4dcf4abf-0266b2fc _", NAME = "asm-diskh", OWNER = "oracle", GROUP = "oinstall", MODE = "0660"
[Root @ racnode3 ~] #
[Root @ racnode3 ~] # Start_udev
Starting udev: [OK]
[Root @ racnode3 ~] # Ls-l/dev/raw *
Crw-rw ---- 1 oracle oinstall 162, 1 Dec 24/dev/raw/raw1
Crw-rw ---- 1 oracle oinstall 162, 2 Dec 24/dev/raw/raw2
Crw-rw ---- 1 oracle oinstall 162, 3 Dec 24/dev/raw/raw3
Crw-rw ---- 1 oracle oinstall 162, 4 Dec 24/dev/raw/raw4
Crw-rw ---- 1 oracle oinstall 162, 5 Dec 24/dev/raw/raw5
[Root @ racnode3 ~] # Ls-l/dev/asm-disk *
Brw-rw ---- 1 oracle oinstall 8, 48 Dec 24 14:31/dev/asm-diskd
Brw-rw ---- 1 oracle oinstall 8, 64 Dec 24/dev/asm-diske
Brw-rw ---- 1 oracle oinstall 8, 80 Dec 24/dev/asm-diskf
Brw-rw ---- 1 oracle oinstall 8, 96 Dec 24/dev/asm-diskg
Brw-rw ---- 1 oracle oinstall 8,112 Dec 24/dev/asm-diskh

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • Next Page

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.