Command Usage: samadmin v8_1_5 samadmin autodest load mapfile
|  |
This command is deprecated (no longer actively maintained).
Use at your own risk.
Command Description:
Load a new mapfile.
When you load the new mapfile, any new entries will be verified and synched
before the records are uploaded. If, for some reason, the autodest script
cannot make reality match the new mapfile, it will not be uploaded to the
database.
Items to Note::
1. CHANGE: you must be a valid sam shifter to run this account.
2. You must run this command from a node which has mounted /pnfs space.
3. The --nocommit option may be used for testing; this will turn off the
'commit' flag when you upload to the database. In essence, you will have
performed a synch, and made sure that the information could be uploaded,
without actually doing the database upload.
Usage:
samadmin autodest load mapfile <--requiredOptions> [--options] [-flags]
Where:
--requiredOptions:
--mapfile=<value>
--options:
--nocommit # do not commit changes
--connect=<value> # oracle username/password for connecting to this database
--corbaCallTimeout=<value> # time in seconds for CORBA method calls to return before timing out (default: 0; zero implies no timeout)
--retryInterval=<value> # retry interval base in seconds; will multiply this base times retryCount (default: 5)
--retryJitter=<value> # retry jitter, random jitter added to base retry interval times retryCount (default: 5)
--retryMaxCount=<value> # number of times to retry CORBA calls for retriable exceptions (default: 25; zero implies no retries)
-flags:
-c # automatically close all servants after each method call
-d # debug mode
-s # retrySilently mode (do not issue messages to stderr on proxy retries)
-t # time-it mode (print additional info on timings)
-v # verbose mode
Synonymous Options:
--synch=<value> # synonym for --verify=<value>
--verify=<value> # synonym for --verify=<value>
Required Data Types:
connect : string
corbaCallTimeout : int
mapfile : string
retryInterval : int
retryJitter : int
retryMaxCount : int
You may omit "-c" if the $SAM_PYAPI_AUTO_CLOSE_SERVANTS environmental variable is set.
You may omit "--connect=<value>" if the $SAM_ORACLE_CONNECT environmental variable is set.
You may omit "--corbaCallTimeout=<value>" if the $SAM_PYAPI_CORBA_CALL_TIMEOUT environmental variable is set.
You may omit "--retryInterval=<value>" if the $SAM_PYAPI_RETRY_INTERVAL environmental variable is set.
You may omit "--retryJitter=<value>" if the $SAM_PYAPI_RETRY_JITTER environmental variable is set.
You may omit "--retryMaxCount=<value>" if the $SAM_PYAPI_RETRY_MAX_COUNT environmental variable is set.
You may omit "-s" if the $SAM_PYAPI_RETRY_SILENTLY environmental variable is set.
UNIX ExitStatus:
Success : 0
Unhandled exceptions : 127
See Also: