diff options
author | nilabjar <nilabjar@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2008-01-07 15:54:11 +0000 |
---|---|---|
committer | nilabjar <nilabjar@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2008-01-07 15:54:11 +0000 |
commit | d98781ef482a364e72b53fd90355e394a246cce4 (patch) | |
tree | 2ac39b600fa9e15c028ab9fba99d5014a03ad9b1 | |
parent | 425bf0db071679a9968e01226e0c3976417276d9 (diff) | |
download | ATCD-d98781ef482a364e72b53fd90355e394a246cce4.tar.gz |
-rwxr-xr-x | CIAO/examples/space/descriptors/run_NodeManager_Nish.pl | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/CIAO/examples/space/descriptors/run_NodeManager_Nish.pl b/CIAO/examples/space/descriptors/run_NodeManager_Nish.pl new file mode 100755 index 00000000000..6cdba09ebee --- /dev/null +++ b/CIAO/examples/space/descriptors/run_NodeManager_Nish.pl @@ -0,0 +1,24 @@ +eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' + & eval 'exec perl -S $0 $argv:q' + if 0; + +$NS_HOST = "roon.dre.vanderbilt.edu"; +$NS_PORT = 40000; +$HOST = "$ENV{'HOSTNAME'}"; +$PORT = 30000; +use lib "$ENV{'ACE_ROOT'}/bin"; +use PerlACE::Run_Test; + +$CIAO_ROOT=$ENV{'CIAO_ROOT'}; + + +# Set up NamingService environment +$ENV{"NameServiceIOR"} = "corbaloc:iiop:$NS_HOST:$NS_PORT/NameService"; + + +$SV1 = new PerlACE::Process ("$CIAO_ROOT/DAnCE/NodeManager/NodeManager", + "-ORBEndpoint iiop://$HOST:$PORT -ORBInitRef NameService=corbaloc:iiop:$NS_HOST:$NS_PORT/NameService -c svc_node_manager.conf -s $CIAO_ROOT/DAnCE/NodeApplication/NodeApplication -d 10"); + +$SV1->Spawn (); + +sleep (99999999999); |