I have not seen any official support of oracle 11gr2x in solaris 11
express yet
so most likely the installation is on s10
I would add the following:
on the same host of s10 create full root zone, so you will have the same
os and patch level of the GZ.
if you also inherit the oracle home then NGZ will get the same copy of
the oracle installation
you would then work out procedure to migration the db data from GZ to NGZ
hth
On 1/20/2011 9:24 AM, Mike Gerdts wrote:
On Thu, Jan 20, 2011 at 1:25 AM, sang-suan gamsangsuan@gmail.com wrote:
Hi All,
how can one migrate oracle DB (2 instances) from the global zone to non-local
zones ?
thanks,
sam
Oracle Solaris 11 Express provides Oracle Solaris 10 Containers which
are designed to solve such problems.
http://download.oracle.com/docs/cd/E19963-01/821-1460/gjfbq/index.html
http://download.oracle.com/docs/cd/E19963-01/821-1460/gjoak/index.html
If you have a non-trivial installation (e.g. you are using ASM, you
have SAN attached disk containing file systems for binaries and
databases, etc.) you will likely need to do some additional
configuration.
Be sure to check with the database folks to ensure that you remain in
a supported configuration.
If you aren't able to move to Solaris 11 Express (even with Solaris 10
Containers), the process for migrating will be highly dependent on
your configuration. The last time I read the oracle database
installation instructions (several years ago) the recommendation was
to have separate file systems for the oracle executables (e.g. /u01)
and others for database files, indexes, etc. (e.g. /u02, /u03, ... or
/sid/u01, /sid/u02, ...) If this is the case, then you likely
need to do something along the lines of the following.
This an off the cuff description of the process that is generic and
almost certainly misses things that exist in your configuration. Test
it on non-production machines first and consult with DBAs and Oracle
Solaris and database support as needed.
1) Configure the zone with zonecfg. You will most likely need to set
various resource controls (add rctl in zonecfg) for shared memory,
etc. I suspect that current Oracle DB installation docs will describe
what needs to be set.
2) Install the zone with zoneadm install.
3) Boot the zone and do any configuration needed. For example, add
users and groups needed.
4) Shut down the database
5) Remove (or comment) the /etc/vfstab entries corresponding to the
oracle databases and binaries from the global zone
6) Add fs entries to the zone's configuration (with zonecfg)
corresponding to the entries removed from the global zone's
/etc/vfstab.
7) Reboot the zone
8) Start the database in the zone.
attachment: laotsao.vcf___
zones-discuss mailing list
zones-discuss@opensolaris.org