Red Hat SATELLITE 5.3.0 RELEASE NOTES Informações Técnicas Página 42

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 199
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 41
creates and presents volumes from storage array
configures system to access presented volumes
configures LVM group to be used with management services
#!/bin/bash
#source variables
if [[ -x varDefs.sh ]]
then
source varDefs.sh
elif [[ -x /root/varDefs.sh ]]
then
source /root/varDefs.sh
elif [[ -x /root/resources/varDefs.sh ]]
then
source /root/resources/varDefs.sh
elif [[ -x /root/distro/resources/varDefs.sh ]]
then
source /root/distro/resources/varDefs.sh
else
echo "didn't find a varDefs.sh file"
fi
#Acquire short hostname
SHORTHOST=`hostname --short`
#Add the HBAs of this host to the MSA storage array
/root/distro/resources/map_fc_aliases.sh
# Create storage LUNs for the MgmtServices volume group,
# GFS2 storage of VM config files, and the RHEV-M VM image disk
sacommand --saurl //${MSA_USER}:${MSA_PW}@${MSA_IP} create volume MgmtServices vdisk
VD1 size 1TB lun 1
sacommand --saurl //${MSA_USER}:${MSA_PW}@${MSA_IP} create volume GFS2 vdisk VD3
size 50GB lun 3
sacommand --saurl //${MSA_USER}:${MSA_PW}@${MSA_IP} create volume RHEVStorage1
vdisk VD4 size 1TB lun 4
#Present the MgmtServices and GFS2 storage volumes to each
#HBA in this host
for f in `sacommand --saurl //${MSA_USER}:${MSA_PW}@${MSA_IP} show hosts | grep $
{SHORTHOST}_ | awk '{print $2}'`
do
sacommand --saurl //${MSA_USER}:${MSA_PW}@${MSA_IP} map volume MgmtServices
access rw ports a1,a2 lun 1 host ${f}
sacommand --saurl //${MSA_USER}:${MSA_PW}@${MSA_IP} map volume GFS2 access rw
ports a1,a2 lun 2 host ${f}
done
#Unpresent the same LUNs to all other host known to the array
www.redhat.com 42
Vista de página 41
1 2 ... 37 38 39 40 41 42 43 44 45 46 47 ... 198 199

Comentários a estes Manuais

Sem comentários