Performing first-time installation of Spectrum Connect

You can install the IBM Spectrum Connect software on a compatible version of Red Hat Enterprise Linux® (RHEL) or CentOS. For more information, refer to the release notes.

Before you begin

  • Verify that the following TCP ports are open to ensure network connectivity between VMware resources, Spectrum Connect and IBM storage systems:
    • 8440 (vCenter, vROps and vRO servers). Refer to the installation procedure below for details on opening the 8440 port for the 'firewall-cmd' (RHEL 7.x, CentOS 7.x). In addition, Spectrum Connect must be allowed to bind to port 8440, if Security-Enhanced Linux (SELinux) is enabled.
    • 7778 (FlashSystem A9000/A9000R).
    • 22 (storage systems that run IBM Spectrum Virtualize).
    • 8452 (DS8000).
  • Verify that the TCP ports 5672 and 4369 are open. These ports are used by the 'rabbitmq' and 'ampq' internal processes, respectively. Refer to the installation procedure below for the port opening procedures.
  • Check that the 'zlib' library has been installed for RHEL 7.x and CentOS 7.x.
  • Check that the 'libsemanage-static' library has been installed for CentOS 7.x.
  • Check that the 'bzip2' program has been installed for all operating systems.
  • Verify that the 'postgresql' package is not installed on your host. Your server may have a package of 'postgresql' version 8 installed, as a part of operation system distribution. This may result in a conflict with version of the package, installed during the Spectrum Connect deployment. Use the rpm -qa | grep postgres command to search for the 'postgresql' package.
  • A new Linux username – ibmsc – is created during installation to be used for Spectrum Connect management operations.

    You can customize the user ID for ibmsc by adding a Linux user (useradd command in RHEL) prior to the package installation. In this case, create the /home/ibmsc directory before starting the installation process.

  • Make sure that the 'ibmsc' user can access the /opt/ibm and /var/log/sc folders.

Procedure

