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 #501 background imageLoading...
Page #501 background image
501
Using Celerra Command Scripts
LOGMSG="Command ($CMD) failed with ($RES)...exiting
(retry count of $RETRIES exceeded)"
nas_log
exit 1
fi
else
# command was either successful or failed for an unknown
reason
LOGMSG="Command ($CMD) successful with ($RES)"
nas_log
retry_count=$RETRIES
exit 0
fi
#increment counter for retries
retry_count=`expr $retry_count + 1`
done
}
#
# main
#
CMD="nas_volume -d mtv1"
nas_cmd
Using the NAS
database and query
facility
EMC has partially changed the layout or format of Celerra internal
databases. This change can impact the use of awk or grep utilities
when used in scripts that assume specific positions of fields in
databases.
To enable searching of the NAS database, Celerra has developed a
new query subsystem that appears as a hidden option on some of the
nas_commands. This query subsystem enables you to specify the
information you are interested in, allows you to format the output,
and is independent of the database format.
CAUTION
!
Do not use grep and awk to scan the database files. Database
positions may change and substrings may return false matches for
database objects.

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