Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the installation considerations of Oracle 11g RAC in Redhat 6

2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

Xiaobian to share with you Redhat 6 Oracle 11g RAC installation precautions, I believe most people do not know how, so share this article for your reference, I hope you read this article after a lot of harvest, let us go to understand it!

SWAP must be>=16G, otherwise an error will be reported in the pre-check. change mode

mkdir -p /home/swapdd if=/dev/zero of=/home/swap/swapfile bs=1024 count=16777216mkswap /home/swap/swapfileswapon /home/swap/swapfile

edit the/etc/fstab

/home/swap/swapfile swap swap defaults 0 0

2. Set the host name/etc/hosts, the name should not be too long, it is best../ dm-3

datalunp2 lrwxrwxrwx. 1 root root 7 Dec 21 21:08 /dev/mapper/datalunp2 -> ../ dm-4

datalunp3 lrwxrwxrwx. 1 root root 7 Dec 21 21:08 /dev/mapper/datalunp3 -> ../ dm-5

undefined99-oracle-asmdevices.rules file, undefined

undefined

KERNEL=="dm-3",ENV{DM_UUID}=="part1-mpath-36001438009b064ce0000500000160000",OWNER="grid",GROUP="asmadmin",MODE="0660"

KERNEL=="dm-4",ENV{DM_UUID}=="part2-mpath-36001438009b064ce0000500000160000",OWNER="grid",GROUP="asmadmin",MODE="0660"

KERNEL=="dm-5",ENV{DM_UUID}=="part3-mpath-36001438009b064ce0000500000160000",OWNER="grid",GROUP="asmadmin",MODE="0660"

undefined

undefined

undefined

undefined

undefined

undefined

2)emcpower

Because emcpower has configured multipath, you can directly give permissions, defined as follows:

fdisk -l Look at the defined partitions and create the file 50-udev.rules

[root@pos1 ~]# cat /etc/udev/rules.d/50-udev.rules

SUBSYSTEM=="block", KERNEL=="emcpowera", GROUP="asmadmin", OWNER="grid", MODE="0660"

SUBSYSTEM=="block", KERNEL=="emcpowerb", GROUP="asmadmin", OWNER="grid", MODE="0660"

SUBSYSTEM=="block", KERNEL=="emcpowerc", GROUP="asmadmin", OWNER="grid", MODE="0660"

SUBSYSTEM=="block", KERNEL=="emcpowerd", GROUP="asmadmin", OWNER="grid", MODE="0660"

SUBSYSTEM=="block", KERNEL=="emcpowere", GROUP="asmadmin", OWNER="grid", MODE="0660"

SUBSYSTEM=="block", KERNEL=="emcpowerf", GROUP="asmadmin", OWNER="grid", MODE="0660"

SUBSYSTEM=="block", KERNEL=="emcpowerg", GROUP="asmadmin", OWNER="grid", MODE="0660"

SUBSYSTEM=="block", KERNEL=="emcpowerh", GROUP="asmadmin", OWNER="grid", MODE="0660"

SUBSYSTEM=="block", KERNEL=="emcpoweri", GROUP="asmadmin", OWNER="grid", MODE="0660"

SUBSYSTEM=="block", KERNEL=="emcpowerj", GROUP="asmadmin", OWNER="grid", MODE="0660"

SUBSYSTEM=="block", KERNEL=="emcpowerk", GROUP="asmadmin", OWNER="grid", MODE="0660"

SUBSYSTEM=="block", KERNEL=="emcpowerl", GROUP="asmadmin", OWNER="grid", MODE="0660"

SUBSYSTEM=="block", KERNEL=="emcpowerm", GROUP="asmadmin", OWNER="grid", MODE="0660"

SUBSYSTEM=="block", KERNEL=="emcpowern", GROUP="asmadmin", OWNER="grid", MODE="0660"

Start ude

# start_udev

Starting udev: [OK]

View udev definitions

[root@pos1 ~]# ls -l /dev/emcpower*

brw-rw---- 1 grid asmadmin 120, 0 Jul 23 15:46 /dev/emcpowera

brw-rw---- 1 grid asmadmin 120, 16 Jul 23 15:46 /dev/emcpowerb

brw-rw---- 1 grid asmadmin 120, 32 Jul 23 15:46 /dev/emcpowerc

brw-rw---- 1 grid asmadmin 120, 48 Jul 23 15:46 /dev/emcpowerd

brw-rw---- 1 grid asmadmin 120, 64 Jul 23 15:46 /dev/emcpowere

brw-rw---- 1 grid asmadmin 120, 80 Jul 23 15:46 /dev/emcpowerf

brw-rw---- 1 grid asmadmin 120, 96 Jul 22 20:41 /dev/emcpowerg

brw-rw---- 1 grid asmadmin 120, 112 Jul 23 15:46 /dev/emcpowerh

brw-rw---- 1 grid asmadmin 120, 128 Jul 23 15:46 /dev/emcpoweri

brw-rw---- 1 grid asmadmin 120, 144 Jul 23 15:46 /dev/emcpowerj

brw-rw---- 1 grid asmadmin 120, 160 Jul 23 15:46 /dev/emcpowerk

brw-rw---- 1 grid asmadmin 120, 176 Jul 23 15:46 /dev/emcpowerl

brw-rw---- 1 grid asmadmin 120, 192 Jul 23 15:46 /dev/emcpowerm

brw-rw---- 1 grid asmadmin 120, 208 Jul 23 15:46 /dev/emcpowern

That's OK.

6. Configure Xmanager

Redhat6 configuration Xmanager method is as follows

1)Edit custom.conf file

# vi /etc/gdm/custom.conf

[xdmcp]

Enable=true

2)start GDM

RHEL6: init2 then init5

# init 2

# init 5

7. When installing CRS, if the machine is not configured with DNS or GNS, do not check when selecting GNS.

8. Execute root.sh script

11201 has a bug, the second server execution script will report an error, the solution is as follows:

When Adding daemon to inittab appears while executing root.sh script, execute command immediately below root in another window until execution succeeds

/bin/dd if=/var/tmp/.oracle/npohasd of=/dev/null bs=1024 count=1

(This is the Bug of 11201)

If you want to re-execute root.sh, execute rootas.pl before root.sh

./ app/grid/crs/install/roothas.pl -deconfig -force -verbose

9. After automatic restart, a node cannot be automatically started, and the ohasd process is not started.

The solution is as follows:

1) Inspection process

#ps -ef | grep d.bin

#ps -ef | grep ohasd

2) Manual start

#/etc/init.d/init.ohasd run

3) Add/etc/inittab

h2:35:respawn:/etc/init.d/init.ohasd run >/dev/null 2>&1

4) Add/etc/rc.d/rc.loacl

The above is "Redhat 6 Oracle 11g RAC installation considerations what" all the content of this article, thank you for reading! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 253

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report