This command adds a new application instance; it registers a specific configuration of a specific N1 Grid Service Provisioning System software application with the Master Server.
Table 7–3 Arguments and Result for the hdb.a.add Command
Argument/Result |
Syntax |
Description |
|
---|---|---|---|
hID |
[R] |
HostID |
The ID of the host to contain the new instance |
type |
[R] |
AppType |
The application type (RA|LD) |
pID |
[R] |
AppInstanceID |
The parent application ID |
ip |
[R] |
String |
The application IP address (x.y.z.w) |
port |
[O] |
Integer |
The application port (not required for ssh) |
conn |
[R] |
ConnectionType |
The connection type (raw|ssh|ssl) |
param |
[O] |
String |
The parameters |
result |
UIAppInstanceUpdate |
The new application instance and associated warnings |
Omitting the -port argument or setting the port to 0 on an application instance with connection type ssh will cause the default ssh port to be used.