Red Hat SATELLITE 5.3.0 RELEASE NOTES Technické informace Strana 43

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 199
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 42
sacommand --saurl //${MSA_USER}:${MSA_PW}@${MSA_IP} unmap volume MgmtServices
sacommand --saurl //${MSA_USER}:${MSA_PW}@${MSA_IP} unmap volume GFS2
sacommand --saurl //${MSA_USER}:${MSA_PW}@${MSA_IP} unmap volume RHEVStorage1
#Rescan the SCSI bus to discover newly presented LUNs
/usr/bin/rescan-scsi-bus.sh
#Deploy multipath configuration file preconfigured with recommended
#MSA array settings for optimal performance
/bin/cp /root/distro/resources/multipath.conf.template /etc/multipath.conf
#Build multipath aliases stanza to add to the configuration file
/root/distro/resources/buildMpathAliases.sh ${MSA_IP} >> /etc/multipath.conf
#Reload multipath configuration file
service multipathd reload
#Create the Management services volume group
pvcreate /dev/mapper/MgmtServices_disk
vgcreate MgmtServicesVG /dev/mapper/MgmtServices_disk
#Create the logical volume for the satellite server
lvcreate -n SatVMvol -L 300G MgmtServicesVG
a) The above prep_storage.sh script calls two others. The first, map_fc_aliases.sh,
defines host aliases for the systems World Wide Names for the system's fibre
channel ports on the storage array.
#!/bin/bash
#
# This script will add the WWN of any HBA in the executing host to
# the MSA storage array
# source env vars
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
SHORTHOST=`hostname --short`
if [[ -d /sys/class/fc_host ]]
then
NUM=`sacommand --saurl //${MSA_USER}:${MSA_PW}@${MSA_IP} show hosts | grep $
{SHORTHOST}_ | wc -l`
43 www.redhat.com
Zobrazit stránku 42
1 2 ... 38 39 40 41 42 43 44 45 46 47 48 ... 198 199

Komentáře k této Příručce

Žádné komentáře