Blog Aggregator - Amardeep Sidhu

  • Tags

  • Archives

  • Meta

  •  

Archive for March 2nd, 2008

02 Mar

Add SAN disks on RHEL without reboot

Add SAN disks(LUN) on Red Hat Enterprise Linux without reboot

On HP Proliant or HP blade server running Red Hat Enterprise Linux 4 (AS/ES) SAN disks or newly created LUN can be added on the fly without doing Linux reboot. Since HP proliant uses Qlogic HBA make sure you have latest Qlogic driver installed on your Red Hat enterprise Linux server.

This method only works for Linux kernel 2.6 or higher. To add new SAN disk or newly created LUN in

Red Hat Enterprise Linux run following commands:

1. Rescan your qlogic HBA’s:

#echo “scsi-qlascan” > /proc/scsi/<driver-name>/<adapter-id>

(qlogic driver will re-scan)Where <driver-name> can be either one: qla2100/qla2200/qla2300 and <adapter-id>

is the instance number of the HBA.

2. Perform scsi mid layer rescan :

Once that has been done, user then can force the scsi mid layer to do its own scan and build the device table entry for the new device:

# echo “scsi add-single-device 0 1 2 3″ >/proc/scsi/scsi

The scsi mid layer will perfume re-scan on “0 1 2 3″ .Replace these numbers depending upon your Linux server “Host Channel Id Lun“. The scanning has to be done inthe above mentioned order.

Check into “dmesg | less” and search for the information about “Host Channel Id Lun”.

echo “scsi-qlascan” > /proc/scsi/qla2200/1

echo “scsi-qlascan” > /proc/scsi/qla2200/2

echo “scsi add-single-device 1 0 0 6″ >/proc/scsi/scsi

Shortcut: Linux san disks

02 Mar

External Tools for Oracle Data Bulk Unloading

Jonah H Harris has provided a good list of external data unloading tools that people use with Oracle. It is worth a gander at:
Oracle Data Unloading Tools
I first heard about Jonah’s blog via OakTable Network email from Tanel Poder. I’ve been reading Jonah’s blog and it looks like good stuff so far.
[…]

© 2008 Blog Aggregator - Amardeep Sidhu | Entries (RSS) and Comments (RSS)

Powered by Wordpress, design by Web4 Sudoku, based on Pinkline by GPS Gazette