added explicit install target
[sfa.git] / INSTALL.txt
1 Dependencies:
2 =============
3 make
4 gcc
5 openssl-devel/libssl-dev
6 pyOpenSSL >= 0.7
7 m2crypto
8
9
10 Install:
11 ========
12 cd geniwrapper/trunk
13 make 
14
15
16 Configure:
17 ==========
18 geni-config-tty
19
20 or
21  
22 edit /etc/geni/geni_config
23 * set GENI_PLC_USER to PLC_MAINTENANCE_USER in /etc/planetlab/plc_config
24 * set GENI_PLC_PASSWORD to PLC_MAINTENANCE_PASSWORD in /etc/planetlab/plc_config
25
26 copy authorities/ple/ple.pkey to geni/server.key
27
28
29 Federation:
30 ===========
31 edit /etc/geni/aggregates.xml and /etc/geni/registries.xml  
32 * set addr to ip or hostname of federated peer
33 * set port to geni service port on federated peer
34 * set hrn to humarn readable name of federated peer interface
35
36 trade trusted root gid's (found in /usr/share/geniwrapper/geni/trusted_roots/) 
37
38 Run:
39 ====
40
41 First run:
42 # initialize the registry by running the registry import tool 
43 python gimport.py
44
45 # start the services
46 /etc/init.d/geniwrapper start 
47
48 or 
49
50 plc.py -r -d
51 plc.py -a -d
52 plc.py -s -d
53
54
55 Use:
56 ==== 
57
58 Copy my private PL ssh key to ~/.sfi/quetier.pkey
59
60 in cmdline
61 edit  configSfi.sh
62 export SFI_AUTH=ple.upmc
63 export SFI_USER=$SFI_AUTH.quetier
64 export SFI_REGISTRY=http://138.96.255.199:12345/
65 export SFI_SM=http://138.96.255.199:12346/
66
67 source configSfi.sh
68
69 ./sfi.py list ple
70 ./sfi.py show ple.upmc.quetier