-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstart_corba_SJF.sh
30 lines (28 loc) · 1.86 KB
/
start_corba_SJF.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash
# -----------------------------------------------------------------------------
# Example script to start CORBA name and event services
#
# Original Author: Stephen Fegan
# $Author: sfegan $
# $Date: 2006/04/04 17:06:57 $
# $Revision: 2.0 $
# $Tag$
# -----------------------------------------------------------------------------
#rm -f /tmp/omninames*
#omniNames -start -logdir /tmp &
#sleep 2
#rm /tmp/omnievents*
#/usr/local/sbin/omniEvents -l /tmp -ORBInitRef NameService=corbaname::127.0.0.1
#sleep 2
eventc -ORBInitRef NameService=corbaloc::127.0.0.1/NameService -n SerialTrackingEventChannel -v
nameclt -ior corbaname::127.0.0.1 bind_new_context VERITAS
nameclt -ior corbaname::127.0.0.1 bind_new_context VERITAS/serial_tracking.Program
nameclt -ior corbaname::127.0.0.1 bind_new_context VERITAS/serial_tracking0.Program
nameclt -ior corbaname::127.0.0.1 bind_new_context VERITAS/serial_tracking1.Program
nameclt -ior corbaname::127.0.0.1 bind_new_context VERITAS/serial_tracking2.Program
nameclt -ior corbaname::127.0.0.1 bind_new_context VERITAS/serial_tracking3.Program
nameclt -ior corbaname::127.0.0.1 bind VERITAS/serial_tracking.Program/EventChannel.Object `nameclt -ior corbaname::127.0.0.1 resolve SerialTrackingEventChannel`
nameclt -ior corbaname::127.0.0.1 bind VERITAS/serial_tracking0.Program/EventChannel.Object `nameclt -ior corbaname::127.0.0.1 resolve SerialTrackingEventChannel`
nameclt -ior corbaname::127.0.0.1 bind VERITAS/serial_tracking1.Program/EventChannel.Object `nameclt -ior corbaname::127.0.0.1 resolve SerialTrackingEventChannel`
nameclt -ior corbaname::127.0.0.1 bind VERITAS/serial_tracking2.Program/EventChannel.Object `nameclt -ior corbaname::127.0.0.1 resolve SerialTrackingEventChannel`
nameclt -ior corbaname::127.0.0.1 bind VERITAS/serial_tracking3.Program/EventChannel.Object `nameclt -ior corbaname::127.0.0.1 resolve SerialTrackingEventChannel`