久久机这里只有精品,国产69精品一区二区亚洲孕妇,91精品国产综合久久婷婷香蕉,午夜久久久久久电影

最新活動:電腦PC端+手機端+微網站+自適應網頁多模板選擇-建站388元起價!!!
當前位置:主頁 > 網站建設 > oracle 11g RAC 常用命令整理分享建站知識

oracle 11g RAC 常用命令整理分享建站知識

時間:2023-05-23 12:05:23 閱讀: 文章分類: 網站建設 作者: 網絡小編

導讀:1建站知識很多朋友會經常用到oracle 11g RAC的命令,今天我也用到了,同時也整理了一些常用的命令,以備不時之需營銷型網站建設建設網站公司。

營銷型網站建設建設網站公司1)、檢查集群狀態:   [grid@rac02 ~]$ crsctl check cluster   CRS-4537: Cluster Ready Services is online   CRS-4529: Cluster Synchronization Services is online   CRS-4533: Event Manager is online 2)、所有 Oracle 實例 —(數據庫狀態):   [grid@rac02 ~]$ srvctl status database -d racdb   Instance racdb1 is running on node rac01   Instance racdb2 is running on node rac02 3)、檢查單個實例狀態:   [grid@rac02 ~]$ srvctl status instance -d racdb -i racdb1   Instance racdb1 is running on node rac01 4)、節點應用程序狀態:   [grid@rac02 ~]$ srvctl status nodeapps   VIP rac01-vip is enabled   VIP rac01-vip is running on node: rac01   VIP rac02-vip is enabled   VIP rac02-vip is running on node: rac02   Network is enabled網seo優化趨勢   Network is running on node: rac01   Network is running on node: rac02   GSD is disabled   GSD is not running on node: rac01   GSD is not running on node: rac02   ONS is enabled   ONS daemon is running on node: rac01   ONS daemon is running on node: rac02   eONS is enabled   eONS daemon is running on node: rac01   eONS daemon is running on node: rac02 5)、列出所有的配置數據庫:   [grid@rac02 ~]$ srvctl config database   racdb 6)、數據庫配置:   [grid@rac02 ~]$ srvctl config database -d racdb -a   Database unique name: racdb   Database name: racdb 網站建設制作  Oracle home: /u01/app/oracle/product/11.2.0/dbhome_1   Oracle user: oracle   Spfile: +RACDB_DATA/racdb/spfileracdb.ora   Domain: xzxj.edu.cn   Start options: open   Stop options: immediate   Database role: PRIMARY   Management policy: AUTOMATIC   Server pools: racdb   Database instances: racdb1,racdb2   Disk Groups: RACDB_DATA,FRA   Services:   Database is enabled   Database is administrator managed 7)、ASM狀態以及ASM配置:   [grid@rac02 ~]$ srvctl status asm   ASM is running on rac01,rac02   [grid@rac02 ~]$ srvctl config asm -a   ASM home: /u01/app/11.2.0/grid   ASM listener: LISTENER   ASM is enabled. 8)、TNS監聽器狀態以及配置:   [grid@rac02 ~]$ srvctl status listener   Listener LISTENER is enabled   Listener LISTENER is running on node(s): rac01,rac02   [grid@rac02 ~]$ srvctl config listener -a   Name: LISTENER   Network: 1, Owner: grid   Home: <CRS home>   /u01/app/11.2.0/grid on node(s) rac02,rac01   End points: TCP:1521 9)、SCAN狀態以及配置:   [grid@rac02 ~]$ srvctl status scan   SCAN VIP scan1 is enabled   SCAN VIP scan1 is running on node rac02   [grid@rac02 ~]$ srvctl config scan   SCAN name: rac-scan.xzxj.edu.cn, Network: 1/192.168.1.0/255.255.255.0/eth0   SCAN VIP name: scan1, IP: /rac-scan.xzxj.edu.cn/192.168.1.55 10)、VIP各個節點的狀態以及配置:   [grid@rac02 ~]$ srvctl status vip -n rac01   VIP rac01-vip is enabled   VIP rac01-vip is running on node: rac01   [grid@rac02 ~]$ srvctl status vip -n rac02   VIP rac02-vip is enabled   VIP rac02-vip is running on node: rac02   [grid@rac02 ~]$ srvctl config vip -n rac01   VIP exists.:rac01   VIP exists.: /rac01-vip/192.168.1.53/255.255.255.0/eth0   [grid@rac02 ~]$ srvctl config vip -n rac02   VIP exists.:rac02   VIP exists.: /rac02-vip/192.168.1.54/255.255.255.0/eth0 11)、節點應用程序配置 —(VIP、GSD、ONS、監聽器)   [grid@rac02 ~]$ srvctl config nodeapps -a -g -s -l   -l option has been deprecated and will be ignored.   VIP exists.:rac01   VIP exists.: /rac01-vip/192.168.1.53/255.255.255.0/eth0   VIP exists.:rac02   VIP exists.: /rac02-vip/192.168.1.54/255.255.255.0/eth0   GSD exists.   ONS daemon exists. Local port 6100, remote port 6200   Name: LISTENER   Network: 1, Owner: grid   Home: <CRS home>   /u01/app/11.2.0/grid on node(s) rac02,rac01   End points: TCP:1521 12)、驗證所有集群節點間的時鐘同步:   [grid@rac02 ~]$ cluvfy comp clocksync -verbose   Verifying Clock Synchronization across the cluster nodes   Checking if Clusterware is installed on all nodes...   Check of Clusterware install passed   Checking if CTSS Resource is running on all nodes...   Check: CTSS Resource running on all nodes   Node Name Status   ------------------------------------ ------------------------   rac02 passed   Result: CTSS resource check passed   Querying CTSS for time offset on all nodes...   Result: Query of CTSS for time offset passed   Check CTSS state started...   Check: CTSS state   Node Name State   ------------------------------------ ------------------------   rac02 Active   CTSS is in Active state. Proceeding with check of clock time offsets on all nodes...   Reference Time Offset Limit: 1000.0 msecs   Check: Reference Time Offset   Node Name Time Offset Status   ------------ ------------------------ ------------------------   rac02 0.0 passed   Time offset is within the specified limits on the following set of nodes:   "[rac02]"   Result: Check of clock time offsets passed   Oracle Cluster Time Synchronization Services check passed   Verification of Clock Synchronization across the cluster nodes was successful. 13)、集群中所有正在運行的實例 — (SQL):   SELECT inst_id , instance_number inst_no , instance_name inst_name , parallel , status , database_status db_status , active_state state , host_name host FROM gv$instance ORDER BY inst_id; 14)、所有數據庫文件及它們所在的 ASM 磁盤組 — (SQL): 15)、ASM 磁盤卷: 16)、啟動和停止集群:   以下操作需用root用戶執行。   (1)、在本地服務器上停止Oracle Clusterware 系統:   [root@rac01 ~]# /u01/app/11.2.0/grid/bin/crsctl stop cluster  注:在運行“crsctl stop cluster”命令之后,如果 Oracle Clusterware 管理的 資源中有任何一個還在運行,則整個命令失敗。使用 -f 選項無條件地停止所有資源并 停止 Oracle Clusterware 系統。   另請注意,可通過指定 -all 選項在集群中所有服務器上停止 Oracle Clusterware 系統。如下所示,在rac01和rac02上停止oracle clusterware系統:   [root@rac02 ~]# /u01/app/11.2.0/grid/bi建設網站公司n/crsctl stop cluster –all   在本地服務器上啟動oralce clusterware系統:   [root@rac01 ~]# /u01/app/11.2.0/grid/bin/crsctl start cluster   注:可通過指定 -all 選項在集群中所有服務器上啟動 Oracle Clusterware 系統。   [root@rac02 ~]# /u01/app/11.2.0/grid/bin/crsctl start cluster –all   還可以通過列出服務器(各服務器之間以空格分隔)在集群中一個或多個指定的 服務器上啟動 Oracle Clusterware 系統:   [root@rac01 ~]# /u01/app/11.2.0/grid/bin/crsctl start cluster -n rac01 rac02   使用 SRVCTL 啟動/停止所有實例:   [oracle@rac01 ~]#srvctl stop database -d racdb   [oracle@rac01 ~]#srvctl start database -d racdb相關營銷型網站建設建設網站公司。

