[Original]zero downtime using Goldengate for Oracle 12C Upgrade Series third: Asmlib configuration

Source: Internet
Author: User
Tags dba

1. All nodes as Root

RPM-IVH oracleasmlib-2.0.4-1.el6.x86_64.rpm

Rpm-qa *asm*kmod-oracleasm-2.0.8-13.0.1.el6_8.x86_64oracleasm-support-2.1.8-1.el6.x86_ 64oracleasmlib-2.0.4-1.el6.x86_64

Rpm-qa cvu*
Cvuqdisk-1.0.9-1.x86_64

2. After loading the required RPM, you can start configuring Asmlib.

Configure Asmlib by running the following on all nodes:

Sudo/etc/init.d/oracleasm Configure

Default user to own the driver interface []: Oracle

Default Group to own the driver interface []: DBA

Start Oracle ASM Library driver on Boot (y/n) [n]: Y

Scan for Oracle ASM disks on Boot (y/n) [y]: Y

Writing Oracle ASM Library driver Configuration:done

Initializing the Oracle asmlib driver: [OK]

Scanning the system for Oracle asmlib disks: [OK]

3.Modify ASM config file (root) all nodes (Alredy do by Linux team) – Validate this.

[Email protected] ~]$ cat/etc/sysconfig/oracleasm-_dev_oracleasm

Oracleasm_enabled=true

Oracleasm_uid=oracle

Oracleasm_gid=dba

Oracleasm_scanboot=true

Oracleasm_scanorder= "DM"

Oracleasm_scanexclude= "SD"

Oracleasm_use_logical_block_size=false

4. Restart the Asmlib service

Sudo/etc/init.d/oracleasm stop

Sudo/etc/init.d/oracleasm start

5.create Disk:

sudo fdisk-l|grep-i mapper|grep-i GB
disk/dev/mapper/mpathl:12.9 GB, 12885688320 bytes
disk/dev/mapper/mpathn:12.9 GB, 12885688320 bytes
disk/dev/mapper/mpathm:12.9 GB, 12885688320 bytes
disk/dev/mapper/mpathe:274.9 GB, 274879610880 bytes
disk/dev/mapper/mpathj:21.5 GB, 21475491840 bytes
disk/dev/mapper/mpathf:274.9 GB, 274879610880 bytes
disk/dev/mapper/mpathc:107.4 GB, 107375493120 bytes
disk/dev/mapper/mpathk:21.5 GB, 21475491840 bytes
disk/dev/mapper/mpathg:274.9 GB, 274879610880 bytes
disk/dev/mapper/mpathi:274.9 GB, 274879610880 bytes
disk/dev/mapper/mpathd:214.7 GB, 214749020160 bytes
disk/dev/mapper/mpathh:274.9 GB, 274879610880 bytes
disk/dev/mapper/mpatha:85.9 GB, 85900001280 bytes

Use the Asmlib Createdisk to build a candidate disk that can be used by ASM

Sudo/usr/sbin/oracleasm Createdisk OCR_VTE01/DEV/MAPPER/MPATHL
Sudo/usr/sbin/oracleasm Createdisk Ocr_vte02/dev/mapper/mpathn
Sudo/usr/sbin/oracleasm Createdisk Ocr_vte03/dev/mapper/mpathm

Sudo/usr/sbin/oracleasm Createdisk dsk01/dev/mapper/mpathe
Sudo/usr/sbin/oracleasm Createdisk DSK02/DEV/MAPPER/MPATHF
Sudo/usr/sbin/oracleasm Createdisk DSK03/DEV/MAPPER/MPATHG
Sudo/usr/sbin/oracleasm Createdisk Dsk04/dev/mapper/mpathh
Sudo/usr/sbin/oracleasm Createdisk Dsk05/dev/mapper/mpathi
Sudo/usr/sbin/oracleasm Createdisk DSK06/DEV/MAPPER/MPATHJ
Sudo/usr/sbin/oracleasm Createdisk DSK07/DEV/MAPPER/MPATHK

Sudo/usr/sbin/oracleasm Listdisks

Sudo/usr/sbin/oracleasm-discover

Run the below on other nodes:

Sudo/usr/sbin/oracleasm Scandisks

Sudo/usr/sbin/oracleasm Listdisks

Sudo/usr/sbin/oracleasm-discover

About the pre-preparatory work to do here is similar, next time is to start the cluster installation.

This section is mainly about the installation configuration of the Asmlib and the use of the disks needed to make the disks available to ASM.

[Original]zero downtime using Goldengate for Oracle 12C Upgrade Series third: Asmlib configuration

Related Article

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.