EasyManuals Logo
Home>EMC>Server>Celerra

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 #498 background imageLoading...
Page #498 background image
498
Celerra Network Server Command Reference Manual
Using Celerra Command Scripts
Celerra scripting
guidelines
The following table lists guidelines to keep in mind when creating
Celerra command scripts.
Table 1 Scripting guidelines
Issue Action
Scheduling NAS Database Backups:
The Celerra Network Server backs up the NAS database that stores specific configuration
information required for each Data Mover every hour, at one minute after the hour. During part of
the backup, the database is locked, and some commands that rely on the database might not
have access. EMC recommends that command scripts avoid starting at one minute after the hour.
Note that scripts with complex commands that run for an extended period may overlap the backup
period.
The duration of the backup may vary. Use the following Linux command to check the state of the
backup process prior to executing scripts: ps -ef | grep nasdb_backup. If a lock condition occurs,
wait a few minutes and retry.
Replication:
If you are using the Celerra Replicator restartable checkpoint feature to protect from out-of-sync
issues, please be aware that the system uses a CRON job to determine if a restartable checkpoint
needs to be refreshed at 25 minutes after the hour. This process may generate a checkpoint
refresh, depending on the state of the replication session. During a checkpoint refresh, the
database is locked. If another operation requires a conflicting lock, it receives an "unable to
acquire locks" error. If this occurs, wait a few minutes and retry.
In version 5.4, the checkpoint refresh process is sequential and may impact performance. Version
5.5 supports concurrent checkpoint refreshes, which are less resource-intensive.
Command sequencing Some commands must lock the database in order to execute. If multiple user-entered commands
or scripts are active at the same time, some of these commands may lock the database and
prevent other commands from executing. To avoid this, you should sequence commands
whenever possible.
Sleep statements Some processes within a script can take time to complete. Use proper timing and adequate sleep
statements to prevent timing-related issues.
Pipe and grep Piping script outputs through grep is a helpful tool to check the status of the script. Use periodic
checks to grep for file or database locked messages, timeouts, resource unavailable warnings,
and other failure or success messages, and use this information to check status, pause the script,
or halt it. Detailed information about error messages can be found in the Error Messages Guide.
Return code check All commands return a UNIX-style return code (for example: 0 for success or 1 for failure) or a
text-based status code (for example, done) which can be used to help determine if the command
completed or if there was an error or a conflict with the NAS database backup, or other commands
being run. If a lock condition occurs, wait a few minutes and retry. If you create and run scripts, be
sure to incorporate return code checks and verify for proper return codes from individual
operations.

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