Administer > HA Configuration > Configure the Marketplace Portal node

Configure the Marketplace Portal node

This chapter describes how to install, upgrade, and configure a remote Marketplace Portal instance on the Marketplace Portal node (for example, MPP_Node1, MPP_Node2, or MPP_Node3) in a cluster configured for high availability. The Marketplace Portal should be installed as a remote instance on a Marketplace Portal node in its own clustered environment.

To configure the Marketplace Portal, do the following:

  • Install or upgrade the remote Marketplace Portal instance
  • Configure the remote Marketplace Portal instance

Install the remote Marketplace Portal instance

Install a remote instance of the Marketplace Portal on each Marketplace Portal node, as described in the Cloud Service Automation Installation Guide with the following limitations:

  • You must install the same version of CSA on each node (including the CSA nodes).

  • When selecting a location in which to install the Marketplace Portal, select the same location for all Marketplace Portal nodes.
  • When configuring the CSA Host, use the fully-qualified domain name of the following:

    • Load_Balancer node (for example, load_balancer.xyz.com) or [LOAD_BALANCER_HOSTNAME]
    • Apache load balancer node (for example, apache_load_balancer.xyz.com), or [APACHE_LOAD_BALANCER_HOSTNAME]).
  • When configuring the CSA Port, use the following port:

    • Load balancer installed on the Load_Balancer node (for example, 8443 or [LOAD_BALANCER_CSA_HTTPS_PORT]).
    • Apache server installed on the Apache load balancer node (for example, 8443 or [APACHE_LOAD_BALANCER_CSA_HTTPS_PORT]).

The Cloud Service Automation Installation Guide can be downloaded from the HPE Software Support Web site at https://softwaresupport.hpe.com/manuals (this site requires a Passport ID).

Upgrade the remote Marketplace Portal instance

Upgrade the remote Marketplace Portal instance on each Marketplace Portal node as described in the Cloud Service Automation Upgrade Guide .

Configure the remote Marketplace Portal instance

To configure the remote Marketplace Portal instance on each Marketplace Portal node, complete the following steps:

  1. If you have not done so already, copy the certificate of the load balancer from the Load_Balancer node or the Apache server from the Apache load balancer node (for example, for load balancer: load_balancer.crt and for Apache load balancer, apache_csa.crt) to the CSA_HOME/portal/conf/ directory on the Marketplace Portal node.

  2. Edit the following content in the CSA_HOME/portal/conf/mpp.json file:

    • For Load balancer:

      For the provider, update the url attribute value to use [LOAD_BALANCER _HOSTNAME] and [LOAD_BALANCER_CSA_HTTPS_PORT] and ca to use the location of the certificate of the load balancer. For example:

      "provider": {
         "url": "https://[LOAD_BALANCER_HOSTNAME]:[LOAD_BALANCER_CSA_HTTPS_PORT]"
         "ca": "CSA_HOME/portal/conf/load_balancer.crt"
          .
          .
          .
      },

      or

      "provider": {
         "url": "https://load_balancer.xyz.com:8443"
         "ca": "CSA_HOME/portal/conf/load_balancer.crt"
          .
          .
          .
      },

    • For Apache load balancer:

      For the provider, update the url attribute value to use [APACHE_LOAD_BALANCER_HOSTNAME] and [APACHE_LOAD_BALANCER_CSA_HTTPS_PORT] (virtual host port) and ca to use the location of the certificate of the Apache load balancer node. For example:

      "provider": {
         "url": "https://[APACHE_LOAD_BALANCER_HOSTNAME]:[APACHE_LOAD_BALANCER_CSA_HTTPS_PORT]"
         "ca": "CSA_HOME/portal/conf/apache_csa.crt"
          .
          .
          .
      },

      or

      "provider": {
         "url": "https://apache_load_balancer.xyz.com:8443"
         "ca": "CSA_HOME/portal/conf/apache_csa.crt"
          .
          .
          .
      },

    • For Load balancer:

      For the idmProvider, update the values of the url attribute to use [LOAD_BALANCER_HOSTNAME] and [LOAD_BALANCER_CSA_HTTPS_PORT], returnUrl to use [LOAD_BALANCER_HOSTNAME] and [LOAD_BALANCER_MPP_HTTPS_PORT], and ca to use the location of the certificate of the load balancer. For example:

      "idmProvider": {
         "url": "https://[LOAD_BALANCER_HOSTNAME]:[LOAD_BALANCER_CSA_HTTPS_PORT]",
         "returnUrl": "https://[LOAD_BALANCER_HOSTNAME]:[LOAD_BALANCER_MPP_HTTPS_PORT]",
         "ca": "CSA_HOME/portal/conf/load_balancer.crt"
          .
          .
          .
      },

      or

      "idmProvider": {
         "url": "https://load_balancer.xyz.com:8443",
         "returnUrl": "https://load_balancer.xyz.com:8089",
         "ca": "CSA_HOME/portal/conf/load_balancer.crt"
          .
          .
          .
      },

    • For Apache load balancer:

      For the idmProvider, update the values of the url attribute to use [APACHE_LOAD_BALANCER_HOSTNAME] and [APACHE_LOAD_BALANCER_CSA_HTTPS_PORT] (virtual host port for the CSA nodes), returnUrl to use [APACHE_LOAD_BALANCER_HOSTNAME] and [APACHE_LOAD_BALANCER_MPP_HTTPS_PORT] (virtual host port for the Marketplace Portal nodes), and ca to use the location of the certificate of the Apache load balancer node. For example:

      "idmProvider": {
         "url": "https://[APACHE_LOAD_BALANCER_HOSTNAME]:[APACHE_LOAD_BALANCER_CSA_HTTPS_PORT]",
         "returnUrl": "https://[APACHE_LOAD_BALANCER_HOSTNAME]:[APACHE_LOAD_BALANCER_MPP_HTTPS_PORT]",
         "ca": "CSA_HOME/portal/conf/apache_csa.crt"
          .
          .
          .
      },

      or

      "idmProvider": {
         "url": "https://apache_load_balancer.xyz.com:8443",
         "returnUrl": "https://apache_load_balancer.xyz.com:8089",
         "ca": "CSA_HOME/portal/conf/apache_csa.crt"
          .
          .
          .
      },

  3. Restart the HPE Marketplace Portal service:

    Windows:

    1. Navigate to the Services screen (Control Panel > Administrative Tools > Services).
    2. Right-click on the hpemarketplaceportal service and select Restart.

    Linux:

    Open a command prompt and type:

    service mpp restart