Monday, April 11, 2011

Manually uninstalling the Remote Agent for Linux or UNIX Servers


Manually uninstalling the Remote Agent for Linux or UNIX Servers
You can manually uninstall the Remote Agent for Linux or UNIX Servers from local and remote Linux or UNIX hosts.
To manually uninstall the Remote Agent for Linux or UNIX Servers

1. Use a terminal session to connect to the target Linux or UNIX server as the root user.
2. Change to the following directory:
/opt/VRTSralus/bin

3. Do one of the following:

For HP-UX operating systems:

Delete the following line if it is found in the /etc/inittab file: /opt/VRTSralus/bin/VRTSralus.init.

For all other supported Linux- or UNIX-based operating systems:

Continue with the next step.

4. Stop the Remote Agent daemon by typing the following command:
./VRTSralus.init stop

5. Remove the Remote Agent package from the Linux or UNIX host by typing the following command for the appropriate operating system:

IBM AIX
installp -u VRTSralus

Hewlett Packard HP-UX
swremove VRTSralus

Linux
rpm -e VRTSralus

Sun Solaris
pkgrm VRTSralus

6. Change back to the root directory by typing the following command:
cd /

7. Remove additional files by typing the following command:
rm -r /etc/VRTSralus /opt/VRTSralus /var/VRTSralus

8. Type y if you are prompted to descend into the directories.

9. Type y if you are prompted to delete a directory.

10. If you find the following run time scripts, remove them by typing the following commands for the appropriate operating system:

IBM AIX
rm /etc/rc.d/rc5.d/S95VRTSralus.init
rm /etc/rc.d/rc3.d/S95VRTSralus.init
rm /etc/rc.d/rc2.d/S95VRTSRalus.init
rm /etc/rc.d/VRTSralus.init

Hewlett Packard HP-UX
rm /sbin/rc3.d/S95VRTSralus.init
rm /sbin/rc2.d/S95VRTSralus.init
rm /sbin/init.d/VRTSralus.init

Red Hat Linux, Asianux
rm /etc/rc.d/rc5.d/S95VRTSralus.init
rm /etc/rc.d/rc3.d/S95VRTSralus.init
rm /etc/rc.d/rc2.d/S95VRTSralus.init
rm /etc/rc.d/init.d/VRTSralus.init

Novell Open Enterprise Server 1.0/ SUSE Linux Enterprise Server 9 (32-bit only)
/sbin/insserv -r /etc/init.d/VRTSralus.init,start=2,3,5
rm /etc/init.d/rc5.d/SxxVRTSralus.init
rm /etc/init.d/rc3.d/SxxVRTSralus.init
rm /etc/init.d/rc2.d/SxxVRTSralus.init
rm /etc/init.d/VRTSralus.init

Novell Open Enterprise Server 2.0/ SUSE Linux Enterprise Server 10 (32-bit and 64-bit)
/sbin/insserv -r /etc/init.d/VRTSralus.init,start=2,3,5
rm /etc/init.d/VRTSralus.init

Solaris
rm /etc/rc2.d/S95VRTSralus.init
rm /etc/rc2.d/S91VRTSralus.init
rm /etc/init.d/VRTSralus.init

No comments: