Red Hat SATELLITE 5.3.0 RELEASE NOTES Informacje Techniczne Strona 44

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 199
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 43
if [[ $NUM -gt 0 ]]
then
echo "Aliases for this host already exists!"
else
cd /sys/class/fc_host
for f in host*
do
WWN=`cat ${f}/port_name | cut -f 2 -d 'x'`
sacommand --saurl //${MSA_USER}:${MSA_PW}@${MSA_IP} set host-name id ${WWN}
${SHORTHOST}_${f}
done
fi
fi
b) The second script, buildMpathAliases.sh, also called by the storage preparation
script, searches the multipath devices and assembles a portion of the multipath
configuration file that provides aliases for fibre channel devices.
#!/bin/bash
# This script will talk to the specified array and retrieve all existing volume and use
# the name of the volume to create an appropriate multipaths stanza
# developed to work with MSA2000s, unsure if any others would work
# usage: ./buildMpathAliases.sh <storage_array_name>
# 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
#check that an argument was passed
if [ $# -ne 1 ] ; then
echo "usage: buildMpathAliases.sh <storage_array_name>"
exit 1
fi
array=$1
#grab the WWN for all the local disks
for i in `awk '/sd/ {print $4}' /proc/partitions` ; do
echo "`scsi_id -g -u -s /block/$i`" >> /tmp/devs1
done
sort -u /tmp/devs1 > /tmp/devs2
www.redhat.com 44
Przeglądanie stron 43
1 2 ... 39 40 41 42 43 44 45 46 47 48 49 ... 198 199

Komentarze do niniejszej Instrukcji

Brak uwag

Approx Tablettes manuels d'utilisation

La liste de Approx Tablettes produits contient 14 manuels d'utilisation pour les modèles 14. Tous les guides d'utilisation en format pdf peuvent être téléchargés ou consultés en ligne.

Cliquez sur un alphabet ci-dessous pour faire défiler la liste complète des modèles commençant par cette lettre

Modèles Type de document
appTB101S
Fiche technique   Approx Cheesecake Tab XM 16GB 3G Black, 2 pages
APPTB102S
Fiche technique   Approx Cheesecake Tab XL 2 16GB 3G Black, 2 pages
APPTB103S
Fiche technique   Approx Cheesecake XL QUAD 8GB Black, Silver, 2 pages
APPTB103V2
Fiche technique   Approx Cheesecake XL QUAD 8GB Black, Silver, 2 pages
APPTB104B
Fiche technique   Approx Cheesecake 10.1'' XL 8GB 3G Black, 2 pages
APPTB105B
Fiche technique   Approx Cheesecake XL 2 8GB Black, 2 pages
APPTB106B
Fiche technique   Approx Cheesecake XL QUAD 8GB Black, 2 pages
APPTB700B
Fiche technique   Approx Cheesecake LITE 8GB 3G Black, 2 pages
APPTB702
Fiche technique   Approx Cheesecake Lite + 4GB 3G Black, 2 pages
APPTB800S
Fiche technique   Approx Cheesecake Tab XM 8GB 3G Black, 2 pages
Cheesecake Tab 7.0
Guide d'installation        Approx Cheesecake Tab 7.0 8GB Black, 30 pages
KIDS
Guide d'installation    Approx Cheesecake KIDS 8GB Black, Red, 54 pages
Lite 3
Guide d'installation       Approx Cheesecake Lite 3 4GB Black, 72 pages
Tab 7.0 V2
Guide d'installation       Approx Cheesecake Tab 7.0 V2 8GB 3G Black, 48 pages