(Optional) Configure NGINX in a single Service Manager Service Portal instance

In a single instance Service Manager Service Portal deployment, you can optionally configure NGINX as a reverse proxy in front of Service Manager Service Portal.

To do this, follow these steps:

  1. Log in to your Service Manager Service Portal host.
  2. Run the following commands:

    # cd /opt/hp/propel/contrib/propel-distributed.contrib-install-*
    # cp inventory/hosts.example  inventory/hosts.default
    # cp group_vars/propeld.yml.example  group_vars/propeld.yml
  3. Update the hosts.default file.

    Run this command:

    # vi inventory/hosts.default

    Add the following content:

    [lb]
    <SMSP host FQDN>
     
    [lb_ip]
    [propel]
    <SMSP host FQDN>
     
    [db_m]
    [db_s]
    [db_vip]
    [db:children]
    db_m
    db_s
     
    [propeld:children]
    lb
    propel
    db
     
    [internet:children]
    lb

    Note Replace <SMSP host FQDN> with the fully qualified domain name of your Service Manager Service Portal host.

  4. Configure a web proxy in the propeld.yml file.

    Run the following command:

    # vi group_vars/propeld.yml

    Configure a proxy as follows:

    proxy_env:
      http_proxy: http://<web proxy server FQDN>:<port>
      https_proxy: http://<web proxy server FQDN>:<port>
  5. Run the following commands:

    ssh-copy-id root@<SMSP host FQDN>
    ansible propeld -m ping
    ansible-playbook proxy.yml 2>&1 | tee proxy-setup.log

Related topics

Install and set up a single Service Manager Service Portal instance