当前位置: 首页 > EMC, Linux, ORACLE > 正文

CREATE ASMLIB DISKS FOR EMC DISKS

Create ASMLIB disks with /etc/init.d/oracleasm command.

You must be logged in as root:

– root: cat /proc/partitions  |grep emcpower

 120    32    1048576 emcpowerc
 120    33    1047383 emcpowerc1
 120    48    1048576 emcpowerd
 120    49    1047383 emcpowerd1
 120    64    1048576 emcpowere
 120    65    1047383 emcpowere1
 120    80    1048576 emcpowerf
 120    81    1047383 emcpowerf1
 120    96    1048576 emcpowerg
 120    97    1047383 emcpowerg1
 120   112  471859200 emcpowerh
 120   113  471849051 emcpowerh1
 120   128  471859200 emcpoweri
 120   129  471849051 emcpoweri1
 120   144  471859200 emcpowerj
 120   145  471849051 emcpowerj1
 120   160  471859200 emcpowerk
 120   161  471849051 emcpowerk1
 120   176  524288000 emcpowerl
 120   177  524277179 emcpowerl1
 120   192  524288000 emcpowerm
 120   193  524277179 emcpowerm1
 120   208  471859200 emcpowern
 120   209  471849051 emcpowern1
 120   224  471859200 emcpowero
 120   225  471849051 emcpowero1
 – root: cat cr_asmlib_disks.txt
/etc/init.d/oracleasm createdisk VISC_PV101_DISK1 /dev/emcpowerc1
/etc/init.d/oracleasm createdisk VISC_PV101_DISK2 /dev/emcpowerd1
/etc/init.d/oracleasm createdisk VISC_PV101_DISK3 /dev/emcpowere1
/etc/init.d/oracleasm createdisk VISC_PV101_DISK4 /dev/emcpowerf1
/etc/init.d/oracleasm createdisk VISC_PV101_DISK5 /dev/emcpowerg1
 – root: ksh cr_asmlib_disks.txt
Marking disk “VISC_PV101_DISK1” as an ASM disk: [  OK  ]
Marking disk “VISC_PV101_DISK2” as an ASM disk: [  OK  ]
Marking disk “VISC_PV101_DISK3” as an ASM disk: [  OK  ]
Marking disk “VISC_PV101_DISK4” as an ASM disk: [  OK  ]
Marking disk “VISC_PV101_DISK5” as an ASM disk: [  OK  ]
Next, you need to scan the disks on the remaining RAC nodes:

– root: /etc/init.d/oracleasm scandisks
Scanning the system for Oracle ASMLib disks:

You can verify the the disks on the other RAC nodes with the listdisks option:

– root: /etc/init.d/oracleasm listdisks
TRAX_PV101_DISK1
TRAX_PV101_DISK2
TRAX_PV101_DISK3
TRAX_PV101_DISK4
TRAX_PV101_DISK5

本文固定链接: http://t.yjsec.com/index.php/2018/03/02/405/ | 下一站

该日志由 admin 于2018年03月02日发表在 EMC, Linux, ORACLE 分类下, 你可以发表评论,并在保留原文地址及作者的情况下引用到你的网站或博客。
原创文章转载请注明: CREATE ASMLIB DISKS FOR EMC DISKS | 下一站

CREATE ASMLIB DISKS FOR EMC DISKS:等您坐沙发呢!

发表评论

快捷键:Ctrl+Enter