X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=INSTALL.txt;h=074d1fbf1e07e4e965387a9cd7d82375859b4ea8;hb=6fb6722b5eaaae2738328b2cb99f92e6d724b471;hp=80ee59212eef54077761de93929c5ef3325d8201;hpb=0f178e473ffd395989d99897be102eb9e858a09a;p=sfa.git diff --git a/INSTALL.txt b/INSTALL.txt index 80ee5921..074d1fbf 100644 --- a/INSTALL.txt +++ b/INSTALL.txt @@ -1,91 +1,4 @@ -========== INSTALL -Assuming that you've set up your yum repo like for a myplc install, -you should be able to just +Please refer to the trac page below for installing and using this software -# yum install sfa-plc +http://svn.planet-lab.org/wiki/SFATutorial#SFATutorial -========== CONFIGURE - ---- -Inspect your plc config: - -[2009.06.09--1l-f8-32-vplc07] / # plc-config-tty -Enter command (u for usual changes, w to save, ? for help) s PLC_ROOT_USER -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++ ---- -sfa-config-tty - -* set GENI_PLC_USER to PLC_ROOT_USER -* set GENI_PLC_PASSWORD to PLC_ROOT_PASSWORD -write and quit - -*NOTE* xxx at this point you get a warning b/c the authorities hierarchy has not been created yet; ignore ---- -run gimport - -[2009.06.09--1l-f8-32-vplc07] / # sfa-import-plc.py -Import: creating top level authorities -Hierarchy: creating authority: plc -plc : -Import: creating table for authority plc -NOTICE: table "geni$plc" does not exist, skipping - inserting authority record for plc - ---- -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 ---- - - -xxx tested this far xxx - - -Federation: -=========== -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 - -trade trusted root gid's (found in /usr/share/geniwrapper/geni/trusted_roots/) - -Run: -==== - -First run: -# initialize the registry by running the registry import tool -python sfa-import-plc.py - -# start the services -service sfa start - -or - -sfa-plc.py -r -d -sfa-plc.py -a -d -sfa-plc.py -s -d - - -Use: -==== - -Copy my private PL (RSA) ssh key to ~/.sfi/quetier.pkey - -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 sfi_config - -./sfi.py list ple -./sfi.py show ple.upmc.quetier