summaryrefslogtreecommitdiff
path: root/trunk/CIAO/examples/BasicSP/RepoMan_Usage.html
blob: b0854d03b9620710990f2102030200fbffc53d05 (plain)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<!-- $Id$ -->

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <title>Step-By-Step instructions about how to use Repository Manager with DAnCE</title>
</head>

<body
 text = "#000000"
 link = "#000fff"
 vLink= "#ff0f0f"
 aLink = "#0000ff"
 bgColor = "#ffffff">

<hr><h2>Step-By-Step instructions about how to use Repository Manager with DAnCE</h2><hr>

<P>This file explains how to run the BasicSP example using the integrated Repository Manager (RepoMan).<P>

<li>Be sure to add $CIAO_ROOT/HTTP_DOWNLOADED_LIBS into your PATH environment variable. This directory include the
downloaded component lib files.</li> <P>

<li>If you want to use CORBA <em>naming service</em> to get the RepoMan object reference, then please start naming
service with multicast mode.</li> <P>
<PRE>
  $TAO_ROOT/orbsvcs/Naming_Service/naming_service -m 1
</PRE>

<li>Build & start JAWS server.</li> <P>
<OL>
<li> Be sure to set JAWS_DOCUMENT_ROOT to the installation path of the RepoMan, i.e.,
$CIAO_ROOT/DAnCE/RepositoryManager.</li>
<li> Start JAWS:</li>
<PRE>
Change the current directory into $ACE_ROOT/apps/JAWS/server
main
</PRE>
</OL>

<li>Start RepoMan. Make sure you have BasicSP or BMClosedED, BMDevice, BMDisplay & EC installed in the
RepoMan you want to use. Please refer to the README file of RepoMan to get the instructions
about how to installed Packages into RepoMan.</li> <P>
<OL>
<li>Using ior file: </li>
<PRE>
Change the current directory into $CIAO_ROOT/DAnCE/RepositoryManager
RepositoryManagerDaemon -o  
</PRE>
<li>Using Naming Service:</li>
<PRE>
Change the current directory into $CIAO_ROOT/DAnCE/RepositoryManager
RepositoryManagerDaemon -v [NameofRM]
</PRE>
</OL>

<li>Change the current directory into $CIAO_ROOT/examples/BasicSP/descriptors.</li> <P>

<li>Start NodeManagers.</li> <P>
<PRE>
  basicNodeDaemon.pl
</PRE>

<li>Start ExecutionManager.</li> <P>
<PRE>
  $CIAO_ROOT/DAnCE/ExecutionManager/Execution_Manager -o EM.ior -i NodeManagerMap.dat
</PRE>

<li>Start plan_launcher.</li> <P>
<OL>
<li>Not using RepoMan:</li>
<PRE>
$CIAO_ROOT/DAnCE/Plan_Launcher/plan_launcher -p flattened_deploymentplan.cdp -k file://EM.ior
</PRE>

<li>Using ior file to get RepoMan, providing the name of one composite componemt:</li>
<PRE>
$CIAO_ROOT/DAnCE/Plan_Launcher/plan_launcher -p flattened_deploymentplan.cdp 
-a BasicSP 
-k file://EM.ior
-l file://$CIAO_ROOT/DAnCE/RepositoryManager/RepositoryManagerDaemon.ior
</PRE>

<li>Using naming service to get RepoMan, providing the name of one composite componemt:</li>
<PRE>
$CIAO_ROOT/DAnCE/Plan_Launcher/plan_launcher -p flattened_deploymentplan.cdp 
-a BasicSP 
-k file://EM.ior
-v [NameofRM]
</PRE>

<li>Using naming service to get RepoMan, providing the names of several individual componemts:</li>
<PRE>
$CIAO_ROOT/DAnCE/Plan_Launcher/plan_launcher -p flattened_deploymentplan.cdp 
-a BMClosedED+BMDevice+BMDisplay+EC 
-k file://EM.ior 
-v [NameofRM]
</PRE>

<li>Using naming service to get RepoMan, providing the types of several individual componemts:</li>
<PRE>
$CIAO_ROOT/DAnCE/Plan_Launcher/plan_launcher -p flattened_deploymentplan.cdp 
-e IDL:BasicSP/EC:1.0+IDL:BasicSP/BMDisplay:1.0+IDL:BasicSP/BMDevice:1.0+IDL:BasicSP/BMClosedED:1.0 
-k file://EM.ior 
-v [NameofRM]
</PRE>
</OL>

<li>Start the application.</li>
<PRE>
  $CIAO_ROOT/examples/BasicSP/EC/controller
</PRE>

<hr><b>Email: </b><a href="mailto:"</a<ADDRESS>shanshan.jiang@vanderbilt.edu</ADDRESS>

</body>

</html>