Ibm Data Server DB2 Manuel d'utilisateur Page 96

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 298
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 95
82 DB2 Deployment Guide
# -b base_install_path -c image_location
# -f level -f db2lib -f NOTSAMP -f install|update
# -l log_file -t trace_file
#
##############################################################
setopts="${setopts:-+x}"
set ${setopts?}
# clean variables
unset CMDOPTS FOPT
# command-line syntax
syntax()
{
echo "
db2fp_install -N NFSpath -H hostA,hostB,...,hostN
-b base_install_path -c image_location
-f level -f db2lib -f NOTSAMP -f install|update
-l log_file -t trace_file
"
}
# mount nfs onto remote machine
mountnfs()
{
set ${setopts?}
SKIP=0
# make a temporary mount point
${RCMD} mkdir $LOCALNFS
${RCMD} mount -o ro "$BASEHOST":"$NFSPATH" "$LOCALNFS"
rc=$?
# if mount fails, try once more
if [ $rc != 0 ]; then
echo "Mount failed on machine $host. Will try again 2 seconds later."
sleep 2
echo "Trying mount again..."
${RCMD} mount -o ro "$BASEHOST":"$NFSPATH" "$LOCALNFS"
rc=$?
if [ $rc != 0 ]; then
echo "Mount failed twice on machine $host. Will skip it."
SKIP="1"
# remove the temporary mount point
${RCMD} rmdir $LOCALNFS
fi
fi
return $SKIP
}
Vue de la page 95
1 2 ... 91 92 93 94 95 96 97 98 99 100 101 ... 297 298

Commentaires sur ces manuels

Pas de commentaire