Created On: 11 February 2011
Problem:
There is no uninstall script to remove the Enterprise Server, Server for SOA or Server for Enterprise Edition products on any of the UNIX platforms.
Resolution:
The Enterprise Server (ES) product was introduced/made available from v4.0 onwards. Since then the name has changed to Server for SOA or Server for Enterprise Edition depending on the version purchased.
- Logon as the ES Admin user and stop any running Enterprise Servers either via the ES Admin webpage or the "casstop" command: casstop -rESNAME or casstop /rESNAME where ESNAME is the name of the enterprise server to stop.
- Cd to the $COBDIR/bin directory and run the command to stop the Enterprise Server License Manager (eslm): ./eslmfgetpv k
Or stop the "eslm" process by using the "ps -ef | grep eslm" command to locate this process and use the "kill -9" command to remove this process. Use the "kill -9" command with caution and only if you are unable to stop the Enterprise Server License Manager using the "eslmfgetpv k" command.
Note: the COBDIR environment variable is set to the location of the "cobol" installation, see below the default "cobol" directory unless the user customized the installation path.
- Shut down MFDS using the 'Shut Down' link on the left hand side menu of the Enterprise Server Admin webpage. Or stop the "mfds" process by using the "ps -ef | grep mfds" command to locate this process and use the "kill -9" command to remove this process. Again, use the "kill -9" command with caution and only if you are unable to stop the MFDS vis the 'Shut Down' link.
- Delete the $COBDIR product directory and its subdirectories.
From v4.0 onwards, the default COBOL directory is /opt/microfocus/cobol (for all systems)
- Delete the Enterprise Server regions and log directories (default: /var/mfcobol/es and /var/mfcobol/logs)
- Delete the apptrack licensing system directory (/var/mfaslmf) and the "aslmfsem" file located in the /var directory
- Delete any startup scripts created to start up mfds or eslm at boot time from the /etc directory (e.g. the "mfdsrcscript" and "mfeslmrcscript" files)
- Remove the any reference to these startup scripts in the "inittab" file:
E.g.
mFds:2345:wait:sh /etc/mfdsrcscript > /dev/null 2>&1
mFes:2345:wait:sh /etc/mfeslmrcscript > /dev/null 2>&1
- Remove any references to the COBOL installation from the PATH and LD_LIBRARY_PATH/LIBPATH/SHLIB_PATH environment variables in any users scripts or ".profile",
as well as any COBOL environment variables such as COBCPY, COBDATA, COBDIR, COBIDY, COBMODE, COBPATH, etc
- Remove the ES Admin user and group, if these are specifically setup for ES use only.
- Logon as the ES Admin user and stop any running Enterprise Servers either via the ES Admin webpage or the "casstop" command: casstop -rESNAME or casstop /rESNAME where ESNAME is the name of the enterprise server to stop.
- Cd to the $COBDIR/bin directory and run the command to stop the Enterprise Server License Manager (eslm): ./eslmfgetpv k
Or stop the "eslm" process by using the "ps -ef | grep eslm" command to locate this process and use the "kill -9" command to remove this process. Use the "kill -9" command with caution and only if you are unable to stop the Enterprise Server License Manager using the "eslmfgetpv k" command.
Note: the COBDIR environment variable is set to the location of the "cobol" installation, see below the default "cobol" directory unless the user customized the installation path.
- Shut down MFDS using the 'Shut Down' link on the left hand side menu of the Enterprise Server Admin webpage. Or stop the "mfds" process by using the "ps -ef | grep mfds" command to locate this process and use the "kill -9" command to remove this process. Again, use the "kill -9" command with caution and only if you are unable to stop the MFDS vis the 'Shut Down' link.
- Delete the $COBDIR product directory and its subdirectories.
From v4.0 onwards, the default COBOL directory is /opt/microfocus/cobol (for all systems)
- Delete the Enterprise Server regions and log directories (default: /var/mfcobol/es and /var/mfcobol/logs)
- Delete the apptrack licensing system directory (/var/mfaslmf) and the "aslmfsem" file located in the /var directory
- Delete any startup scripts created to start up mfds or eslm at boot time from the /etc directory (e.g. the "mfdsrcscript" and "mfeslmrcscript" files)
- Remove the any reference to these startup scripts in the "inittab" file:
E.g.
mFds:2345:wait:sh /etc/mfdsrcscript > /dev/null 2>&1
mFes:2345:wait:sh /etc/mfeslmrcscript > /dev/null 2>&1
- Remove any references to the COBOL installation from the PATH and LD_LIBRARY_PATH/LIBPATH/SHLIB_PATH environment variables in any users scripts or ".profile",
as well as any COBOL environment variables such as COBCPY, COBDATA, COBDIR, COBIDY, COBMODE, COBPATH, etc
- Remove the ES Admin user and group, if these are specifically setup for ES use only.
Old KB# 33692
#EnterpriseDeveloper
#MFDS