Hi David, I tried to do as you said , configured the STAX Monitor in remote machine as STAX server machine (master machine where my staf job would run).
The set up is like this :baksa03-xp.ca.com Client machine a: etr6506l3-sun66.ca.com Client machine b :*divso01-2k3s.ca.com* ** *Staf job start at baksa03-xp.ca.com tries to connect to clinet machine a and runs tests there.* ** *I want to run STAX Monitor from client machine b divso01-2k3s.ca.com* ** *When i run stax monitor on client machine b , i do start seeing the job started , so i do get logs* *but i do not get them properly as i do get them on server machine.* ** Server machine : The configuration in STAF master machine is : ============================================= # Turn on tracing of internal errors and deprecated options trace enable tracepoints "error deprecated" # Enable TCP/IP connections #interface ssl library STAFTCP option Secure=Yes option Port=6550 interface tcp library STAFTCP option Secure=No option Port=6500 # Set default local trust trust machine local://local level 5 # Add default service loader serviceloader library STAFDSLS # Add stax servcies SERVICE STAX LIBRARY JSTAF EXECUTE C:\STAF\services\stax\stax.jar SET MAXQUEUESIZE 10000 TRUST LEVEL 4 MACHINE tcp://155.35.7.24 service event library JSTAF execute C:/staf/services/stax/STAFEvent.jar MACHINENICKNAME testmachine1 SET DATADIR C:\MyDir SET SYSTEM VAR Test/TestABC=websphere SET SYSTEM VAR Test/TestXYZ=150 #TRUST LEVEL 4 MACHINE tcp://155.35.7.24 TRUST LEVEL 4 MACHINE tcp://etr6506l3-aix81.ca.com TRUST LEVEL 4 MACHINE tcp://155.35.3.226 TRUST LEVEL 4 MACHINE tcp://155.35.3.93 TRUST LEVEL 4 MACHINE tcp://etr6506l3-sun76.ca.com TRUST LEVEL 4 MACHINE tcp://etr6506l3-sun66.ca.com TRUST LEVEL 4 MACHINE tcp://etrhux53.ca.com TRUST LEVEL 4 MACHINE tcp://etr6506l3-sun69.ca.com TRUST LEVEL 4 MACHINE tcp://etrhux61.ca.com TRUST LEVEL 4 MACHINE tcp://etr6506l3-aix86.ca.com TRUST LEVEL 4 MACHINE tcp://etr6506l3-sun94.ca.com TRUST LEVEL 4 MACHINE tcp://etrhl09.ca.com *TRUST LEVEL 4 MACHINE tcp://divso01-2k3s.ca.com * The configuration in Remote machine(dicso01-2k3s.ca.com) where i want to run the STAX Monitor and see the logs : # Turn on tracing of internal errors and deprecated options trace enable tracepoints "error deprecated" # Enable TCP/IP connections #interface ssl library STAFTCP option Secure=Yes option Port=6550 interface tcp library STAFTCP option Secure=No option Port=6500 # Add default service loader serviceloader library STAFDSLS # Add stax servcies SERVICE STAX LIBRARY JSTAF EXECUTE C:/STAF/services/stax/stax.jar SET MAXQUEUESIZE 10000 service event library JSTAF execute C:/staf/services/stax/STAFEvent.jar MACHINENICKNAME testmachine5 SET DATADIR C:\MyDir SET SYSTEM VAR Test/TestABC=websphere SET SYSTEM VAR Test/TestXYZ=150 *TRUST LEVEL 5 MACHINE tcp://baksa03-xp.ca.com* I do see job in the STAX Monitor running at remote machine divso01-2k3s.ca.com when actually the staf job is started on server machine . So we do seem to get some information, but not properly. I get the following error when i right click on job record showing and click start monitoring(on remote clietn machine) : RC:25 Error holding Job Trust level 4 required for the STAX service's HOLD request Requester has trust level 3 on machine baksa03-xp.ca.com Requesting machine: tcp://divso01-2k3s.ca.com (155.35.5.235) Requesting user : none://anonymous Please do let me know if there is anything i am missing. Regards Sangram On Thu, Mar 18, 2010 at 6:53 PM, David Bender <bda...@us.ibm.com> wrote: > Yes, you can run the STAX Monitor from any number of remote machines. > After starting the STAX Monitor, click on "File" and then "Properties". In > the "Machine Info" tab, in the "STAX Machine" section you can change the > value from "local" to the hostname of the remote machine where the STAX > service is running (note that you will need to restart the STAX Monitor > after changing the STAX service machine). > > The STAX Job logs and STAX Job User logs can be accessed without using the > STAX Monitor, via the LOG service. So, if your STAX service machine was " > stax1.austin.ibm.com" and you wanted to query the logs for job ID 3, you > would run the following: > > STAF stax1.austin.ibm.com LOG QUERY MACHINE {STAF/Config/MachineNickname} > LOGNAME STAX_Job_3 > STAF stax1.austin.ibm.com LOG QUERY MACHINE {STAF/Config/MachineNickname} > LOGNAME STAX_Job_3_User > > See the "STAX Logging" section of the STAX User's Guide for more > information: > http://staf.sourceforge.net/current/STAX/staxug.html#Header_StaxLogging > > Thanks, > David > > ------------------------------ > *David > Bender*<http://w3.ibm.com/bluepages/simpleSearch.wss?searchBy=Name&searchFor=David+Bender> > STAF/STAX Development > IBM Software Group, WPLC > 11501 Burnet Rd. > Bldg. 903-5B002 > Austin, TX 78758-3400 > Phone (T/L): 1-512-286-5315 (363-5315) > ITN: 23635315 > Email: *bda...@us.ibm.com* <bda...@us.ibm.com> > > ------------------------------ > > > [image: Inactive hide details for Sangram Bakshi ---03/18/2010 05:10:51 > AM---Also i would like to know if there is any configuration or]Sangram > Bakshi ---03/18/2010 05:10:51 AM---Also i would like to know if there is any > configuration or command which logs the monitoring data in > > > From: > Sangram Bakshi <san...@gmail.com> > To: > staf-users@lists.sourceforge.net > Date: > 03/18/2010 05:10 AM > Subject: > Re: [staf-users] Regarding STAX Monitor. > ------------------------------ > > > > > Also i would like to know if there is any configuration or command which > logs the monitoring data into a file into the master machine , or any > command which can be run from client machine to get the job monitoring logs > into a file . > > This information would be very helpful to me . Thanks. > > > Regards > Sangram > > On Thu, Mar 18, 2010 at 2:53 PM, Sangram Bakshi > <*san...@gmail.com*<san...@gmail.com>> > wrote: > > Hi , > > In my set-up , we have a master machine from which a staf job runs and > triggers tasks on various client machine. > I am able to run stamonitor in the master machine and watch the > monitoring. > > I am required to run the stax monitor in client machine as well and see > all the monitoring job id wise . > > I would like to ask if it is possible to see the stax monitor running > in the client machine. > Also if it is not possible then what i can do to run the stax monitor > in the client machine and see the monitoring information. > > Kindly suggest. > > > Regards > Sangram > > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > staf-users mailing list > staf-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/staf-users > > >
<<ecblank.gif>>
<<graycol.gif>>
------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev
_______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users