Automated Procedure
This section provides the detailed instructions how to register a Windows-based host via the CloudBlue Commerce control panel.
Before registering a Windows-based host in CloudBlue Commerce, the following prerequisites should be satisfied:
- The CloudBlue Commerce Windows Hosting Infrastructure is deployed and configured.
- Operating System is installed on the host.
- The following network settings are configured on the host:
- BackNet IP address
- FrontNet IP address (if it is required)
- Gateway
- The required computer name is specified.
- There are login and password of Local Administrator.
- The following script is executed on the host:
netsh advfirewall firewall add rule name="WinRM in" protocol=TCP dir=in profile=any localport=5985 remoteip=any localip=any action=allow
netsh advfirewall firewall add rule name="CloudBlue Commerce in" protocol=TCP dir=in profile=any localport=8352 remoteip=any localip=any action=allow
netsh advfirewall firewall add rule name="CloudBlue Commerce in 2" protocol=TCP dir=in profile=any localport=8354 remoteip=any localip=any action=allow
netsh firewall add portopening TCP 5985 WinRM enable SUBNET
netsh firewall add portopening TCP 8352 CloudBlue Commerce enable SUBNET
netsh firewall add portopening TCP 8354 CloudBlue Commerce2 enable SUBNET
cmd /c winrm qcThe script file may have any name with the
.cmd
extension, for example:config_winRM.cmd
file. Run the script on the required host.
To register the required Windows-based host, perform the following actions:
- Log in to PCP and go to Infrastructure > Service Nodes.
- Click the Add New Node button. The registration wizard starts.
- In the list of server role names, click the Windows Shared (WIN_GENERIC) server role name.
- In the Windows Node Credentials area, specify the following parameters:
- Node Address – BackNet IP address of the host.
- User Name – Login of Local Administrator. For example: Administrator.
- Password – Password of Local Administrator.
Click Next.
- In the Network Configuration area, specify the following parameters:
- BackNet IP Address – BackNet IP address of the host. This IP address will be used by CloudBlue Commerce Agent to communicate with CloudBlue Commerce management node.
- FrontNet IP Address – FrontNet IP address of the host. This IP address will be used by CloudBlue Commerce services installed on the host.
Note: For hosts with single network interface, only BackNet IP Address can be specified.
In the Windows Domain User Credentials area:
- If your CloudBlue Commerce installation contains several Active Directory Domains, in the Windows Domain Name field select the required Active Directory Domain to which the host will be joined by CloudBlue Commerce. The First Domain Controller IP Address field contains the automatically selected IP Address of Domain Controller, which will be specified as a DNS Server of the host.
- If your CloudBlue Commerce installation contains the one Active Directory Domain only, in the Windows Domain Name field the Active Directory Domain is automatically selected. The First Domain Controller IP Address field contains the automatically selected IP Address of Domain Controller, which will be specified as a DNS Server of the host.
- You may manually specify the required Active Directory Domain, Domain Administrator credentials, and the required DNS Server of the host. To do so, click the Manual Domain Credentials Entry button and specify the following parameters:
- Windows Domain Name – Active Directory Domain name in the FQDN format. For example: hosting.local.
- Primary Domain Controller IP Address – IP Address of Active Directory Domain Controller, which will be used as a DNS Server of the host.
- Administrator User Name – Login name of Domain Administrator. For example: Administrator.
- Administrator Password – Password of Domain Administrator.
Click Next.
- Make sure the specified parameters are valid and click Finish. Then, CloudBlue Commerce will automatically join the host to the specified Active Directory Domain and install the CloudBlue Commerce Agent on the host.
Note: The pem_domain and pem_admin accounts are required for this operation. If any of the accounts does not exist, it will be created automatically with a randomly generated password.