Hi:

          When I use STAX(3.4.3) to control remote host to execute unzip
program("unzip createnv.zip -d /tmp"), I found the following problem.
The program seems just hanging there. My control host(on which STAX is
installed) is in China, and controlled host is US.
          When I try putting both control host and controlled host in
China, I found it works well. Also when I try putting both control host
and controlled host in US, it also works well. Only when I use the
machine in China to control the host in US, the process will hang up.
What's more, if I do not use STAX, just use STAF on China machine to
control remote host in US, It could end normally in about 15 seconds.

          The bad network between China and US might be one reason for
this problem. But Why STAF could work while STAX could not? By using
STAX, there are more communications between control machine and
controlled machine than by STAF? Do you have some good ideas how could I
avoid it? Thank you.

          My parameters in STAX to execute command is like following:
    <function name="startcommand">

        <function-prolog>
            This function is to start jcmts
        </function-prolog>
        <function-map-args>
              <function-required-arg name="command">
                the command to be executed
            </function-required-arg>
            <function-required-arg name="parameters">
                the command parameters
            </function-required-arg>
            <function-optional-arg name="machine" default="'local'">
                the name of machine where the test process should run
            </function-optional-arg>
            <function-optional-arg name="processName" default="'A Process'">
                The name of the process.
            </function-optional-arg>
        </function-map-args>
        <sequence>
            <process name="processName">
                <location>machine</location>
                <command>command</command>
                <parms>parameters</parms>
               
<env>'LD_LIBRARY_PATH=/usr/local/lib:/opt/seagull/build-1.8.1'</env>
                <stderr mode="'stdout'"/>
                <returnstdout/>
            </process>



BRs
William 

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to