Wednesday, July 31, 2013

To Clear the IPC Resources

Clear the IPC Resources using TUXEDO Command

Steps to clean IPC resources:

1) Identify the absolute path to PSTUXCFG file:
- it should be [PS_HOME]/appserv/[DOMAIN_NAME]/PSTUXCFG
- can also be found in psappsrv.ubb file, *MACHINES section and look for TUXCONFIG value.
Ex. TUXCONFIG="D:\PS\appserv\CRM\PSTUXCFG"

2) List all IPC resources used by the BEA Tuxedo system:
- open a command prompt line and go to [TUX_HOME]/bin
- run the following command:
"tmipcrm -n [TUXCONFIG]" (Ex. tmipcrm -n D:\PS\appserv\CRM\PSTUXCFG)

Result:
----------------------------------------------------------------------------------
Looking for IPC resources in TUXCONFIG file D:\PS\appserv\CRM\PSTUXCFG
The following IPC resources were found:

  Message Queues:
        2049
         ...
  Shared Memory:
        151
         ...
  Semaphores:
        17409
----------------------------------------------------------------------------------
Note: This command will not work unless you have set the TUXCONFIG environment variable correctly or specified the appropriate TUXCONFIG file on the command line.

3) Clean/remove all IPC resources used by the BEA Tuxedo system:
- open a command prompt line and go to [TUx_HOME]/bin
- run the following command:
"tmipcrm -y [TUXCONFIG]" (Ex. tmipcrm -y D:\PS\appserv\CRM\PSTUXCFG)

Result:
----------------------------------------------------------------------------------
Looking for IPC resources in TUXCONFIG file D:\PS\appserv\CRM\PSTUXCFG
The following IPC resources were found:
  Message Queues:
        2049
         ...
  Shared Memory:
        151
         ...
  Semaphores:
        17409
         ...
Removing IPC resources ...

WARN: removal of msg id 0 failed
done!

No comments:

Post a Comment