Showing posts with label Storage. Show all posts
Showing posts with label Storage. Show all posts

Friday, March 6, 2009

Configure ISCSI storage with RHEL5

In iSCSI (block level protocol on IP) parlance, the device where data is stored is called the target. This is usually a SAN or NAS device. The program or device on the server that handles communication with the iSCSI target is called the initiator. Red Hat ships a software-based initiator with RHEL.

1. Install iscsi-initiator-utils package.
# yum install iscsi-initiator-utils

2. Configure iSCSI by editing /etc/iscsi/iscsid.conf

node.session.auth.username = My_ISCSI_USR_NAME
node.session.auth.password = MyPassword
discovery.sendtargets.auth.username = My_ISCSI_USR_NAME
discovery.sendtargets.auth.password = MyPassword

3. Start iscsi service
# /etc/init.d/iscsi start

4. Discover Target storage (suppose with IP address 192.168.0.10)
# iscsiadm -m discovery -t sendtargets -p 192.168.0.10
#/etc/init.d/iscsi restart

5. Now new device should be available to system. do below
# fdisk -l

6. Partition Disk
#fdisk /dev/sdd

7. Create file system.
# mkfs.ext3 /dev/sdd1

8. Modify /etc/fstab for auto mounting of file system
/dev/sdd1 /mnt/iscsi ext3 _netdev 0 0

Tuesday, October 21, 2008

Reverse migration in BlueArc NAS storage

In BlueArc storage migration does not have parameters to limit migration based on size, which some times causes secondary storage to be so full that even a file residing there can not be opened. In that case a reverse migration is required.

reverse-migrate --file-system --pattern *.* /dir1/dir2/dir3/rspa.*

Thursday, October 2, 2008

How to Manually Fail a Drive in BlueArc NAS storage

Manually failing a drive is done through the use of SANtricity. SANtricity is started in Storage Management > Storage Utilities > Launch SANtricity. You will be prompted
twice for login/password combos. To enter the second login/password combo you need to
enter the login and then hit the “Enter” key to provide the password. When typing the
password, nothing will display on the screen. Hit the “Enter” key again to have the
login/password combo accepted. This will provide access to the storage enclosure using
SANtricity.
From alert message identify which enclosure, which tray and which disk in tray has to be failed.
From the menu select Advanced -> Recovery -> Fail Drive. Type “yes” to confirm the
manual fail.

Saturday, July 28, 2007

Configuring an Emulex HBA

1. Install the SUN StorEdge SAN 4.4.x pkg

2. Reboot the system.

3. Check the configuration before SAN configuration.
# cfgadm -o show_FCP_dev -al

4. Configure SAN
# cfgadm -c configure c3

5. Verify configuration
# cfgadm -al

Verify that "/etc/cfg/fp/fabric_WWN_map" contains all fabric devices required.

Friday, July 27, 2007

How to configure new EMC lun

1. If lun addresses are NOT in /kernel/drv/sd.conf:
- add new lun addresses at the proper target
- Do touch /reconfigure
- Do a reboot

2. If lun addresses were already in sd.conf:
- devfsadm

3. If using powerpath :
- /etc/powercf -q
- /etc/powermt load
- /etc/powermt config

4. Now run 'format' to put a label on the disks

5. Do 'vxdctl enable' to allow veritas to rescan the devices

6. Use vxdisksetup/vxdiskadd/veritas gui etc. to bring the new disk into
veritas control