Tuesday, June 25, 2013

CHEF: echa-oracle v1.0.0 cookbook tests on DigitalOcean

Update on 4/4/2014: The cookbook has been re-launched at https://github.com/aririikonen/oracle, also available from Chef community site at http://community.opscode.com/cookbooks/oracle.

Further smoke testing for echa-oracle v1.0.0 cookbook. This time on DigitalOcean CentOS 6.4 x64 VM. (check out https://www.digitalocean.com, low cost VM's)

Pre-reqs (mainly the same as for EC2, post below):
More straight forward steps:
  • Whipped out a 2G MEM VM (CentOS 6.4 x64)
  • Modified /etc/hosts to add a valid FQDN
  • Bootstrapped with:
knife bootstrap FQDN -r 'role[ora_quickstart]' -j '{"oracle" :{"rdbms" :{"dbs" :{"FOO" :false}}}}'

Result:

Success.

Notes (also check below for EC2 notes):
  • Deployment will take some time, especially installing the Oracle binaries, latest patch and db creation, so don't be alarmed if it seems to be stuck, it isn't. Just check 'top' on the VM to verify this.
  • Swap missing again, so you'll need to add it later on.
  • Check that /dev/shm is big enough.
Sample output:

No comments:

Post a Comment