Command Central 10.3 | Command Central Developer Reference | Using the Command Line Interface | Instance Management Commands | sagcc update instances
 
sagcc update instances
Updates configuration properties of an existing instance of an installed product. For example, you might want to update a list of Integration Server packages.
Syntax
*Command Central syntax:
sagcc update instances  node_alias componentid         
[key=value] | [-i file{.xml|.json|.properties}]  [options]
*Platform Manager syntax:
sagcc update instances  componentid         
[key=value] | [-i file{.xml|.json|.properties}]  [options]
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 for which you want to update configuration properties.
[key=value]
Optional. A list of properties that describe the elements of the new instance, such as name and port settings. The properties included in this list are product specific.

[-i [file{.xml|.json|.properties}]
Optional. Identifies an input file that contains the new configuration data for the run-time component. For more information, see input.
For the correct format of an XML properties file, see the Properties class in the Oracle Java Platform Standard Edition API specification.
[options]
Optional. The command allows all options supported by the Command Line Interface. For a description of the options, see Common Options.
Example When Executing on Command Central
To update the “WmBusinessRules” package on an Integration Server with ID “integrationServer-default” that is installed in the installation with alias name “sag01”:
sagcc update instances sag01 integrationServer-default         
package.list=WmBusinessRules
Examples When Executing on Platform Manager
*To update the “WmBusinessRules” package on an Integration Server with ID “integrationServer-default”:
sagcc update instances integrationServer-default         
package.list=WmBusinessRules
*To update configuration properties for an installed run-time component with ID “OSGI-IS_default” using configuration data in the instance-settings.properties file, located in the current directory:
sagcc update instances OSGI-IS_default -i instance-settings.properties
*To update configuration properties for an installed run-time component with ID “OSGI-IS_default” using configuration data in the instance-settings.xml file, located in the current directory:
sagcc update instances OSGI-IS_default -i instance-settings.xml