Product Documentation

Region support configuration

Dec 22, 2015

For supporting multiple CCP regions, the following is a sample configuration:

In the figure, portal.cloud.com, usa.cloud.com and canada.cloud.com map to the same proxy server which has the corresponding routing configuration. cpbm-ip is the IP of the LB to the CloudPortal Business Manager nodes, usa-ccp-ip is IP of the LB to USA region nodes, and canada-ccp-ip is the IP of the LB to Canada region nodes.

Here is a sample Apache HTTP proxy configuration for the proxy server to achieve the same:

NameVirtualHost *:80
<VirtualHost *:80> 
    ServerName portal.cloud.com 
    ProxyPass /portal http://cpbm-ip/portal 
</VirtualHost> 
<VirtualHost *:80> 
    ServerName usa.cloud.com 
    ProxyPass /client http://usa-ccp-ip/client 
    ProxyPass /client/api http://cpbm-ip/portal/client/apis/usa 
</VirtualHost> 
<VirtualHost *:80> 
    ServerName canada.cloud.com 
    ProxyPass /client http://canada-ccp-ip/client 
    ProxyPass /client/api http://cpbm-ip/portal/client/apis/canada 
</VirtualHost> 
Note: Here we have assumed that this proxy server is not load balancing the CPBM and the CCP nodes. For load balancing CPBM and CCP servers, refer to the Setting up a Proxy Server section of Installing and configuring CloudPortal Business Manager.