...
How can I verify that my environment is correctly configured and the installation is successful without connecting to a cluster?
Step 1 - Navigate to the Resources tab of the CloudFormation page and go to ExostellarInstance
Step 2 - SSH into the Management Server EC2 instance and start a Hello World VM on the Amazon EC2 Spot Instance!
Code Block | ||
---|---|---|
| ||
cp /etc/nginx/ssl/ExostellarRootCA.crt /etc/ssl/certs/ExostellarRootCA.crt && \
cp /etc/nginx/ssl/client.pem /etc/ssl/certs/ExostellarClient.pem && \
cp /xcompute/slurm/bin/xcompute-daemon/host-cluster/slurm/test_createVm.sh ~/test_createVm.sh && \
sed -i "s/^XCOMPUTE_HEAD_IP.*/XCOMPUTE_HEAD_IP=127.0.0.1/g" ~/test_createVm.sh && \
cat > ~/user_data.sh <<- EOX
#!/bin/bash
echo "$(cat ~/.ssh/id_rsa.pub)" >> /root/.ssh/authorized_keys
EOX
cd ~ && ./test_createVm.sh -i ubuntu -h hello_world_ubuntu -u ./user_data.sh |
If you see a message similar to this, congratulations! You have successfully configured and installed everything correctly!
Code Block |
---|
NodeName: hello_world_ubuntutu... 340s Controller: az1-yy7jyuv5-1 Controller IP: 192.0.12.xx Vm IP: 192.0.6.xxx ########## done ########## |
Clean up - Shut down the Hello World VM, and the instances will be automatically terminated:
Code Block | ||
---|---|---|
| ||
curl -v -X DELETE http://localhost:5000/v1/xcompute/vm/hello_world_ubuntu |
...