Approaches to implement Post Clone Scripts with OCI
Hi,
since we recently did a migration of dev and test environments from On Premises to OCI I wanted to check how other customers implemented automatic post cloning scripts in such scenarios. We ended up in developing a shell script that is installed on the cloud manager VM that asks for the hostname of apps- and database tier and then connects to the servers and does post cloning steps such as changing the workflow mailer settings, changing sga/pga memory parameters, ...
This is not perfect though, it would obviously even better to have this hooked in the chef scripts that are executed automatically during backup restore. I had some doubts doing this though since I didn't want to think about this with every Cloud Manager update.