03 August 2006 - MikePatterson, Dave Gawley discussed networks a bit further. The 129.97.7.129-131
setup was fine with Dave. We reserved 129.97.7.128
as well. That way we can break off a small /22 chunk from 10.7 and map them directly to the KVMs, and the ability to address any of the KVMs will grant ability to address them all, but still have easy firewall rules for everybody else.
Cluster name | Primary User |
vidal |
Pascal Poupart |
marroo |
Ashraf Aboulnaga |
shiraz |
Ihab Ilyas |
@cscf[101]% idregistry request type=Group jdoe jdoe:1411 @cscf[102]% idregistry request jdoe jdoe:1411
% ssh cscf-adm@vidal cscf-adm@vidal:~> sudo -s root's password: vidal:~ #
vidal:~ # grep jdoe /etc/passwd
vidal:~ # groupadd -g 1411 jdoe vidal:~ # useradd -u 1411 -g 1411 -m jdoe
vidal:~ # passwd jdoe Changing password for jdoe. New Password: Reenter New Password: Password changed.
vidal:~ # mkdir /home/jdoe
vidal:~ # cd /var/yp vidal:/var/yp # make all Updating group.byname... Updating group.bygid... Updating netid.byname... Updating passwd.byname... Updating passwd.byuid... vidal:/var/yp # make gmake[1]: Entering directory `/var/yp/cs.uwaterloo.ca' Updating group.byname... Updating group.bygid... Updating netid.byname... Updating passwd.byname... Updating passwd.byuid... gmake[1]: Leaving directory `/var/yp/cs.uwaterloo.ca' vidal:/var/yp # make all Updating netid.byname... vidal:/var/yp # make gmake[1]: Entering directory `/var/yp/cs.uwaterloo.ca' Updating netid.byname... gmake[1]: Leaving directory `/var/yp/cs.uwaterloo.ca' vidal:/var/yp #
% ssh jdoe@vidal Password: jdoe@vidal:~> ssh-keygen -t dsa Generating public/private dsa key pair. Enter file in which to save the key (/home/jdoe/.ssh/id_dsa): *[enter]* Created directory '/home/wzhou/.ssh'. Enter passphrase (empty for no passphrase): *[enter]* Enter same passphrase again: *[enter]* Your identification has been saved in /home/jdoe/.ssh/id_dsa. Your public key has been saved in /home/jdoe/.ssh/id_dsa.pub. The key fingerprint is: ... jdoe@vidal jdoe@vidal:~>
jdoe@vidal:~> cd .ssh jdoe@vidal:~/.ssh> ls -al total 16 drwx------ 2 jdoe jdoe 4096 2009-03-10 10:24 . drwxr-xr-x 9 jdoe jdoe 4096 2009-03-10 10:24 .. -rw------- 1 jdoe jdoe 1192 2009-03-10 10:24 id_dsa -rw-r--r-- 1 jdoe jdoe 1113 2009-03-10 10:24 id_dsa.pub jdoe@vidal:~/.ssh> cat id_dsa.pub >> authorized_keys2 jdoe@vidal:~/.ssh> jdoe@vidal:~/.ssh> ls -al total 20 drwx------ 2 jdoe jdoe 4096 2009-03-10 10:26 . drwxr-xr-x 9 jdoe jdoe 4096 2009-03-10 10:24 .. -rw-r--r-- 1 jdoe jdoe 1113 2009-03-10 10:26 authorized_keys2 -rw------- 1 jdoe jdoe 1192 2009-03-10 10:24 id_dsa -rw-r--r-- 1 jdoe jdoe 1113 2009-03-10 10:24 id_dsa.pub jdoe@vidal:~/.ssh>
jdoe@vidal:~/.ssh> ssh vidal-03 Have a lot of fun... jdoe@vidal-03:~> exit logout Connection to vidal-03 closed. jdoe@vidal:~/.ssh> ssh vidal-09 Have a lot of fun... jdoe@vidal-09:~> exit
I | Attachment | History | Action | Size | Date | Who | Comment |
---|---|---|---|---|---|---|---|
![]() |
clusters_networking_01.png | r1 | manage | 1292.5 K | 2006-08-01 - 20:08 | MikePatterson | First cut at a (partial) network setup |