亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 4714 | 回復: 9
打印 上一主題 下一主題

關(guān)于Clusterware卸載的問題? [復制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2009-07-07 23:46 |只看該作者 |倒序瀏覽
正在實施一套Solaris10+Sun Cluster3.2+Oracle Clusterware+Oracle10g RAC的項目,已經(jīng)配置完Sun Cluster3.2和SVM,在安裝完Oracle Clusterware后(安裝沒問題、VIP已經(jīng)生效、crs_stat顯示狀態(tài)正常,但還未安裝Oracle RAC)發(fā)現(xiàn)其安裝目錄指定在默認的$ORACLE_BASE/db_1目錄下了(應該為$ORACLE_BASE/crs),為規(guī)范起見,準備卸載Clusterware軟件,并重新安裝指定到正確目錄,但重新運行安裝程序時,在安裝完軟件包后,提示以root用戶執(zhí)行下面的腳步(/opt/oracle/product/10.2.0/crs/root.sh),只提示了以root執(zhí)行這一個腳本,在一個節(jié)點上執(zhí)行這個腳本時就停在“Startup will be queued to init within 30 seconds”不動了,不知道什么原因???是不是卸載Clusterware不徹底呀?還需要做什么呢?

root@ecdb1 # /opt/oracle/product/10.2.0/crs/root.sh
WARNING: directory '/opt/oracle/product/10.2.0' is not owned by root
WARNING: directory '/opt/oracle/product' is not owned by root
WARNING: directory '/opt/oracle' is not owned by root
Checking to see if Oracle CRS stack is already configured
Checking to see if any 9i GSD is up

Setting the permissions on OCR backup directory
Setting up NS directories
Oracle Cluster Registry configuration upgraded successfully
WARNING: directory '/opt/oracle/product/10.2.0' is not owned by root
WARNING: directory '/opt/oracle/product' is not owned by root
WARNING: directory '/opt/oracle' is not owned by root
clscfg: EXISTING configuration version 3 detected.
clscfg: version 3 is 10G Release 2.
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node <nodenumber>: <nodename> <private interconnect name> <hostname>
node 0: ecdb1 clusternode1-priv ecdb1
node 1: ecdb3 clusternode2-priv ecdb3
clscfg: Arguments check out successfully.

NO KEYS WERE WRITTEN. Supply -force parameter to override.
-force is destructive and will destroy any previous cluster
configuration.
Oracle Cluster Registry for cluster has already been initialized
Startup will be queued to init within 30 seconds.



備注,卸載Clusterware的步驟如下:
1. Run the command CRS_home/install/rootdelete.sh to disable the Oracle Clusterware applications that are running on the cluster node.
2. Start OUI. In the Welcome page, click Deinstall Products to display the list of installed products. Select the Oracle Clusterware home to de-install.

論壇徽章:
2
丑牛
日期:2014-06-11 13:55:04ChinaUnix元老
日期:2015-02-06 15:16:14
2 [報告]
發(fā)表于 2009-07-08 09:25 |只看該作者
不記得卸載時還有運行root.sh呀

論壇徽章:
17
CU大牛徽章
日期:2013-03-13 15:32:352017金雞報曉
日期:2017-02-08 10:33:21fulanqi
日期:2016-06-17 17:54:25lufei
日期:2016-06-17 17:38:40平安夜徽章
日期:2015-12-26 00:06:30冥斗士
日期:2015-11-25 14:38:112015年辭舊歲徽章
日期:2015-03-03 16:54:15亥豬
日期:2015-01-26 17:23:43CU大牛徽章
日期:2013-04-17 11:02:58CU大牛徽章
日期:2013-04-17 11:02:36CU大牛徽章
日期:2013-04-17 11:02:15CU大牛徽章
日期:2013-04-17 11:01:45
3 [報告]
發(fā)表于 2009-07-08 15:50 |只看該作者
需要在RAC的每個節(jié)點上都運行CRS_home/install/rootdelete.sh和CRS_home/install/rootdeinstall.sh

論壇徽章:
0
4 [報告]
發(fā)表于 2009-07-08 21:51 |只看該作者
問題解決了,的確是卸載的不徹底導致,后來在metalink上找到一篇文檔,安裝文檔做了一遍reboot系統(tǒng)后,問題解決。感謝樓上幾位的支持!

論壇徽章:
0
5 [報告]
發(fā)表于 2009-07-08 21:52 |只看該作者
對了,把那個文檔貼出來,供大家參考:

Subject: How to Clean Up After a Failed Oracle Clusterware (CRS) Installation
  Doc ID: 239998.1 Type:  BULLETIN
  Modified Date:  18-MAR-2009 Status:  PUBLISHED


PURPOSE
-------

The purpose of this document is to help DBA's and support analysts understand how
to clean up a failed CRS (Cluster Ready Services) install for 10g RAC.


SCOPE & APPLICATION
-------------------

DBA's and Support Analysts


10g RAC: How to Clean Up After a Failed CRS Install
---------------------------------------------------

Not cleaning up a failed CRS install can cause problems like node reboots.
Follow these steps to clean up a failed CRS install:

1. Run the rootdelete.sh script then the rootdeinstall.sh script from the
$ORA_CRS_HOME/install directory on any nodes you are removing CRS from.  Running
these scripts should be sufficent to clean up your CRS install.  Rootdelete.sh
accepts options like nosharedvar/sharedvar, and nosharedhome/sharedhome. Make
yourself familiar with these options by reading the Oracle Clusterware and
Oracle Real Application Clusters Administration and Deployment Guide.
If you have any problems with these scripts please open a service request.  

If for some reason you have to manually remove the install due to problems
with the scripts, continue to step 2:

2. Stop the Nodeapps on all nodes:

        srvctl stop nodeapps -n <node name>

3. Prevent CRS from starting when the node boots.  To do this issue the following
as root:

Sun:

        rm /etc/init.d/init.cssd
        rm /etc/init.d/init.crs
        rm /etc/init.d/init.crsd
        rm /etc/init.d/init.evmd
        rm /etc/rc3.d/K96init.crs
        rm /etc/rc3.d/S96init.crs
        rm -Rf /var/opt/oracle/scls_scr
        rm -Rf /var/opt/oracle/oprocd
        rm /etc/inittab.crs
        cp /etc/inittab.orig /etc/inittab

Linux:

        rm /etc/oracle/*
        rm -f /etc/init.d/init.cssd
        rm -f /etc/init.d/init.crs
        rm -f /etc/init.d/init.crsd
        rm -f /etc/init.d/init.evmd
        rm -f /etc/rc2.d/K96init.crs
        rm -f /etc/rc2.d/S96init.crs
        rm -f /etc/rc3.d/K96init.crs
        rm -f /etc/rc3.d/S96init.crs
        rm -f /etc/rc5.d/K96init.crs
        rm -f /etc/rc5.d/S96init.crs
        rm -Rf /etc/oracle/scls_scr
        rm -f /etc/inittab.crs
        cp /etc/inittab.orig /etc/inittab

HP-UX:

        rm /sbin/init.d/init.cssd
        rm /sbin/init.d/init.crs
        rm /sbin/init.d/init.crsd
        rm /sbin/init.d/init.evmd
        rm /sbin/rc2.d/K960init.crs
        rm /sbin/rc2.d/K001init.crs
        rm /sbin/rc3.d/K960init.crs
        rm /sbin/rc3.d/S960init.crs
        rm -Rf /var/opt/oracle/scls_scr
        rm -Rf /var/opt/oracle/oprocd
        rm /etc/inittab.crs
        cp /etc/inittab.orig /etc/inittab

HP Tru64:

        rm /sbin/init.d/init.cssd
        rm /sbin/init.d/init.crs
        rm /sbin/init.d/init.crsd
        rm /sbin/init.d/init.evmd
        rm /sbin/rc3.d/K96init.crs
        rm /sbin/rc3.d/S96init.crs
        rm -Rf /var/opt/oracle/scls_scr
        rm -Rf /var/opt/oracle/oprocd
        rm /etc/inittab.crs
        cp /etc/inittab.orig /etc/inittab

IBM AIX:

        rm /etc/init.cssd
        rm /etc/init.crs
        rm /etc/init.crsd
        rm /etc/init.evmd
        rm /etc/rc.d/rc2.d/K96init.crs
        rm /etc/rc.d/rc2.d/S96init.crs
        rm -Rf /etc/oracle/scls_scr
        rm -Rf /etc/oracle/oprocd
        rm /etc/inittab.crs
        cp /etc/inittab.orig /etc/inittab

4. If they are not already down, kill off EVM, CRS, and CSS processes or reboot
   the node:

        ps -ef | grep crs       
        kill <crs pid>
        ps -ef | grep evm
        kill <evm pid>
        ps -ef | grep css       
        kill <css pid>

   Do not kill any OS processes, for example icssvr_daemon process !

5. If there is no other Oracle software running (like listeners, DB's, etc...),
   you can remove the files in /var/tmp/.oracle or /tmp/.oracle.  Example:

        rm -f /var/tmp/.oracle/*

        or

        rm -f /tmp/.oracle/*

6. Remove the ocr.loc
   Usually the ocr.loc can be found at /etc/oracle

7. De-install the CRS home in the Oracle Universal Installer

8. Remove the CRS install location:

          rm -Rf <CRS Install Location>/*

9. Clean out the OCR and Voting Files with dd commands.  Example:

        dd if=/dev/zero of=/dev/rdsk/V1064_vote_01_20m.dbf bs=1M count=256
        dd if=/dev/zero of=/dev/rdsk/ocrV1064_100m.ora bs=1M count=256

   See the Clusterware Installation Guide for sizing requirements...  

   If you placed the OCR and voting disk on a shared filesystem, remove them.

   If you are removing the RDBMS installation, also clean out any ASM disks if
   they have already been used.

10. It is good practice to reboot the node before starting the next install.

11.If you would like to re-install CRS, follow the steps in the RAC Installation manual.

論壇徽章:
2
丑牛
日期:2014-06-11 13:55:04ChinaUnix元老
日期:2015-02-06 15:16:14
6 [報告]
發(fā)表于 2009-07-08 22:30 |只看該作者

回復 #5 lyh303 的帖子

不錯,收藏了

論壇徽章:
0
7 [報告]
發(fā)表于 2009-07-10 22:25 |只看該作者
感謝樓主的分享

論壇徽章:
4
IT運維版塊每日發(fā)帖之星
日期:2015-08-19 06:20:002015七夕節(jié)徽章
日期:2015-08-21 11:06:17IT運維版塊每日發(fā)帖之星
日期:2015-08-28 06:20:00IT運維版塊每周發(fā)帖之星
日期:2015-09-11 19:20:31
8 [報告]
發(fā)表于 2009-07-18 07:14 |只看該作者
請教一下?

suncluster與clusterware的作用是不是重疊?只用一種群集管理軟件是不是也可以實現(xiàn)RAC?

論壇徽章:
0
9 [報告]
發(fā)表于 2009-07-19 12:39 |只看該作者
原帖由 rickcafe 于 2009-7-18 07:14 發(fā)表
請教一下?

suncluster與clusterware的作用是不是重疊?只用一種群集管理軟件是不是也可以實現(xiàn)RAC?


不重疊, Oracle clusterware可以使用suncluster的某些功能, 比如集群管理, 比如裸設備管理.

10g RAC必須安裝Oracle clusterware, suncluster可以裝, 也可以不裝

論壇徽章:
0
10 [報告]
發(fā)表于 2009-07-21 17:48 |只看該作者
我郁悶了2天asm,最后更換硬盤才解決。
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP