MicroStrategy ONE

Configuring SSH on Linux

MicroStrategy uses the SSH included with your Linux OS by default. If SSH is not running at the time of your MicroStrategy installation, the installer does not enable the feature to start and stop services in the Workstation Topology view.

To configure SSH on Linux:

  1. Install OpenSSH by opening a terminal and running the following commands with super user permissions.

    On Ubuntu/Debian/Linux Mint:

    Copy
    # apt-get install openssh-server openssh-client openssh

    On RHEL/Centos/Fedora:

    Copy
    # yum -y install openssh-server openssh-clients openssh
  2. Start the service by typing the following commands in terminal:

    Copy
    # chkconfig sshd on
    # service sshd start
  3. If you have firewall, open the SSH port in your firewall. For example, port 22.
  4. Navigate to /opt/MicroStrategy/ServicesRegistration/yaml/ and open the installation_list.yaml file.
  5. Make the following modifications:
    • Modify "CommonPath" to the MicroStrategy Common Files installation directory. By default, this is /var/opt/MicroStrategy.
    • Modify "InstallType" to 1.
    • Modify "Port" to use your SSH server's port number.
    • Modify "version" to use your MicroStrategy version number.
    Copy
    ---
    service:
      Name: "SSH-Server"
      ID: "SSH-Server"
      CommonPath: /var/opt/MicroStrategy
      InstallType: 1
      Port: 22
      Tags:
        "version": "11.2.0000.0123"
  1. Navigate to /opt/MicroStrategy/ServicesRegistration/jar and run the following command to generate a new JSON file for the SSH Server.

    Copy
    # java -jar svcsreg-admin.jar parse SSH-Server

    Your newly generated JSON file is located in /opt/MicroStrategy/ServicesRegistration/config.

  2. Restart MicroStrategy Services Registration using the following command:

    Copy
    # java -jar <MSTR_INSTALL_PATH>/ServicesRegistration/jar/svcsreg-admin.jar control consul restart
  3. Open the Topology view in Workstation. Now you can start and stop services.

Related Topics

Installing and Configuring Topology