Oracle 10g 11g RAC Virtual Environment switchover

Source: Internet
Author: User
Tags virtual environment

Oracle 10g 11g RAC installed on personal virtual machine The following is the Toggle Script command
#10g RAC >11g rac****************************************###############
Cat/etc/inittab >/etc/inittab10g
cat/etc/inittab11g >/etc/inittab
#
rm-rf/etc/oracle10g
mv/etc/oracle/etc/oracle10g
Cp-rp/etc/oracle11g/etc/oracle
#
Cat/etc/orainst.loc >/etc/orainst.loc10g
Rm-rf/etc/orainst.loc
Cp-p/etc/orainst.loc11g/etc/orainst.loc
#
Cat/etc/oratab >/etc/oratab10g
Rm-rf/etc/oratab
Cp-p/etc/oratab11g/etc/oratab
#
rm-rf/var/tmp/.oracle10g
mv/var/tmp/.oracle/var/tmp/.oracle10g
Mv/var/tmp/.oracle11g/var/tmp/.oracle
#11g RAC >10g rac****************************************###############


Cat/etc/inittab >/etc/inittab11g
cat/etc/inittab10g >/etc/inittab
#
rm-rf/etc/oracle11g
mv/etc/oracle/etc/oracle11g
Cp-rp/etc/oracle10g/etc/oracle
#
Cat/etc/orainst.loc >/etc/orainst.loc11g
Rm-rf/etc/orainst.loc
Cp-p/etc/orainst.loc10g/etc/orainst.loc
#
Cat/etc/oratab >/etc/oratab11g
Rm-rf/etc/oratab
Cp-p/etc/oratab10g/etc/oratab
#
rm-rf/var/tmp/.oracle11g
mv/var/tmp/.oracle/var/tmp/.oracle11g
Mv/var/tmp/.oracle10g/var/tmp/.oracle






+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++










are backed up in advance
-r-xr-xr-x 1 root root 2436 Oct 6 09:47/etc/init.d/init.crs
-r-xr-xr-x 1 root root 5538 Oct 6 09:47/ETC/INIT.D/INIT.CRSD
-r-xr-xr-x 1 root root 5538 Oct 6 09:47/etc/init.d/init.crsd.bak
-r-xr-xr-x 1 root root 55180 Oct 6 09:47/ETC/INIT.D/INIT.CSSD
-r-xr-xr-x 1 root root 55180 Oct 6 09:47/etc/init.d/init.cssd.bak
-r-xr-xr-x 1 root root 3505 Oct 6 09:47/ETC/INIT.D/INIT.EVMD
-r-xr-xr-x 1 root root 3505 Oct 6 09:47/etc/init.d/init.evmd.bak
-rwxr-xr-x 1 root root 8782 Oct 11:32/etc/init.d/init.ohasd
-rwxr-xr-x 1 root root 8782 Oct 11:32/etc/init.d/init.ohasdbak
-rwxr-xr-x 1 root root 10999 Oct 11:33/ETC/INIT.D/INIT.TFA
-rwxr-xr-x 1 root root 10999 Oct 11:33/etc/init.d/init.tfabak

Oracle 10g 11g RAC Virtual Environment switchover

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.