...
The current build scripts in Ansible have problems with a few changes we need. They can be done in this order, or other orders if needed.
- Creating drives
- Migration from Postgresql 9.3 to 9.5
- Moving to Fedora 4.7Creating drives
Creating Drives
- In the AWS visual interface, go to EC2
- Go to Volumes
- Select Create Volumes
- Make sure the volume is
- General Purpose SSD
- 150 GB
- Availability Zone b
- Create 2 of these
- Once each one is made, select it and under Actions choose Attach Volume. Type the name or id of the machine and attach the volume.
- ssh into the box
- Run sudo fdisk -l
- You should see /dev/vxdg and /dev/xvdh
- If not, check if the volumes are attached
- Create the filesystem for each disk
- sudo mkfs.xfs /dev/xvdg
- sudo mkfs.xfs /dev/xvdh
- Mount each disk
- sudo mount /dev/xvdg /opt/fedora-data
- sudo mount /dev/xvdh /opt/sufia-project/releases/XXXX/tmp
- Edit the fstab file to retain these mounts
- sudo vi /etc/fstab
/dev/xvdg /opt/fedora-data xfs defaults 0 0
- /dev/xvdh /opt/sufia-project/releases/XXXX/tmp xfs defaults 0 0
- sudo vi /etc/fstab
...