Prev | Current Page 567 | Next

Richard Niemiec

"Oracle Database 10g Performance Tuning Tips & Techniques"


On any node in the cluster, mark the disks using the oracleasm createdisk command; use the
oracleasm listdisks command to see the available ASM disks:
[root@oc1 ~]# /etc/init.d/oracleasm createdisk DVOL1 /dev/sdc1
Marking disk "/dev/sdc1" as an ASM disk: [ OK ]
[root@oc1 ~]# /etc/init.d/oracleasm createdisk DVOL2 /dev/sdd1
Marking disk "/dev/sdd1" as an ASM disk: [ OK ]
[root@oc1 ~]# /etc/init.d/oracleasm createdisk RVOL1 /dev/sde1
Marking disk "/dev/sde1" as an ASM disk: [ OK ]
[root@oc1 ~]# /etc/init.d/oracleasm createdisk RVOL2 /dev/sdf1
Marking disk "/dev/sdf1" as an ASM disk: [ OK ]
[root@oc1 ~]# /etc/init.d/oracleasm listdisks
DVOL1
DVOL2
RVOL1
RVOL2
[root@oc1 ~]#
For the remaining nodes in the cluster, you can automatically detect and register the ASM
disks using the ASMLib oracleasm scandisks command:
[root@oc2 ~]# /etc/init.d/oracleasm scandisks
Scanning system for ASM disks: [ OK ]
[root@oc2 ~]# /etc/init.d/oracleasm listdisks
DVOL1
DVOL2
RVOL1
RVOL2
[root@oc2 ~]#
The ASMLib driver automatically scans the available devices for ASM-registered disks when the
oracleasm service starts during system boot.
Here is a short summary of the oracleasm command options:
start, stop, restart Start, stop, or restart the oracleasm service.
enable, disable Enable or disable automatic loading of the oracleasm driver at
system boot.
configure Reconfigure the startup options or oracleasm driver owner.
?– 
?– 
?– 
360 Oracle Database 11g DBA Handbook
createdisk Mark a disk device for use with the oracleasm driver.


Pages:
555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579
pomiary wiatru pity need cash fast with no credit check jarosławiec miedzyzdroje wczasy