-
Notifications
You must be signed in to change notification settings - Fork 4
CivCloud: Provisioning a New Node
James Lott edited this page Aug 5, 2020
·
2 revisions
The process of provisioning a new node is, as of the v0.1.0 release, only partially automated. Manual steps must be taken by the administrator to provision the node, and once provisioned, the build is standardized & automated. Fully automated provisioning is roadmapped for v0.3.0
The Linode created should adhere to the following requirements & conventions (all of these requirements are almost certain to change after the v0.3.0 release):
- Arch Linux OS
- Unique system ID generated via
xxd -ps -l 2 /dev/urandom - Named
docker-[id] - Tagged
civcloud-preprod - Located in Newark, NJ
- Create block storage volume named
docker-storage-[id]and attach disk as /dev/sdc - Select the "codeforphilly" SSH keys for initial configuration
- Ensure your SSH key is added to the "codeforphilly" SSH keys
Once the Linode is provisioned, add it to the preprod inventory file, ensuring to specify the IP address via the ansible_host variable.
# ansible/inventory/preprod
docker-965f ansible_host=50.116.57.8
Once the provisioned node is added to inventory, execute the onboard-node.yml playbook.
cd $OPS_REPO_DIR/ansible
../script/console ansible-playbook onboard-node.yml
The node is now ready to receive project placements.