|
The following are the commands that can only be used by the Administrator (admin).
NOTE: Please see the Examples section for more commands.
-command=addgroup
The group determines the type of permissions given to a user.
Parameters
|
Usage
|
Description
|
Is
Required
?
|
name
|
-name=plan1
|
The name of the Group
|
YES
|
maxjvms
|
-maxjvms=1
|
The maximum number of JVMs the user
is allowed. The default is 1.
|
NO
|
maxMemory
|
-maxMemory=50m
|
The maximum total memory heap
allocated to the user's JVM(s). Default
is 50MB. If reseller, the maximum Total memory of all the reseller's accounts.
|
NO
|
owner
|
-owner=reselleracc1
|
Used for creating a Group owned by
a reseller. Defaults to admin.
|
NO
|
webhosting
|
-webhosting=0
|
Used for specifying if Account will be a reseller. A value greater than 0 indicates the number of accounts the Reseller is able to create.
|
NO
|
-command=addaccount
Add a user to access NGASI AppServer Manager and its functionality.
Parameters
|
Usage
|
Description
|
Is
Required
?
|
account
|
-account=acct1
|
The name of the User Account
|
YES
|
group
|
-group=plan1
|
The name of the Group
|
YES
|
vpsid
|
-vpsid=12345
|
The ID of the openVZ or Virtuozzo VPS
|
NO
|
remoteserverid
|
-remoteserverid=dev1
|
The ID of the Remote Server
|
NO
|
force
|
-force=true
|
Create system user if not exist.
|
NO
|
accountpassword
|
-accountpassword=tiger
|
account password used in conjunction with -force option.
|
NO
|
accountemail
|
-accountemail=me@iam.com
|
Add Email contact info to user account.
|
NO
|
-command=removeaccount
Remove a user access from NGASI AppServer Manager and its functionality.
Parameters
|
Usage
|
Description
|
Is
Required
?
|
account
|
-account=acct1
|
The name of the User Account
|
YES
|
vpsid
|
-vpsid=12345
|
The ID of the openVZ or Virtuozzo VPS
|
NO
|
remoteserverid
|
-remoteserverid=dev1
|
The ID of the remote server
|
NO
|
-command=setippool
Assign a pool of IP Address to a specific account. The application server(s) will bind to address(es) with
the IP Address Pool.
Parameters
|
Usage
|
Description
|
Is
Required
?
|
account
|
-account=acct1
|
The name of the User Account
|
YES
|
iplist
|
-iplist=172.16.0.35/3
|
The list of IP Addresses to assign.
172.16.0.35/3 means 172.16.0.35,
172.16.0.36, and 172.16.0.37 is
assigned to the pool.
|
YES
|
vpsid
|
-vpsid=12345
|
The ID of the openVZ or Virtuozzo VPS
|
NO
|
remoteserverid
|
-remoteserverid=dev1
|
The ID of the remote server
|
NO
|
-command=setdefaultprotocolport
Assign a default protocol port to a specific account. The application server(s) will bind to the default port.
Parameters
|
Usage
|
Description
|
Is
Required
?
|
account
|
-account=acct1
|
The name of the User Account
|
YES
|
protocol
|
-protocol=http
|
The specific protocol
|
YES
|
protocol_port
|
-protocol_port=8888
|
The specific protocol port
|
YES
|
vpsid
|
-vpsid=12345
|
The ID of the openVZ or Virtuozzo VPS
|
NO
|
remoteserverid
|
-remoteserverid=dev1
|
The ID of the remote server
|
NO
|
-command=setprotocolport
Assign a specific protocol port to a specific JVM in a account. The application server will bind to the specific port.
Parameters
|
Usage
|
Description
|
Is
Required
?
|
account
|
-account=acct1
|
The name of the User Account
|
YES
|
protocol
|
-protocol=http
|
The specific protocol
|
YES
|
protocol_port
|
-protocol_port=8888
|
The specific protocol port
|
YES
|
jvmid
|
-jvmid=1
|
The JVM Id. Relevant if the maxjvms
value is set to greater than 1. Defaults to
1.
|
NO
|
vpsid
|
-vpsid=12345
|
The ID of the openVZ or Virtuozzo VPS
|
NO
|
remoteserverid
|
-remoteserverid=dev1
|
The ID of the remote server
|
NO
|
NOTE: Please see the Examples section for more commands.
|