Appendix D. De-installing EnlightenDSM

You must de-install EnlightenDSM on a local host. There is no multiple network de-installation facility. To de-install EnlightenDSM,

  1. Log in as a root user.

  2. cd into the enlighten directory. If the EMD is the only component installed on the local host, cd into the EMD directory.


    Note: If you forgot where EnlightenDSM is installed on the local host, type the following command:

    grep enlighten= /etc/enlighten

    Or, for the EMD directory:

    grep emd_dir= etc/enlighten

    or cat the /etc/enlighten file.


  3. Type the command:

    ./.deinstall
    

  4. Follow the instructions on screen as you are prompted.

Here's a sample de-install:

$ su
Password:
# grep enlighten= /etc/enlighten
enlighten=/opt/enlighten
# cd /opt/enlighten
# ./.deinstall
.deinstall: Are you sure you want to deinstall Enlighten? [y|n|exit] y
.deinstall: Killing the following Enlighten processes:
PID TTY      TIME COMD
  2417 pts/15   0:08 xenln
stop_enl_daemons: Killing the following Enlighten daemons:
PID TTY      TIME COMD
  2506 ?        0:04 AgentMon
  2468 pts/25   0:00 e_tokend
  2494 pts/25   0:00 AgentENL
  2407 ?        0:00 renld
stop_enl_daemons: Waiting for daemons to shut down.......
stop_enl_daemons: Finished.
stop_enl_daemons: Waiting for daemons to shut down..
stop_enl_daemons: Finished.
.deinstall: Remove Enlighten references from /etc/rc2.d/s92startenl?
.deinstall: [y|n|exit] (default is `y') > y
.deinstall: /etc/rc2.d/s92startenl was archived to /tmp/s92startenl.old
.deinstall: Recursively remove the Enlighten directory /opt/enlighten?
.deinstall: [y|n|exit] (default is `y') > y
.deinstall: Removed /etc/enlighten.
.deinstall: Successfully finished deinstalling Enlighten.