summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornilabjar <nilabjar@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2008-01-07 15:54:11 +0000
committernilabjar <nilabjar@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2008-01-07 15:54:11 +0000
commitd98781ef482a364e72b53fd90355e394a246cce4 (patch)
tree2ac39b600fa9e15c028ab9fba99d5014a03ad9b1
parent425bf0db071679a9968e01226e0c3976417276d9 (diff)
downloadATCD-d98781ef482a364e72b53fd90355e394a246cce4.tar.gz
-rwxr-xr-xCIAO/examples/space/descriptors/run_NodeManager_Nish.pl24
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);