On 21 September 2012 14:30, John Paget Bourke < [email protected]> wrote:
> Hi, > > As anyone done an Oracle RAC build using Cobbler ? > I've done a LOT of work on automated Oracle deployments using Cobbler and recently started looking at getting the Grid Infrastructure install (required for RAC) rolled in too. Unfortunately, it's getting harder and harder to do in the limited Kickstart chroot environment. (I never had this much trouble with 10g releases. As of 11g R2, the RDBMS install requires an ugly hack to work around the behaviour of 'who -r' in Busybox (I assume). (Oracle weren't overly interested in the SR I raised about this.) 11g R2 Grid has so far proven impossible to install automatically in the same limited chrooted environment and I've dicked about for quite a few hours/days off and on trying to get it to work. ASMCA won't install ASM successfully without backing block devices, fine if you have FC or iSCSI LUNs available I guess but if you don't (and I didn't) then you need to manually create (mknod) the RAW devices to loopback mount to present to ASM. The next issue, and one I haven't worked around yet, is that the OUI for Grid is trying to use /dev/initctl to interact with /etc/inittab and again this doesn't exist in the limited chroot environment. I've tried mknod-ing the named pipe device but obviously there are some supporting structures (kernel modules, I believe) still missing at that stage. You could take what does install successfully during build-time and then patch/hack together the missed sections/assistants post-install I guess, but at this stage I'm leaning towards leaving Cobbler to just do the base OS build and then sling Puppet or Chef on there and then let the system configuration management framework sort out the Oracle install after the fact. Fundamentally, all the steps in my Cobbler snippets (attached) work perfectly well when a host is actually up and running. Cheers, Will.
centos58-x86_64-oradb11203+grid
Description: Binary data
_______________________________________________ cobbler mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/cobbler
