Description
This command creates a configuration baseline.
Synopsis
[Windows]
snapcreate.exe -q [<Configuration baseline name>] |
[Linux]
snapcreate.sh -q [<Configuration baseline name>] |
Options
Specify a name to be assigned to the configuration baseline that is created. If the configuration baseline name is omitted, a name will be assigned automatically using the following naming rules, based on the date and time when the command was executed.
"snap" + <YYYYMMDDHHMMSS>
Example: snap20120101120000
Return Value
Return value | Meaning |
---|---|
0 | The command has terminated normally. |
Other than 0 | The command has terminated abnormally. |
Command Location
Admin server
[Windows]
[%SWCMDB_INSTALL_PATH% *]\FJSVcmdbm\bin *: The installation directory for the CMDB included with Systemwalker Software Configuration Manager is set to the "%SWCMDB_INSTALL_PATH%" environment variable. |
[Linux]
/opt/FJSVcmdbm/bin |
Privilege Required/Execution Environment
[Windows]
Administrator privileges are required. When using Windows Server 2008 or Windows Server 2012, run as an administrator.
This command can be executed on the admin server.
[Linux]
System administrator (superuser) privileges are required.
This command can be executed on the admin server.
Cautions
There is no upper limit to the number of generations of configuration baselines that can be created. The infrastructure administrator should delete generations of configuration baselines that are no longer required.
Refer to "1.4.11 snapdelete (Configuration Baseline Deletion Command)" for information on how to delete configuration baselines.
Example
Creating a configuration baseline with the name "SNAP20120101"
[Windows]
snapcreate.exe -q SNAP20120101 |
[Linux]
snapcreate.sh -q SNAP20120101 |