Command Central 10.5 | Using the Command Line Interface | Landscape Commands | sagcc exec landscape nodes generateNodeId
 
sagcc exec landscape nodes generateNodeId
Generates or regenerates a unique ID for an existing installation.
Note:
The installation ID is not the same as the alias name for an installation.
Syntax
*Command Central syntax:
sagcc exec landscape nodes  node_alias generateNodeId  [options]    
     
 options:        
[{--debug | -d}]        
[{--error | -r} file]        
[{--log | -l} file]        
[{--password | -p} password]        
[{--quiet | -q}]        
[{--server | -s} url]        
[{--username | -u} user_name]
*Not applicable to Platform Manager.
Arguments and Options
Argument or Option
Description
node_alias
Required. Specifies the alias name of the installation for which you want to generate an ID.
You can view a list of installations and their aliases using sagcc list landscape nodes.
[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
*Typically, you should not need to generate or regenerate an ID for an installation. Command Central generates an ID for an installation when it is originally added to Command Central management, for example, by executing the sagcc create landscape nodes command.
You might regenerate an ID if you have an installation with a duplicate ID. This can occur, for example, if you copy an image of an installation.
*The sagcc exec landscape nodes command stores the newly generated ID in its proper location. The command does not return the new ID as output.
Example When Executing on Command Central
To generate an ID for the installation with alias name “sag01” using the authorization of the user with user name “Administrator” and password “manage”:
sagcc exec landscape nodes sag01 generateNodeId --username Administrator    
--password manage
Because the {--server | -s} option is not specified, the command uses the default server. For more information, see server.