Oracle Database Experts

By Charles Kim

April 24th, 2008

Migrate to OracleASM disks from block devices or raw devices

You can see from the output listed below that the ASM diskgroups, DATA and FRA, are composed of disks /dev/hda7 to /dev/hda10.


DISKGROUP       DISK# DISKNAME                 TOTAL_MB      FREE_MB PATH                                HEADER_STATU
--------------- ----- -------------------- ------------ ------------ ----------------------------------- ------------
DATA                0 DATA_0000                   3,914        3,301 /dev/hda6                           MEMBER
                    1 DATA_0001                   3,914        3,294 /dev/hda7                           MEMBER
                    2 DATA_0002                   3,914        3,314 /dev/hda8                           MEMBER
                    3 DATA_0003                   3,914        3,288 /dev/hda9                           MEMBER
***************                            ------------ ------------
sum                                              15,656       13,197

FRA                 0 FRA_0000                    3,914        3,847 /dev/hda10                          MEMBER
***************                            ------------ ------------
sum                                               3,914        3,847

We will demonstrate how to migrate to ASMLIB from block devices.  Since ASM stores disk information in the first 1MB header of each disk, diskgroup information can be re-instantiated retrieving the header information of each disk.

Note:  Before you convert block devices to ASMLIB, you need to make sure that every database is shutdown prior to creating ASM disks using the /etc/init.d/oracleasm command.

 

 

 

April 24th, 2008

Probing for Network Cards using kudzu


[root@v1 sbin]# kudzu --probe --class=network
-
class: NETWORK
bus: PCI
detached: 0
device: eth0
driver: pcnet32
desc: "Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]"
vendorId: 1022
deviceId: 2000
subVendorId: 1022
subDeviceId: 2000
pciType: 1
pcidom:    0
pcibus:  2
pcidev:  3
pcifn:  0
-
class: NETWORK
bus: PCI
detached: 0
device: eth1
driver: pcnet32
desc: "Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]"
vendorId: 1022
deviceId: 2000
subVendorId: 1022
subDeviceId: 2000
pciType: 1
pcidom:    0
pcibus:  2
pcidev:  0
pcifn:  0
|