EMC Celerra Command Reference Manual page 501

Hide thumbs Also See for Celerra:
Table of Contents

Advertisement

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
EMC has partially changed the layout or format of Celerra internal
database and query
databases. This change can impact the use of awk or grep utilities
facility
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.
501

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Table of Contents

Save PDF