關鍵詞標簽: 標題 標簽

聲明: 本文由我的SEOUC技術文章主頁發布于:2023-05-23 ,文章oracle 11g RAC 常用命令整理分享建站知識主要講述標簽,標題,oracle 11g RAC 常用命令整理分享建網站建設源碼以及服務器配置搭建相關技術文章。轉載請保留鏈接: http://www.bifwcx.com/article/web_5586.html

我的IDC 網站建設技術SEOUC.COM
專注網站建設,SEO優化,小程序設計制作搭建開發定制網站等,數千家網站定制開發案例,網站推廣技術服務。
  • 5000+合作客服
  • 8年從業經驗
  • 150+覆蓋行業
  • 最新熱門源碼技術文章

    主站蜘蛛池模板: 兴山县| 湖南省| 阿拉善盟| 思茅市| 九龙坡区| 博湖县| 苍山县| 白城市| 贵南县| 福贡县| 泗阳县| 广东省| 蓬安县| 望城县| 南阳市| 荥阳市| 绥棱县| 城固县| 乌拉特中旗| 平顶山市| 福海县| 无为县| 儋州市| 裕民县| 邮箱| 平阳县| 固始县| 延津县| 湛江市| 老河口市| 方城县| 察隅县| 闻喜县| 大埔区| 和硕县| 德兴市| 苏尼特右旗| 射洪县| 清徐县| 海原县| 伊春市|