Installing Z ChatOps with native installation package

You can install IBM Z® ChatOps via native installation package by running several commands.

Procedure

  1. Change directory to where you unpack the package file Z-ChatOps-v1131.tar.gz or Z-ChatOps-v113.tar.gz.
  2. Run the command ./zchatops.sh install your Z ChatOps home directory.
    This command will install IBM Z ChatOps in the Z ChatOps home directory. If the Z ChatOps home directory does not exist, the script will create it automatically. This command will also create a file /etc/profile.d/zchatops.sh to export the environment variable ZCHATOPS_HOME.
    Note: The your Z ChatOps home directory should be full path of directory
  3. Restart your terminal or access session to make the environment variable ZCHATOPS_HOME effective.
  4. Verify your installation with commands.
    Run the command bnzsvr. If you see the following command help, your installation is completed.
    bnzsvr 
    Usage: /opt/ibm/zchatops/bin/bnzsvr <start | stop | restart | status>
    Example: /opt/ibm/zchatops/bin/bnzsvr start      - Start IBM Z ChatOps server
             /opt/ibm/zchatops/bin/bnzsvr stop       - Stop IBM Z ChatOps server
             /opt/ibm/zchatops/bin/bnzsvr restart    - Restart IBM Z ChatOps server
             /opt/ibm/zchatops/bin/bnzsvr status     - Show the status of IBM Z ChatOps server
    
    Note: IBM Z ChatOps creates five user accounts by default: admin with the role as admin, izoa, zsa, zws and omegamon with the role as integrator, and bnzsvr with the role as user. You need these user accounts to post incidents and integrate Z ChatOps with other products. You can manage these user accounts through the swagger UI where the default passwords for all users are bnz4you!. For details, see Managing user account password of Z ChatOps Microservice.

Results

Your IBM Z ChatOps is successfully installed.

What to do next

You need to configure Z ChatOps before you can use it. For details, see Configuring IBM Z ChatOps.