3 Replies Latest reply: Apr 12, 2012 8:56 AM by Todd Little-Oracle RSS

    Force shutdown user/client

    927871
      Hi All,

      As Tuxedo Force shutdown client/user after some time mention in the WSL parameter.

      Is there any way we can do manually (by executing any command or script) force shutdown client/user immediately?

      Thanks & regards,
      Pras
        • 1. Re: Force shutdown user/client
          Todd Little-Oracle
          Hi Pras,

          You should be able to use the Tuxedo MIB to kill clients. Try setting the state of the client to DEAD, or more cleanly set it to SUSpended first, and then set it to dead. I believe that will kill the workstation connection.

          Regards,
          Todd Little
          Oracle Tuxedo Chief Architect
          • 2. Re: Force shutdown user/client
            927871
            Hi Todd,

            Thanks for your valuable reply.

            Do you have sample program/code for this solution?

            regards,
            Pras
            • 3. Re: Force shutdown user/client
              Todd Little-Oracle
              Hi Pras,

              I don't have such a program, although if you search through this forum, you should be able to find examples of using the Tuxedo MIB. Essentially you create an FML32 buffer with the specific MIB request and call the .TMIB service. What fields you need to set depend upon the operation and can be found in the MIB documentation portion of the Tuxedo documentation set. The MIB is described here: http://docs.oracle.com/cd/E26665_01/tuxedo/docs11gr1/rf5/rf5.html#wp1495410

              Essentially you need to set the TA_CLASS field to T_CLIENT, the TA_STATE to DEAd, the TA_OPERATION to SET, and the TA_CLIENTID to the client ID of the client you want to disconnect.

              Regards,
              Todd Little
              Oracle Tuxedo Chief Architect