revamped sfa impl doc
[sfa.git] / INSTALL.txt
index f7478bf..7718165 100644 (file)
@@ -1,7 +1,8 @@
 ========== INSTALL
 Assuming that you've set up your yum repo like for a myplc install,
-you should be abe to just
-# yum install geniwrapper
+you should be able to just
+
+# yum install sfa-plc
 
 ========== CONFIGURE
 
@@ -14,7 +15,7 @@ PLC_ROOT_USER = root@test.onelab.eu
 Enter command (u for usual changes, w to save, ? for help) s PLC_ROOT_PASSWORD
 PLC_ROOT_PASSWORD = test++
 ---
-geni-config-tty
+sfa-config-tty
 
 * set GENI_PLC_USER            to PLC_ROOT_USER 
 * set GENI_PLC_PASSWORD                to PLC_ROOT_PASSWORD
@@ -24,7 +25,7 @@ write and quit
 ---
 run gimport
 
-[2009.06.09--1l-f8-32-vplc07] / # gimport.py 
+[2009.06.09--1l-f8-32-vplc07] / # sfa-import-plc.py 
 Import: creating top level authorities
 Hierarchy: creating authority: plc
 plc : 
@@ -33,15 +34,21 @@ NOTICE:  table "geni$plc" does not exist, skipping
   inserting authority record for plc
 
 --- 
-run geni-config-tty again
+run sfa-config-tty again - to initialize /etc/sfa/authorities/plc/plc.pkey
+
+[2009.06.09--1l-f8-32-vplc07] / # sfa-config-tty 
+Enter command (u for usual changes, w to save, ? for help) q
+                /etc/sfa/authorities/server.key
+copied from     /etc/sfa/authorities/plc/plc.pkey
+---
 
-copy authorities/ple/ple.pkey to geni/server.key
 
+xxx tested this far xxx
 
 
 Federation:
 ===========
-edit /etc/geni/aggregates.xml and /etc/geni/registries.xml  
+edit /etc/sfa/aggregates.xml and /etc/sfa/registries.xml  
 * set addr to ip or hostname of federated peer
 * set port to geni service port on federated peer
 * set hrn to humarn readable name of federated peer interface
@@ -53,16 +60,16 @@ Run:
 
 First run:
 # initialize the registry by running the registry import tool 
-python gimport.py
+python sfa-import-plc.py
 
 # start the services
-/etc/init.d/geniwrapper start 
+service sfa start
 
 or 
 
-plc.py -r -d
-plc.py -a -d
-plc.py -s -d
+sfa-server.py -r -d
+sfa-server.py -a -d
+sfa-server.py -s -d
 
 
 Use:
@@ -70,14 +77,15 @@ Use:
 
 Copy my private PL (RSA) ssh key to ~/.sfi/quetier.pkey
 
-in cmdline
-edit  configSfi.sh
+Copy /etc/sfa/sfi_config in ~/.sfi
+edit  sfi_config
+
 export SFI_AUTH=ple.upmc
 export SFI_USER=$SFI_AUTH.quetier
 export SFI_REGISTRY=http://138.96.255.199:12345/
 export SFI_SM=http://138.96.255.199:12346/
 
-source configSfi.sh
+source sfi_config
 
 ./sfi.py list ple
 ./sfi.py show ple.upmc.quetier