IBM Support

Disable or Remove pconsole and/or WebSM filesets

Question & Answer


Question

How do I disable or remove the pconsole or WebSM file sets?
Notice:
The legacy IBM AIX components pConsole and WebSM will no longer be supported for AIX 6.1 and AIX 7.1 after 15 June 2019
Target Audience:    

AIX System Administrators who wish to disable or remove either of these remote access system administration features:

  •     IBM System Director Console for AIX (pconsole) for AIX 6.1 and 7.1
  •     Web-based System Manager (WebSM) Remote Client for AIX 5.3 and 6.1

Answer

Disable
1) Stop the services.
AIX 5.3:
# stopsrc -s http4websm
AIX 6.1
# stopsrc -s http4websm # stopsrc -s pconsole
AIX 7.1
# stopsrc -s pconsole
2) Verify the services are inoperative.
# lssrc -a | egrep "pconsole|webserverstart"
3) Remove or comment out each entry for the command from /etc/inittab, to prevent the service from restarting after a reboot.

Two methods are provided:

A) Use the vi editor.
# vi /etc/inittab
Insert the colon (":") character before the identifier to disable the startup:
For example:
AIX 7.1:
:webserverstart:2:once:startsrc -s http4websm >/dev/null 2>&1
:pconsole:2:once:/usr/bin/startsrc -s pconsole > /dev/null 2>&1
* Note: the WebSM entries in inittab were removed from default inittab configuration in AIX 5.3.11.0 and 6.1.4.0
B) Use a simple perl one-liner to back up the inittab and make the changes.
# perl -pi.`date +"%Y%m%d"`.save -e 's/pconsole:2/:pconsole:2/g';'s/webserverstart:2/:webserverstart:2/g' /etc/inittab

Remove

1) Stop the services.
# stopsrc -s http4websm
# stopsrc -s pconsole
2) Preview the removal of the services.
# installp -gup sysmgt.pconsole
# installp -gup sysmgt.websm
3) You can now safely remove the services without a need to reboot after removal.
# installp -gu sysmgt.websm
# installp -gu sysmgt.pconsole
NIM Guidance
To prevent installation of the pconsole in NIM:
Navigate to the lpp_source directory and move the file sets out of the source directory.
For example:
# cd /export/lpp_source/lpp7100-05-03/installp/ppc
# mkdir director_save.dir
# mv lwi.runtime sysmgt.pconsole* artex.base.agent director_save.dir
This moves the following file sets out of the lpp_source:
lwi.runtime (Lightweight Infrastructure Runtime)
sysmgt.pconsole.apps.pda
sysmgt.pconsole.apps.wdcem
sysmgt.pconsole.apps.wrbac
sysmgt.pconsole.apps.wsmit
sysmgt.pconsole.rte artex.base.agent
** Related Director file sets are no longer supported, and can also be removed from the lpp_source:
# mv DirectorCommonAgent* DirectorPlatformAgent* sysmgt.cim.* sysmgt.cimserver* cas.agent director_save.dir
This moves the following file sets out of the lpp_source:
DirectorCommonAgent (All required files of Director Common Agent, including JRE, LWI)
DirectorPlatformAgent (Director Platform Agent for IBM Systems Director on AIX)
sysmgt.cim.providers.metrics (Metrics Providers for the AIX operating system)
sysmgt.cim.providers.osbase (Base Providers for the AIX operating system)
sysmgt.cim.providers.scc (Security Control Compliance Providers for the AIX operating system)
sysmgt.cim.providers.smash (Smash Providers for the AIX operating system)
sysmgt.cim.smisproviders.hba_hdr (SMI-S HBA&HDR Providers for the AIX operating system)
sysmgt.cim.smisproviders.hhr (SMI-S HHR Providers for the AIX operating system)
sysmgt.cim.smisproviders.vblksrv (SMI-S Storage Virtualizer Providers for the AIX operating system)
sysmgt.cimserver.pegasus.rte (Pegasus CIM Server Runtime Environment)
cas.agent (Common Agent Services Agent)

Once you remove the file sets, you must rebuild the .toc file.
# inutoc .
SUPPORT:

IMPORTANT NOTICE:  Effective April 2018, IBM no longer supports IBM System Director.  Limited assistance is available to help remove the product from supported AIX systems.  

If you require more assistance, use the following step-by-step instructions to contact IBM to open a case for software with an active and valid support contract.  

1. Document (or collect screen captures of) all symptoms, errors, and messages related to your issue.

2. Capture any logs or data relevant to the situation.

3. Contact IBM to open a case:

   -For electronic support, see the IBM Support Community:
     https://www.ibm.com/mysupport
   -If you require telephone support, see the web page:
      https://www.ibm.com/planetwide/

4. Provide a clear, concise description of the issue.

 - For more information, see: Working with IBM AIX Support: Describing the problem.

5. If the system is accessible, collect a system snap, and upload all of the details and data for your case.

 - For more information, see: Working with IBM AIX Support: Collecting snap data

[{"Product":{"code":"SWG10","label":"AIX"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Not Applicable","Platform":[{"code":"PF002","label":"AIX"}],"Version":"5.3;6.1;7.1","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
15 December 2021

UID

isg3T1024531