| 38 | |
| 39 | == Management == |
| 40 | * ''ipepdvcompute1'' is a master node |
| 41 | * If you have account on ipepdvcompute1, you may convert it to the cluster account by creating empty ~/.pdvcluster folder. Then, hourly cron-job will: |
| 42 | * Create accounts on all cluster nodes and synchronize uids across the cluster nodes. If you want to mount it over NFS on your desktop, you will still need to match your desktop user uid to the uid you are using on ipepdvcompute1. |
| 43 | * Create a cluster home in ''/pdv/home/''. |
| 44 | * Replicate ''~/.ssh'' from ''ipepdvcompute1'' to all cluster nodes to allow public key authentication. |
| 45 | * The ''~/.ssh/'' from ipepdvcompute1 will be re-replicated every hour. So, you can add/change keys on ''ipepdvcompute1'' and they will be propagated. |
| 46 | * ''/pdv/cluster/cluster_run.sh'' will run command on all cluster nodes |
| 47 | * You'll need to put/generate a ssh private key into the ''~/.ssh'' on ipepdvcompute1 and put corresponding public key to ''authorized_keys'' |
| 48 | * Go to ''.ssh'' folder: ''cd ~/.ssh'' |
| 49 | * Generate key (press enter when asked for password): ''ssh-keygen -t dsa'' |
| 50 | * Append public key to the authorized_keys: ''cat id_dsa.pub >> authorized_keys'' |
| 51 | * Wait 1h until keys are propagated |
| 52 | * Example: ''/pdv/cluster/cluster_run.sh head -n 1 /etc/issue'' |