Dynamically modify the configuration of the Tuxedo application system (transfer from BEA)

xiaoxiao2021-03-06  40

The TMCONFIG command is provided in Tuxedo to dynamically modify the configuration of the Tuxedo application system. Its usage is as follows:

(1) Set an environment variable editor: set editor = c: //winnt//notepad.exe (of course, you can also specify other popular text compilers, the following NOTEPAD as an example)

(2) Perform a C: / TuxDemo / TMCONFIG command in the DOS mode.

Section: 1) RESOURCES, 2) Machines, 3) Groups, 4) Servers

5) Services 6) NetWork 7) Routing Q) Quit 9) WSL

10) NetGroups 11) NETMAPS 12) Interfaces [1]: 4

(3) If you want to operate in the Servers section, select 4.

(4) Select 4 in the operation to be performed.

Operation: 1) First 2) Next 3) Retrieve 4) Add 5) Update

6) Clear Buffer 7) Quit [1]: 4

(5) When prompted to edit with the specified text editor, select Y.

Enter Editor To Add / Modify Fields [N]? Y

(6) Enter in the text editor (please refer to Tuxedo online documentation):

TA_SERVERNAME D: //tuxdemo//simpapp/simpserv.exe

TA_SRVGRP Group1

TA_SRVID 22

(7) Save and close the text editor.

(8) Select Y in the following prompt to take effect.

Perform Operation [y]? y

Return Value Taupdated

Buffer contents:

TA_OPERATION 4

TA_SECTION 3

TA_STATUS UPDATE COMPLED SUCCESSFULLY

TA_OCCURS 1

TA_BASESRVID 22

TA_GRACE 86400

TA_GRPNO 1

TA_MAX 1

TA_MAXGEN 1

TA_MIN 1

TA_RPPERM 438

TA_RQPERM 438

TA_SEQUENCE 10006

TA_SRVID 22

TA_STATE INACTIVE

TA_CLOPT -A

TA_CONV N

TA_ENVFILE

TA_RCMD

TA_REPLYQ N

TA_RESTART N

TA_RQADDR 00001.00022

TA_SERVERNAME D: //tuxdemo//simpapp/simpserv.exe

TA_SYSTEM_ACCESS FASTPATH

TA_SRVGRP Group1

(9) If ta_state is inactive, you can select 4.

Section: 1) Resource, 2) Machines, 3) Groups 4) Servers

5) Services 6) NetWork 7) Routing Q) Quit 9) WSL

10) NetGroups 11) NETMAPS 12) Interfaces [1]: 4

(10) Select 5 to modify the configuration.

Operation: 1) First 2) Next 3) Retrieve 4) Add 5) Update

6) Clear Buffer 7) Quit [1]: 5

(11) When prompted to edit with a text editor, select Y.

Enter Editor To Add / Modify Fields [N]? Y

(12) Change Inactive to Active in the text editor, save the modification and exit the text editor.

(13) Select Y in the following prompt to make the change take effect.

Perform Operation [y]? y

Return Value Taupdated

Buffer contents:

TA_OPERATION 5

TA_SECTION 3

TA_STATUS UPDATE COMPLED SUCCESSFULLY

TA_OCCURS 1

TA_BASESRVID 22

TA_GRACE 86400

TA_GRPNO 1

TA_MAX 1

TA_MAXGEN 1

TA_MIN 1

TA_RPPERM 438

TA_RQPERM 438

TA_SEQUENCE 10006

TA_SRVID 22

TA_STATE ACTIVE

TA_CLOPT -A

TA_CONV N

TA_ENVFILE

TA_RCMD

TA_REPLYQ N

TA_RESTART N

TA_RQADDR 00001.00022

TA_SERVERNAME D: //tuxdemo//simpapp/simpserv.exe

TA_SYSTEM_ACCESS FASTPATH

TA_SRVGRP Group1

(14) Select Q to exit.

Section: 1) Resource, 2) Machines, 3) Groups 4) Servers

5) Services 6) NetWork 7) Routing Q) Quit 9) WSL

10) NetGroups 11) NETMAPS 12) Interfaces [1]: Q

(15) If you want to save the modification to the Ubbconfig file, enter the Ubbconfig file name in the following prompt.

UNLOAD TUXCONFIG FILE INTO BACKUP UBB [Y]? N

At this point, a server is added to the TMConfig.

[Note]: This method is not for all modifications. If you change the MSSQ to MSSQ, it will not pass this way.

转载请注明原文地址:https://www.9cbs.com/read-62335.html

New Post(0)