Follow these steps to install Spectrum Connect:

  1. Download the installation package and the IBM_Spectrum_Connect_Signing_Key_Pub.key file, used for the package validation. See Downloading IBM Spectrum Connect software).
  2. Copy the installation package and the public key files to a local folder on the Linux host that will be used as Spectrum Connect.
  3. Go to the local folder and then use the gpg --import IBM_Spectrum_Connect_Signing_Key_Pub.key to import the IBM® GNU Privacy Guard (GPG) public key to validate the installation files. This ensures that the files were received from IBM and were not manipulated in any way by a third party.
  4. Extract the installation package file ('* ' represents the build number) :
    # tar -xzvf IBM_Spectrum_Connect-3.7.0-*-x86_64.tar.gz
    Depending on the operating system type, the following files are extracted:
    • RHEL 7.x:
      • erlang-19.3.0-1.el7.centos.x86_64.rpm
      • jemalloc-3.7.0-1.el6.x86_64.rpm
      • nginx-1.10.3-1.el7.ngx.x86_64.rpm
      • postgresql92-9.2.14-1PGDG.rhel7.x86_64.rpm
      • postgresql92-contrib-9.2.14-1PGDG.rhel7.x86_64.rpm
      • postgresql92-libs-9.2.14-1PGDG.rhel7.x86_64.rpm
      • postgresql92-server-9.2.14-1PGDG.rhel7.x86_64.rpm
      • rabbitmq-server-3.7.0-1.noarch.rpm
      • redis-3.2.5-1.el7.x86_64.rpm
      • uuid-1.6.2-26.el7.x86_64.rpm
    • CentOS 7.x:
      • erlang-19.3.0-1.el7.centos.x86_64.rpm
      • jemalloc-3.7.0-1.el7.x86_64.rpm
      • libxslt-1.1.28-5.el7.x86_64.rpm
      • nginx-1.10.3-1.el7.ngx.x86_64.rpm
      • postgresql92-9.2.24-5PGDG.rhel7.x86_64.rpm
      • postgresql92-contrib-9.2.24-5PGDG.rhel7.x86_64.rpm
      • postgresql92-docs-9.2.24-5PGDG.rhel7.x86_64.rpm
      • postgresql92-libs-9.2.24-5PGDG.rhel7.x86_64.rpm
      • postgresql92-server-9.2.24-5PGDG.rhel7.x86_64.rpm
      • rabbitmq-server-3.7.0-1.noarch.rpm
      • redis-3.2.5-1.el7.x86_64.rpm
      • uuid-1.6.2-26.el7.x86_64.rpm
    • ibm_spectrum_connect-3.7.0-*.bin – product BIN file.
    • ibm_spectrum_connect-3.7.0-xxxx-x86_64.bin.asc– digital signature file for the BIN file verification.
  5. Enter gpg --verify ibm_spectrum_connect-3.7.0-xxxx-x86_64.bin.asc ibm_spectrum_connect-3.7.0-xxxx-x86_64.bin to verify the digital signature of the installation files.
  6. Go to the extracted directory and then use the rpm -iv *.rpm command to run and install all the complementary RPM files.
  7. Enter chmod +x ibm_spectrum_connect-3.7.0-*.bin to authorize the installation of the product BIN file.
  8. Enter ./ibm_spectrum_connect-3.7.0-*.bin to start the installation.
  9. Review the license agreement which is displayed after you run the installation file.
  10. Enter 1 at the following prompt to accept the license agreement and complete the installation:
    Press Enter to continue viewing the license agreement, or enter "1" to accept 
    the agreement, "2" to decline it, "3" to print it, "4" to read non-IBM terms, 
    or "99" to go back.
    Installation progress messages are displayed:
    Preparing for new install of SC 3.7.0
    Creating system user ibmsc
    Starting rabbitmq-server (via systemctl):                  [  OK  ]
    Configuring rsyslog
    Setting up nginx
    Generating SSL Certificate
    Configuring new service [ibm_spectrum_connect]
    Configuring postgresql database
    Create default settings
    Creating IBM Spectrum Connect user
    Once installation is complete, the following notes and installation completion message are displayed:
    SECURITY NOTES:
    ===============
    The following ports must be opened on this host:
    - Port 5672 for rabbitmq on the internal interface (lo).
    - Port 4369 for ampq on the internal interface (lo).
    - Port 8440 on the external interface.
    
    If you are using the linux default firewall, you can use the following commands to open the port:
    firewall-cmd --permanent --zone=trusted --add-interface=lo
    firewall-cmd --permanent --add-port=8440/tcp
    firewall-cmd --permanent --zone=trusted --add-port=4369/tcp
    firewall-cmd --permanent --zone=trusted --add-port=5672/tcp
    firewall-cmd --reload
    If you are using a different firewall software please refer to the software documentation for help.
    
    If SELinux is enabled on this machine, nginx must be allowed to bind network interfaces and connect to ibmsc socket. This can be done using the following commands:
    semodule -i /opt/ibm/ibm_spectrum_connect/conf.d/selinux/rhel7/ibmsc.pp
    systemctl nginx restart
    To display ibmsc selinux policy:
    cat /opt/ibm/ibm_spectrum_connect/conf.d/selinux/rhel7/ibmsc.te
    
    If the rabbitmq-server service is reported as not running it can be restarted by the following command: 
    systemctl restart rabbitmq-server
    
    IMPORTANT: To avoid unauthorized access to the IBM Spectrum Connect, 
    the password for this username should be changed as soon as possible.
    You can control IBM Spectrum Connect services using the 
    'service ibm_spectrum_connect {start|stop|status}' command.
    
    Installation completed successfully.

    Once the IBM Spectrum Connect service has been installed, the – ibmsc – user can be used for Spectrum Connect management operations, as stated under Before you begin.

    If the firewall and SELinux were disabled prior to installation, the IBM Spectrum Connect service starts automatically once installation has completed successfully. (To check on the status of the Spectrum Connect service, see Checking and controlling the Spectrum Connect Linux service.) If so, skip to step 12. If not, first complete step 11.

  11. In cases where the firewall and SELinux are enabled, perform the steps under Changing firewall and SELinux settings for Spectrum Connect and then manually start the Spectrum Connect service using the steps under Checking and controlling the Spectrum Connect Linux service.
  12. To avoid unauthorized access to Spectrum Connect via GUI, it is strongly recommended to change the default password for the 'admin' user as soon as possible, as described in Changing the password of a Spectrum Connect user.