Configuring the remote proxy server in your AWS environment

To use the remote support assistance function in IBM Storage Virtualize for Public Cloud software, you must install and configure a remote proxy server on the bastion machine in your cloud environment.

To configure the remote proxy server, complete these steps:
  1. Determine the public IP address for the bastion host by completing these steps:
    1. Log on to the AWS Management Console with the AWS default administrator profile.
    2. Select EC2 > Instances.
    3. Select the bastion host instance that is used for quorum management and view the details in the Description tab that displays. Copy the key pair name and the public IP address to use when you access the bastion machine.
  2. Issue the following command to log into the bastion machine:
    ssh -i key centos@bastion-publicIP
  3. Obtain the remote proxy server software from the Remote Support Proxy utility installation package and Release Notes from Fix Central and download the file to the management laptop that you are using to access the bastion host.
  4. Assign the downloaded file execution permissions by running the following command:
    chmod +x file_name.bin
    Where file_name.bin is the name of the installation package.
  5. Install the Remote Support Proxy utility by using the following command:
    ./file_name.bin
    Where file_name.bin is the name of the installation package for the system. A software license is displayed.
  6. Follow the instructions and accept the license. The installation program installs an RPM package that is named supportcenter_proxy and then exits.
    Note: Occasionally, the license is not displayed and the application ends unexpectedly. The license cannot be displayed because the bzip2 package is missing on the system. Use the Linux® package manager to reinstall the bzip2 package to the system and try again.
When the installation has completed, you have to configure the remote proxy server to listen for connections. To configure these connections, change the following required parameters in the /etc/supportcenter/proxy.conf file:
ListenInterface
Specify the IPv4 address, IPv6 address, or interface name on which the proxy service is to listen for incoming connections from the system. If you specify an IPv4 or IPv6 address, the Remote Support Proxy service listens on only the specified IP address. If you specify an interface name, the Remote Support Proxy service listens on all allowed addresses. You can configure which addresses are allowed by setting the UseIPv4, UseIPv6, and UseIPv6LinkLocalAddress parameters. By default, the Remote Support Proxy service listens on both IPv4 and IPv6 addresses. If you specify the interface name, the name must be the same as the output from the ipconfig command.
Note: The system must have access to the system that runs the Remote Support Proxy as defined by this interface name or IP address.
ListenPort
The TCP port on which the Remote Support Proxy is to listen for incoming connections from the system. For example, to listen on port 9955, add the following strings to the configuration file:
# Interface and port on which the proxy listens
ListenInterface eth0
ListenPort 9955

After you update the Remote Support Proxy configuration file, start the Remote Support Proxy service.

To start the Remote Support Proxy service, run the following command:
service supportcenter_proxy start
If the proxy service does not start correctly, examine the log file for errors. The default log file is /var/log/supportcenter_proxy.log.
Optionally, you can also configure the service to start on boot. To configure the remote proxy service to start on boot, enter the following command:
chkconfig supportcenter_proxy on