Installing and uninstalling Netcool Impact Auto Start on UNIX/Linux
Netcool Impact Auto Start allows you to start Impact servers on system startup.
The following procedures describe how to install and uninstall Netcool Impact Auto Start.
root access. This is because the location where the files are generated and their
final locations is a file system set of directories that non-root users will not have access to add
or edit.Installing Impact Auto Start
To install Netcool Impact Auto Start on UNIX and Linux platforms that are not using systemd, use the following steps:
- Open the command line prompt.
- Login as root by typing:
su - root - Change to the following directory:
IMPACT_HOME/install/startup - Run the following command:
./install_autostart.sh - At the prompt, type
Y - At second prompt, type
Yto installautostartupfor thejrexecserver.Note: For an Impact GUI server only, there is no prompt to install the JRExec startup.
Configuring Auto Start for Systemd
To create the script and services needed for auto start of Impact for use with systemd, you must use the create_systemd_startup.sh script. As the impact install user:
-
Change to the following directory:
IMPACT_HOME/install/startup -
Run the following command:
./create_systemd_startup.sh -
At the prompt, type Y
-
At the second prompt, type Y to install
autostartupfor the jrexec server.This will create a new directory IMPACT_HOME/install/startup/init.d with the start scripts and service files. There will be up to three service files depending on the options and packages installed:
ncigui.service ncijrexec.service nci.serviceAs the root user, copy the desired service files from IMPACT_HOME/install/startup/init.d to /etc/systemd/system
As root, reload
systemctl:systemctl daemon-reloadAs root, enable the services you copied to /etc/systemd/system:
systemctl enable nci systemctl enable ncigui systemctl enable ncijrexec
The list of services will depend on your installation.
Uninstalling Impact Auto Start from non systemd
To uninstall Netcool Impact Auto Start from UNIX and Linux platforms, use the following steps:
- Open the command line prompt.
- Login as root by typing:
su - root - Change to the following directory:
IMPACT_HOME/install/startup - Run the following command:
./uninstall_autostart.sh - At the prompt, type
Y
Uninstalling Impact Auto Start for systemd
To uninstall Netcool Impact Auto Start for systems, use the following steps:
-
As root, change to the following directory:
/etc/systemd/system -
As root, disable the Impact related services:
systemctl disable nci systemctl disable ncigui systemctl disable ncijrexec -
As root, delete the Impact related services:
ncigui.service ncijrexec.service nci.service