Command Central 10.3 | Command Central Developer Reference | Using the Command Line Interface | Administration Commands | About Administration Commands | sagcc exec administration
 
sagcc exec administration
Executes a custom administrative action against a product. The executed action is product specific. For more information about the custom administrative actions supported for a product, see the product-specific topic in this help or the respective product documentation.
Syntax
*Command Central syntax:
*To execute an action against a product:
sagcc exec administration product node_alias productid namespace  
  administrative_action 
[argName1=value1] [argName2=value2]... 
[options]
*To execute an action against a run-time component:
sagcc exec administration component node_alias componentid namespace  
  administrative_action 
[argName1=value1] [argName2=value2]... 
[options]
*Platform Manager syntax:
*To execute an action against a product:
sagcc exec administration product productid namespace  
  administrative_action 
[argName1=value1] [argName2=value2]... 
[options]
*To execute an action against a run-time component:
sagcc exec administration component componentid namespace  
  administrative_action 
[argName1=value1] [argName2=value2]... 
[options]
Arguments and Options
Argument or Option
Description
node_alias
The alias of the node on which the administrative action is executed.
productid
The ID of the product for which to execute the administrative action.
componentid
The ID of the run-time component for which to execute the administrative action.
namespace
The namespace identifier for the administrative action. The namspace groups together administration functions that relate to the same domain, such as migration or configuration.
If you do not specify a namespace value, Command Central returns a list of all available administration namespaces for the specified product or run-time component.
administrative_action
The administrative action to execute. If you do not specify a value, Command Central returns a list of all available administrative actions for the specified product or run-time component.

[argName1=value1]  [argName2=value2]...
Optional. The arguments of the administrative action.
[options]
Optional. The command allows all options supported by the Command Line Interface. For a description of the options, see Common Options.
Usage Notes
Based on the executed administrative action, the command returns the output in text, JSON, or XML format.
Examples When Executing on Command Central
*To execute an “admin” action in the “example” namespace, against the local installation for a product with ID “SPM” and use the values specified for “arg1” and “arg2” of the “admin” action:
sagcc exec administration product local SPM example adminAction 
argument1=val1 arg2=val2
*To execute an “admin” action in the “example” namespace, against the local installation for a run-time component with ID “OSGI-SPM” and use the values specified for “arg1” and “arg2” of the “admin” action:
sagcc exec administration component local OSGI-SPM example adminAction 
arg1=val1 arg2=val2