Creating a configuration file for Tuxedo
The easy part is over now and Python will not help us with the next step. We have to create a Tuxedo configuration file, and here is the shortest one that gets the job done. There are no restrictions in terms of the filename, but the Tuxedo documentation calls it ubbconfig
, so we will use the same name:
*RESOURCES MASTER tuxapp MODEL SHM IPCKEY 32769 *MACHINES "63986d7032b1" LMID=tuxapp TUXCONFIG="/home/oracle/code/02/tuxconfig" TUXDIR="/home/oracle/tuxhome/tuxedo12.2.2.0.0" APPDIR="/home/oracle/code/02" *GROUPS GROUP1 LMID=tuxapp GRPNO=1 *SERVERS "toupper.py" SRVGRP=GROUP1 SRVID=1 REPLYQ=Y MAXGEN=2 RESTART=Y GRACE=0 CLOPT="-s TOUPPER:PY"
A Tuxedo configuration file consists of several sections. Each section starts with an asterisk ("*
") and is followed...