Previous Topic: dpmresourcemgr addcomputertonetwork Command--Add Server to NetworkNext Topic: dpmresourcemgr addmachinestoservice Command--Add Servers to a Service


dpmresourcemgr addipaddresspool Command--Add IP Address Pool

The dpmresourcemgr addipaddresspool command adds an IP address pool using static IP addresses or DHCP.

This command has the following format:

dpmresourcemgr addipaddresspool [-sc sc_url] -subnet_address address -starting_ip ipaddress -ending_ip ipaddress -ip_assignment_type static|dhcp [-name name][-owner ownername][-ws_user username -ws_password password][-locale iso639value]
-sc sc_url

(Optional) Defines the URL for the service controller host.

Example: https://hostname:port/...

hostname

Defines the fully qualified host where the service controller is installed.

Example: localhost.ca.com

port

Defines the listening port for the service controller server.

Example: 80

-subnet_address address

Defines the IP address of the network. Valid entry: xxx.xxx.xxx.xxx or xxx.xxx.xxx.xxx/xx.

-starting_ip ipaddress

Defines the starting valid IP address in the range for use in the static IP address pool. Valid entry: xxx.xxx.xxx.xxx.

-ending_ip ipaddress

Defines the ending IP address in an IP range. Valid entries: xxx.xxx.xxx.xxx.

-ip_assignment_type static | dhcp

Defines the method in which servers get their IP addresses (static IP address or DHCP).

-name name

Defines the item name. Valid entry: 1-128 alphanumeric characters.

-owner ownername

Defines the owner of the IP address pool. Valid entry: 1-128 alphanumeric characters.

-ws_user username -ws_password password

(Optional) Specifies the credentials to use for the web service security check. If you do not include credentials, you are prompted to enter them. Avoid the prompt for credentials by setting up your own session using caaipsecurity.

-locale iso639value

(Optional) Specifies an IS0 639_3166 combination to override the default English output, for example, fr_FR for French. To use the locale of the command prompt, specify "native".

Example: Add IP Address Pool

This example adds the IP address pool, engpool, with the IP address range of 10.10.21.130 to 10.10.21.140 and sets the IP assignment method to DHCP.

dpmresourcemgr addipaddresspool -subnet_address 10.10.21.0 -starting_ip 10.10.21.130 -ending_ip 10.10.21.140 -ip_assigment_type DHCP -ws_user wsuser -ws_password wsuserpassword