3 #log files localization
6 Username=`/usr/bin/whoami`
8 # kill OmniNames if exists
10 #killall -q -9 omniNames
14 mkdir -m 775 ${BaseDir}/logs
15 mkdir ${BaseDir}/logs/${Username}
16 touch ${BaseDir}/logs/${Username}/dummy
17 \rm -f ${BaseDir}/logs/${Username}/omninames* ${BaseDir}/logs/${Username}/dummy ${BaseDir}/logs/${Username}/*.log
19 echo "Name Service... "
21 omniNames -start -logdir ${BaseDir}/logs/${Username} &
23 # In LifeCycleCORBA, FactoryServer is started with rsh on the requested
24 # computer if this Container does not exist. Default is localhost.
25 # Others Containers are started with start_impl method of FactoryServer Container.
26 # For using rsh it is necessary to have in the ${HOME} directory a .rhosts file
27 # Warning : on RedHat the file /etc/hosts contains by default a line like :
28 # 127.0.0.1 bordolex bordolex.paris1.matra-dtv.fr localhost.localdomain localhost
29 # (bordolex is the station name). omniNames on bordolex will be accessible from other
30 # computers only if the computer name is removed on that line like :
31 # 127.0.0.1 bordolex.paris1.matra-dtv.fr localhost.localdomain localhost
33 # To start dynamically Containers on several computers you need to
34 # put in the ${OMNIORB_CONFIG} file a computer name instead of "localhost"
35 # example : ORBInitRef NameService=corbaname::dm2s0017
37 # If you need to use several omniNames running on the same computer, you have to :
38 #1. put in your ${OMNIORB_CONFIG} file a computer name and port number
39 # example : ORBInitRef NameService=corbaname::dm2s0017:1515
40 #2. start omninames with this port number in runNS.sh
41 # example : omniNames -start 1515 -logdir ${BaseDir}/logs/${Username} &
44 echo "to list contexts and objects bound int the context with the specified name : showNS "