By wcoekaer on Aug 07, 2013
You can find more information on the otn pages here.
A very important new feature added is the ability to deploy single instance database. In the past the database templates were focused on RAC deployments (Real Application Cluster) but because of popular demand, we also added support for Single Instance. With Single Instance you can really create a new VM with the database up and running in a matter of a few (very few) minutes, and with a very simple config file.
Example config file for single instance :
$ cat netconfig.ini NODE1=dbsingle1 NODE1IP=192.168.1.72 PUBADAP=eth0 PUBMASK=255.255.255.0 PUBGW=192.168.1.1 DOMAINNAME=wimmekes.net # May be blank DNSIP=184.108.40.206 # Starting from 2013 Templates allows multi value CLONE_SINGLEINSTANCE=yes # Setup Single Instance
That's literally it. You don't need to do anything other than run a few Oracle VM CLI or UI commands and run deploycluster and you're all set. After a few minutes, the VM will be pingable and you can run sqlplus against the database running inside the VM.
If you use the CLI, here is a sample workflow :
- show vm name=[vmname] to see the attached vnics
And that's it, now you can use that netconfig.ini example, edit it for your environment and run deploycluster:
On top of single instance, the templates also expose or give you the ability to easily configure and enable many of the new rdbms 12c functionality :
- Oracle Flex Cluster and/or Flex ASM, Hub/Leaf nodes
- Container Database with x number of pluggable databases
- Database Express
- ACFS filesystem
- Oracle Restart (single instance database with HA)
- local or shared filesystem installs, including OCFS2 and ACFS
- Admin Managed or Policy managed database creation with serverpools
- OS kernel updated to the latest uek 2 version 2.6.39-400
And all of the above are simple parameters in the config files. This can be 100% automated, 100% reproducible and you don't need to know how to configure them all yourself. As always, high quality work by Saar Maoz.
Production ready, not trial, not using a random OS, all ready to go. Production-ready virtual appliances.