Command Central 10.5 | Using the Command Line Interface | Configuration Commands | sagcc exec configuration validation delete
 
sagcc exec configuration validation delete
Determines whether a configuration instance can be deleted. If check is successful, you can then use sagcc delete configuration data to delete the configuration instance.
Syntax
*Command Central syntax:
sagcc exec configuration validation  node_alias componentid delete instanceid            
[options]
*Platform Manager syntax:
sagcc exec configuration validation  componentid delete instanceid  [options]
             
 options:               
[{--debug | -d}]               
[{--error | -r} file]               
[{--log | -l} file]               
[{--password | -p} password]               
[{--quiet | -q}]               
[{--server | -s} url]               
[{--username | -u} user_name]
Arguments and Options
Argument or Option
Description
node_alias
Command Central only.
Required. Specifies the alias name of the installation in which the run-time component is installed.
You can view a list of installations and their aliases using sagcc list landscape nodes.
componentid
Required. Specifies the ID of the run-time component that owns the instance.
You can determine the IDs for run-time components using sagcc list inventory components.
instanceid
Required. Specifies the ID of the instance you want to check.
You can determine the IDs for configuration instances using sagcc list configuration instances.
[options]
Optional. Refer to the command syntax for a list of the options the command supports. For a description of the options, see Common Options.
Usage Notes
*Use this command to determine whether you can delete a configuration instance. This command does not delete the configuration instance.
*The sagcc exec configuration validation delete command outputs either no messages or informational, warning, and/or error messages.
*When the command outputs no messages or only informational and warning messages, the check is successful. You can use the sagcc delete configuration data command to delete the configuration instance.
*When the command outputs error messages, the check failed. The sagcc delete configuration data command will fail if attempt to delete the configuration instance.
Example When Executing on Command Central
To check whether you can delete the configuration instance with ID “COMMON-PORTS-com.softwareag.sshd.pid.properties” from the run-time component with ID “OSGI-SPM”, which is installed in the installation with alias name “sag01” using the authorization of the user with user name “Administrator” and password “manage”:
sagcc delete configuration data sag01 OSGI-SPM COMMON-PORTS-              
com.softwareag.sshd.pid.properties --username Administrator            
--password manage
Because the {--server | -s} option is not specified, the command uses the default server. For more information, see server.
Example When Executing on Platform Manager
To check whether you can delete the configuration instance with ID “COMMON-PORTS-com.softwareag.sshd.pid.properties” from the run-time component that has the ID “OSGI-SPM” and is managed by the Platform Manager with host name “rubicon2” and port “8092”, and execute the command with the authorization of the user with user name “Administrator” and password “manage”:
sagcc delete configuration data OSGI-SPM COMMON-PORTS-              
com.softwareag.sshd.pid.properties -server http://rubicon2:8092/spm            
--username Administrator --password manage