pw configwsroles
The command pw configwsroles enables you to set a BMC ProactiveNet Server as a Central Server Router or a BMC ProactiveNet Child Server for the web services. It also allows you to configure the servers for cloud deployment.
For information about how the web services work with the Central Server Router, see BMC-ProactiveNet-Central-Server-Router-for-web-services.
To set a BMC ProactiveNet Server as a Central Server Router or a BMC ProactiveNet Child Server for the web services
From the command line, enter the following command:{{code language="none"}}
pw configwsroles
{{/code}}
The following message is displayed:Do you want to configure this BMC ProactiveNet Server to deploy cloud (Y/N)?If you want to configure the server for cloud deployment, type Y, and press Enter. If you do not want to configure the server for cloud deployment, type N, and press Enter.
The following message is displayed:Do you want to configure this BMC ProactiveNet Server as router server (Y/N)?- If you want to set the server as a Central Server Router, perform the following steps:
Type Y, and press Enter.
The following message is displayed:Enter connection protocol [http/https]:Type the appropriate connection protocol you want to set, and press Enter.
The following message is displayed:Following properties set successfully to bppmws.properties file.
isRouter = true
selfHostBPPMAPIPort =
bppmwsGatewayProtocol =
- If you want to set the server as a BMC ProactiveNet Child Server, perform the following steps:
Type N, and press Enter
The following message is displayed:Do you want to communicate with router server (Y/N)?If you do not want to configure the router settings, type N, and press Enter.
The following message is displayed:Following properties set successfully to bppmws.properties file.
isRouter = falseThe server is set as a BMC ProactiveNet Child Server, but the connection to the Central Server Router is not configured.
If you want to configure the router settings, type Y, and press Enter.
The following message is displayed:Enter router gateway host name:Type the host name of the Central Server Router, and press Enter.
The following message is displayed:Enter the connection protocol used by router gateway [http/https]:Type the appropriate connection protocol that you want to set, and press Enter.
The following message is displayed:Enter the port used by router gateway. Default will be used if empty:Type the port number to be used by the router gateway for communication, and press Enter.
The following message is displayed:Enter connection protocol [http/https]:Type the appropriate connection protocol that you want to set, and press Enter.
The following message is displayed:Following properties set successfully to bppmws.properties file.
isRouter = false
routerGatewayHostName =
routerGatewayProtocol =
routerGatewayHostBPPMAPIPort =
bppmwsGatewayProtocol =
selfHostBPPMAPIPort =The server is set as a BMC ProactiveNet Child Server, and the connection to the Central Server Router is configured.