Running the ICFM sudoers-enabled control scripts

After you add the sudoers definitions to the server's structure, you must run the ICFM control scripts to enable the cfmadmin user to stop and start ICFM services.

Procedure

To run the ICFM sudoers-enabled control scripts, select the instructions for your particular topology:

  • Single server topology:
    Log in or switch to the cfmadmin user and then run the ICFM.1.sudo-ctl-all.sh script on the ICFM server:
    # ./icfm.1.sudo-ctl-all.sh stop | start
    
    cd /opt/IBM/icfm/2.0/bin
    ./icfm.1.sudo-ctl-all.sh start
  • Three server topology:

    Choose one of the following options. You can either run a separate script on each server (Analytics, Core, and Data), or run a common control script from any of the three ICFM servers.

    • Option 1: Log in or switch to the cfmadmin user and then run each of the following scripts on the server indicated:
      • Analytics server – ICFM.3.sudo-ctl-analytic-all.sh
      • Core server – ICFM.3.sudo-ctl-core-all.sh
      • Data server – ICFM.3.sudo-ctl-data-all.sh
      For example, as the cfmadmin user on the Core server, enter the following commands:
      # ./icfm.3.sudo-ctl-core-all.sh stop | start | status
      
      cd /opt/IBM/icfm/2.0/bin
      ./icfm.3.sudo-ctl-core-all.sh stop
    • Option 2: Log in or switch to the cfmadmin user and then run the ICFM.3.sudo-ctl.sh script.
      This option calls the server-specific control script on the appropriate server. For example, as the cfmadmin user from any server, enter the following commands:
      # ./icfm.3.sudo-ctl.sh stop | start | status icfm_server_type
      
      cd /opt/IBM/icfm/2.0/bin
      ./icfm.3.sudo-ctl.sh start data
      Where valid icfm_server_type values are analytic, core, and data.