# # create the config root # mkdir -p /pnfs/fs/admin/etc/configdir # # get the pfnsID of configdir # pnfsID=`cat /pnfs/fs/admin/etc/.(id)(configdir)` # # create the actual configuration directories below configdir # mkdir /pnfs/fs/admin/etc/configdir/tools mkdir /pnfs/fs/admin/etc/configdir/flags # # asign the config directory to the databases. # lets say we have 4 databases 0...3 # and our $shmkey is 1122 # for c in 0 1 2 3 ; do $pnfs/tools/sclient getroot 1122 $c $pnfsID done # # from now on # .(config)(tools) will point to /pnfs/fs/admin/etc/configdir/tools and # .(config)(flags) will point to /pnfs/fs/admin/etc/configdir/flags # # ask the database for the installed wormhole link # ( just omit the last argument ) # for c in 0 1 2 3 ; do $pnfs/tools/sclient getroot 1122 $c done # # you will learn the database id, the root id of that database and # wormhole link (pnfsID) #