Solaris System Management Agent Administration Guide

Removing Packages

If you remove the packages that are mentioned in this chapter, you remove all files related to the System Management Agent.


Note –

Ensure that you stop the System Management Agent before uninstalling it. Failure to stop the agent before removing the packages can cause agent files in various locations to remain installed even after the packages are removed. Stop the agent before removing packages, to remove those files created the first time that the agent was initially started. For information about stopping the agent, see Starting and Stopping the System Management Agent.


Before uninstalling any packages, log in as root. Then use the following procedure to uninstall the packages.

Provided that you stopped the System Management Agent before removing these SUNW packages, the following files and their persistent stores are removed if they exist:

ProcedureTo Uninstall the Packages of the System Management Agent

  1. As root, stop the SMA service.


    # svcadm disable svc:/application/management/sma:default
    
  2. Remove the SUNWsmaS package.


    # pkgrm SUNWsmaS
    
  3. Remove the SUNWsmdoc package.


    # pkgrm SUNWsmdoc
    
  4. Remove the SUNWsmcmd package.


    # pkgrm SUNWsmcmd
    
  5. Remove the SUNWsmmgr package.


    # pkgrm SUNWsmmgr
    
  6. Remove the SUNWsmagt package.


    # pkgrm SUNWsmagt