Red Hat SATELLITE 5.3.0 RELEASE NOTES Informacje Techniczne Strona 89

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 199
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 88
elif [[ -x /root/resources/varDefs.sh ]] ; then
echo /root/resources/varDefs.sh
source /root/resources/varDefs.sh
elif [[ -x /root/distro/resources/varDefs.sh ]] ; then
echo /root/distro/resources/varDefs.sh
source /root/distro/resources/varDefs.sh
else
echo "didn't find a varDefs.sh file"
fi
#Acquire short hostname
SHORTHOST=`hostname --short`
#Modifying hostname to match name used to define host HBAs at MSA storage array
NODE=`echo $SHORTHOST | awk '{ sub("mgmt","mgmt_node"); print }'`
#Add the HBAs of this host to the MSA storage array
/root/map_fc_aliases.sh
#Present the MgmtServices, quorum, 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 3 host ${f}
done
#Enable the FC switch ports between this host and storage
vcmcommand --vcmurl //${LOGIN}:${VCM_PW}@${VCM_IP} set fc-connection $NODE 1
speed=auto
vcmcommand --vcmurl //${LOGIN}:${VCM_PW}@${VCM_IP} set fc-connection $NODE 2
speed=auto
#Rescan the SCSI bus to discover newly presented LUNs
/usr/bin/rescan-scsi-bus.sh
#Save original multipath configuration file
/bin/mv /etc/multipath.conf /etc/multipath.conf.orig
#Deploy multipath configuration file preconfigured with recommended
#MSA array settings for optimal performance
/bin/cp /root/multipath.conf.template /etc/multipath.conf
/root/buildMpathAliases.sh ${MSA_IP} >> /etc/multipath.conf
#Reload multipath configuration file
service multipathd reload
i) map_fc_aliases.sh – refer to section 6.2.1
89 www.redhat.com
Przeglądanie stron 88
1 2 ... 84 85 86 87 88 89 90 91 92 93 94 ... 198 199

Komentarze do niniejszej Instrukcji

Brak uwag