Red Hat Enterprise e IBM System Storage DS4000 - Conexão e Gerência

Posted by kairo on Fri 04 April 2008

Este documento tem como objetivo mostar os passos para conexão do Red Hat Enterprise Linux ao DS4000 e como gerenciar as LUNs (discos lógicos alocados).

RDAC: Conexão do Storage System IBM DS4000

1. Instalar RDAC

a. Baixar IBM DS4000 Storage ManagerLinux RDAC
http://www-304.ibm.com/systems/support/storage/disk/ds4800/stormgr1.html

b. Copiar para o /usr/src

# mv rdac-LINUX-09.02.B5.15-source.tar.gz /usr/src

c. acesse o diretório /usr/src

# cd /usr/src

d. descompactar o arquivo

# tar xvzf rdac-LINUX-09.02.B5.15-source.tar.gz

e. acessar o diretório descompactado

# cd linuxrdac-09.02.B5.15

f. compilar o rdac

# make clean # make # make install

g. confirir o menu.lst do Grub

# more /boot/grub/menu.lst

Tem de ter uma entrada assim para o seu Kernel:

title Red Hat Enterprise Linux ES (2.6.9-67.0.4.ELsmp + RDAC) root (hd0,0) kernel /vmlinuz-2.6.9-67.0.4.ELsmp ro root=/dev/rootvg/rootlv initrd /mpp-2.6.9-67.0.4.ELsmp.img

2. Reconhecendo LUNs com o rdac

a. Fazer scan de novas LUNs (discos)

# mppBusRescan

Obs: Geralmente te de rodar 2 ou 3 vezes... delay do Storage para o Linux

b. Fazer update do initrd mpp

# mppUpdate

SMDevices: Gerenciamento das LUNs (DS4000) no Linux

1. Instalar o SMdevices (ele lista todas as LUNs reconhecidas)

a. Fazer download do IBM DS4000 Storage Manager for Linux
http://www-304.ibm.com/systems/support/storage/disk/ds4800/stormgr1.html

b. descompacte o .tgz

# tar xvzf sm10.10_linux_smia-10.10.xx.06.tgz

c. instale apenas o SMruntime-LINUX e SMutil-Linux

# rpm -Uvh SMruntime*.rpm SMruntime*.rpm

2. Utilizando o SMdevices para listar Luns

# SMdevices IBM System Storage DS4000/FAStT Storage Manager Devices, Version 10.00.A5.02 Built Tue Nov 06 14:32:16 CST 2007 (C) Copyright International Business Machines Corporation, 2003-2007 Licensed Material - Program Property of IBM. All rights reserved. <n/a> (/dev/sg1) [Storage Subsystem DS4300, Logical Drive Access, LUN 12, Logical Drive ID <600a0b8000199a760000000000000000>] /dev/sdi (/dev/sg10) [Storage Subsystem DS4300, Logical Drive 60, LUN 8, Logical Drive ID <600a0b8000199a760000182a46c4b6e6>, Preferred Path (Controller-A): In Use] /dev/sdj (/dev/sg11) [Storage Subsystem DS4300, Logical Drive 61, LUN 9, Logical Drive ID <600a0b8000198a620000422346c4bb53>, Preferred Path (Controller-B): In Use] /dev/sdk (/dev/sg12) [Storage Subsystem DS4300, Logical Drive 66, LUN 10, Logical Drive ID <600a0b8000199a760000183146c4cb28>, Preferred Path (Controller-A): In Use] /dev/sdl (/dev/sg13) [Storage Subsystem DS4300, Logical Drive 67, LUN 11, Logical Drive ID <600a0b8000198a620000422746c4ced5>, Preferred Path (Controller-B): In Use]


Comments !