Replicate Oracle Apex (Apps and Data) between 2 different hosted environments
Posted on 2008-06-18
2 Different hosted and managed APex environments (env1 and env2), both of which I have shell access to workspace Schema using puTTY.
1 of the envionments (env1) is running a production apex application. The other environment (env2) is completely empty (in fact is hypothetical at this point), however I will create a snapshot of env1 on env2 when the time comes.
What I'm trying to do is create replication from env1 to env2. So should env1 go down, then I can manually switch to use app on env2. When env1 comes back up, changes made to env2 get replicated back to env1.
2nd best is to have one-way replication from env1 to env2, so we can have "read-only" access to app on env2 when env1 is down.
Be great to have apex apps replicating as well as data and ddl, but would settle for just data if it made things significantly simpler.
I'm looking for a simple solution which needs little if any involvement from the hosting companies themselves (I have shell access to workspaces). So installing custom software etc is not an option, however I also don't want to have to write loads of custom code and create manual "replication tables" for each table in the schema if at all possible.
Is there any inbuilt oracle functionality (I looked briefly at Oracle Streams), that would not require involvement from hosting companies ?
I'm also lacking in knowledge as to how you could create a secure connection between the 2 environments using only shell access to db ? (Presumably at worst I would have to set-up a server which had connections to both environments and then pass data between them) ?
Any pointers much appreciated.