Configuration commands
Use configuration commands to manage both management and integration configuration for the Management server.
| Command name | Action | Syntax |
|---|---|---|
| config load apiconfig | The config load apiconfig command loads a management
configuration file from an FTP or SFTP server. After the configuration file is loaded on the
Management server, the Management server automatically reboots. Do not use reserved words in the
user name, host name, or file name. Reserved words include: ftp, sftp, ibm, port, user, and
file.
Note: When you use SFTP, you must specify a user name. Anonymous logins are not allowed with
SFTP.
|
FTP syntax: config load apiconfig ftp <host> [port <number>] [user <username>] file [<path>/]<filename> SFTP syntax:config load apiconfig sftp <host> [port <number>] user <username> file [<path>/]<filename> Configuration backup file syntax:
Where
|
| config reset | Resets the connection rules for the Cloud Manager, Developer Portal, and API Manager. Port is reset to 443 and the SSL Profile resets to Default SSL Profile. | config reset services |
| config save | The config save apiconfig command saves a management configuration file to an FTP or SFTP server. Note: Do not use reserved words in the user name, host name, or file name. Reserved words include: ftp, sftp, ibm, port, user, and file.
|
FTP syntax: When you save the configuration file to an FTP server, the Management server uses anonymous if you omit the user name. config save apiconfig ftp <host> [port <number>] [user <username>] file [<path>/]<filename>Example: Saves the current system configuration as old_sys_config.cfg to the FTP server that is running on host tern. The FTP user's login name is Joe.
When you save the configuration file to an SFTP server, you must specify a user name. Anonymous logins are not allowed with SFTP. config save apiconfig sftp <host> [port <number>] user <username> file [<path>/]<filename> |
This process runs once a day at midnight UTC, and keeps configuration backup files on the local disk up to the maximum allowed space. The default maximum allowed space is 524288000 bytes but you can change this by using the config autobackup set maxsize command. |
||
Example output:
|
||
To see the names of the available configuration backup files, use the config autobackup list command |
config autobackup export local file <filename> ftp <host> [port <number>] [user <username>] SFTP syntax:config autobackup export local file <filename> sftp <host> [port <number>] user <username> |
|
| config autodiskadd | Control the automation of disk addition to the data partition of the management server. When set to disable, the data disk that is added to the vm does not become a part of the data partition. When set to enable, and the server is rebooted, the data disk is added to the data partition, and increases the data disk size. | config autodiskadd <enable/disable/status> |