...
If it does time out, there is a way to do that with the client, but that requires having your Linaro password as an environment variable and it's not recommended. Contact the admins and they can help you.
After the IP is associated, you should make sure you can SSH into the hopbox via that IP. If you have changed the config as recommended above, this should "just work (tm)":
$ ssh debian@hopbox
You'll then have to create your Linaro user using your LDAP ID:
$ sudo useradd -m -u <LDAP-ID> <Linaro Username>
And copy the SSH key:
$ mkdir -m 700 /home/<Linaro User>/.ssh
$ cp ~/.ssh/authorized_keys /home/<Linaro User>/.ssh
$ chmod 600 /home/<Linaro User>/.ssh/authorized_keys
You can add any number of users, for all the people that will be able to access the lab and crate masters.
If the user you are creating is an administrator, make sure to allow sudo via "vigr
" and adding it to the sudo
group.
If all worked correctly, you should now log off and in again and just:
$ ssh hopbox
That should log you in as your Linaro user.
TODO: Make that setup LDAP aware via admin/user groups.
Creating an Internal Network
...
Everything else is irrelevant, just click "Launch Instance".
The instance will be created but not started. In the "Instances" list you need to click on "Start Instance".
If all went according to plan, you should be able to ssh to it via the hopbox. But since the user is still the default (centos, debian), you'll need additional setup.
Repeat the user setup steps above for the hopbox in this machine and once it's over, the redirect should just work:
$ ssh ohpc-master-yourname
And you should have a master with two NICs.
You need to identify your DHCP NIC (either eth0 or eth1) and setup the other one as fixed address with the gateway IP of the network you created.
Creating Slave Instances
Creating slaves are much simpler. You still should choose CentOS, 10+GB and at least two cores, but you only need one NIC, directly on the internal network you created.
TODO:
- Find out the MAC address of the instances before boot.
- Configure those addresses in the OpenHPC master
- Setup slaves so they can PXE boot
- Setup an instance without a pre-defined image, but just an empty disk