Changes between Version 12 and Version 13 of Internal/VirtualPL/ParallelImaging


Ignore:
Timestamp:
Oct 3, 2006, 10:48:59 PM (18 years ago)
Author:
anonymous
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/VirtualPL/ParallelImaging

    v12 v13  
    115115   RTT min/avg/max/mdev = 0.087/0.148/0.221/0.039 ms
    116116
    117 '''Using GEXEC as a mean to communicate with nodes from Console:'''
    118 As a next step in imaging nodes in parallel we are trying to communicate with the nodes using GEXEC instead of the now used nodehandler.
    119 
    120 '''Steps in installing GEXEC:'''
    121 
    122 On the nodes and console first openssl needs to be installed as GEXEC uses authd as the encryption software which in turn uses private and public keys generated by Openssl. So the steps involved in installing GEXEC are as follows:
    123 
    124 1. Install openssl using apt-get install openssl.
    125 2. Download the gexec packages and its dependencies: authd and libe.
    126 3. Generate the public and private keys as follows:
    127 
    128 console.sb1# openssl genrsa -out auth_priv.pem
    129 console.sb1# chmod 600 auth_priv.pem
    130 console.sb1# openssl rsa -in auth_priv.pem -pubout -out auth_pub.pem
    131 
    132 4. Distribute the keys to all the nodes.
    133 
    134 console.sb1# scp auth_priv.pem node1-1:/etc/auth_priv.pem
    135 console.sb1# scp auth_pub.pem node1-1:/etc/auth_pub.pem
    136 
    137 5. Now install the 3 packages in the order:
    138 authd
    139 libe
    140 gexec
    141 
    142 On newer Linux kernels (e.g., the 2.4.x ), you'll need to set the LD_ASSUME_KERNEL environment variable to "2.4.2" to avoid LinuxThreads bugs (e.g., incomplete implementation of POSIX cancellation points).
    143 
    144 In addition the /etc/services needs to be updated with
    145 
    146 gexec 2875/tcp #GEXEC
    147 
    148 In order to run the client program gexec the gexec deamon (gexecd) program (/usr/local/sbin/) and authd (/usr/local/sbin/) needs to be run on all the clients. A shell script(named start attached to this page) has been written for the same purpose and added to the /etc/init.d. The links to the script at startup can be created using the command:
    149 
    150 update-rc.d start defaults
    151 
    152 The image running gexec is stored in repository2 in ''/export/orbit/image/tmp/node-1-1-2006-10-03-13-16-05.ndz.''
    153 
     117== [wiki:Internal/VirtualPL/ParallelImaging/GExec Experiences with gexec] ==