In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
1. Install rpm
Rpm-ivh kmod-oracleasm-2.0.6.rh2-2.el6.x86_64.rpm oracleasmlib-2.0.4-1.el6.x86_64.rpm oracleasm-support-2.1.8-1.el6.x86_64.rpm
Install cvuqdisk-1.0.9-1.rpm, located in cvuqdisk-1.0.9-1.rpm in the rpm directory after the installation files have been unzipped.
two。 Configure asm
[root@rac1 ~] # / etc/init.d/oracleasm configure
Configuring the Oracle ASM library driver.
This will configure the on-boot properties of the Oracle ASM library
Driver. The following questions will determine whether the driver is
Loaded on boot and what permissions it will have. The current values
Will be shown in brackets ('[]'). Hitting without typing an
Answer will keep that current value. Ctrl-C will abort.
Default user to own the driver interface []: grid
Default group to own the driver interface []: asmadmin
Start Oracle ASM library driver on boot (yzone) [n]: y
Scan for Oracle ASM disks on boot (yzone) [y]: y
Writing Oracle ASM library driver configuration: done
Initializing the Oracle ASMLib driver: [OK]
Scanning the system for Oracle ASMLib disks: [OK]
3. Mark the disk and execute on only one node
[root@rac1] # / usr/sbin/oracleasm createdisk VOL1 / dev/mapper/mpathap1 (/ dev/sdb1)
[root@rac1 ~] # / usr/sbin/oracleasm listdisks
VOL1
4. Other nodes scan disk
[root@rac2 oracle] # / usr/sbin/oracleasm scandisks
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
Instantiating disk "VOL1"
[root@rac2 oracle] # / usr/sbin/oracleasm listdisks
VOL1
5. Special configuration of MPIO
If you use mpio that comes with linux, all nodes need to be modified as follows:
Edit / etc/sysconfig/oracleasm
Change ORACLEASM_SCANORDER= "" to ORACLEASM_SCANORDER= "dm"
Restart the asm service
[root@rac1 etc] # / etc/init.d/oracleasm restart
# / etc/init.d/oracleasm deletedisk VOL1 (for learning, not for installation)
Reactivate disk modprobe-r lpfc
Modprobe lpfc
Format each disk
[root@rac1 ~] # fdisk / dev/sdb
When it's done, let's check it through fdisk-l.
[root@rac1 ~] # fdisk-l
[root@rac1] # / usr/sbin/oracleasm configure-I
Default user to own the driver interface []: grid
Default group to own the driver interface []: asmadmin
Start Oracle ASM library driver on boot (yzone) [n]: y
Scan for Oracle ASM disks on boot (yzone) [y]: y
[root@rac1] # / etc/init.d/oracleasm createdisk VOL1 / dev/sdb1
[root@rac1] # / etc/init.d/oracleasm createdisk VOL2 / dev/sdc1
[root@rac1] # / etc/init.d/oracleasm createdisk VOL3 / dev/sdd1
The following operations are performed on another node, on RAC2
[root@rac2 ~] # oracleasm scandisks
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: 0
*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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.