EasyManuals Logo

EMC Celerra User Manual

EMC Celerra
522 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #499 background imageLoading...
Page #499 background image
499
Using Celerra Command Scripts
Scripting examples The RECOVERABLE variable contains the following errors to retry
on:
â—† Unable to acquire lock
â—† Resource temporarily unavailable
â—† Unable to connect to host
â—† Socket: All ports in use
â—† Database resource vanished
â—† Connection timed out
â—† NAS_DB locked object is stale
Following is an example of what the RECOVERABLE variable looks
like:
RECOVERABLE="unable to acquire lock|Resource
temporarily unavailable|unable to connect to
host|socket: All ports in use|database resource
vanished|Connection timed out|NAS_DB locked object is
stale".
The res variable contains the command output.
#!/bin/sh
########################################################
# File: nas_cmdrcvr.sh
# Created by: NAS Engineering
# Date: Thursday, May 25, 2006
# Version: 1.0
# Notes:
# 1) script will retry commands for specified period of
time
#2) script will log messages to file only if there's
available disk space
########################################################
NAS_DB=/nas
export NAS_DB
PATH=$PATH:$NAS_DB/bin:$NAS_DB/sbin:/usr/sbin:.
export PATH
RETRIES=60
SLEEPTIME=30
LOGDIR="/home/nasadmin"
LOGFILE="$0.log"
LOGLAST="$0.last"
DISKFULL=98
RECOVERABLE="Resource temporarily unavailable|\
unable to acquire lock|\

Table of Contents

Other manuals for EMC Celerra

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the EMC Celerra and is the answer not in the manual?

EMC Celerra Specifications

General IconGeneral
BrandEMC
ModelCelerra
CategoryServer
LanguageEnglish

Related product manuals