老司机91精品网站在线观看_久久69精品久久久久久hb_成人欧美在线观看_免费一级日本c片完整版

首頁>焦點 > 正文

執行orachk檢查數據庫環境-全球快報

2023-04-07 06:15:43    出處:博客園


(資料圖)

Exadata環境巡檢需要執行專有的exachk,而普通Oracle環境可以通過執行orachk來檢查集群和數據庫相關健康狀況。

1.使用orachk檢查健康狀態

使用root用戶執行,期間可能需要多次輸入另外節點的root密碼,準備好密碼正確輸入即可:

[root@db01rac1 ~]# orachkThis version of AHF is older than 180 days and you should upgrade AHF using ahfctl upgrade. Clusterware stack is running from /u01/app/19.3.0/grid. Is this the correct Clusterware Home?[y/n][y] root@db01rac2"s password: root@db01rac2"s password: Searching for running databases . . . . ..  .  List of running databases registered in OCR1. demorac2. None of aboveSelect databases from list for checking best practices. For multiple databases, select 1 for All or comma separated number like 1,2 etc [1-2][1]. .  .  .  .  .  .  Either Cluster Verification Utility pack (cvupack) does not exist at /opt/oracle.ahf/common/cvu or it is an old or invalid cvupackChecking Cluster Verification Utility (CVU) version at CRS Home - /u01/app/19.3.0/gridThis version of Cluster Verification Utility (CVU) was released on 10-Jul-2022 and it is older than 180 days. It is highly recommended that you download the latest version of CVU from MOS patch 30839369 to ensure the highest level of accuracy of the data contained within the reportDo you want to download latest version of Cluster Verification Utility (CVU) from my oracle support? [y/n] [y] nRunning older version of Cluster Verification Utility (CVU) from CRS Home - /u01/app/19.3.0/gridStarting to run orachk in background on db01rac2 using socketroot@db01rac2"s password: root@db01rac2"s password: This version of AHF is older than 180 days and you should upgrade AHF using ahfctl upgrade. .  .  .  .  ..  .  Checking Status of Oracle Software Stack - Clusterware, ASM, RDBMS on db01rac1.  .  . . . .  .  .  . . . .  .  .  .  .  .  .  .  -------------------------------------------------------------------------------------------------------                                                 Oracle Stack Status                          -------------------------------------------------------------------------------------------------------  Host Name       CRS Installed  RDBMS Installed    CRS UP    ASM UP  RDBMS UP    DB Instance Name-------------------------------------------------------------------------------------------------------   db01rac1                   Yes          Yes          Yes      Yes      Yes               jydb1-------------------------------------------------------------------------------------------------------. .  .  .  .  .  .  . . . .  . *** Checking Best Practice Recommendations ( Pass / Warning / Fail ) ***.  Collections and audit checks log file is /u01/app/grid/oracle.ahf/data/db01rac1/orachk/user_root/output/orachk_db01rac1_demorac_040623_234130/log/orachk.log============================================================               Node name - db01rac1============================================================. . . . . .  Collecting - ASM Disk Groups Collecting - ASM Disk I/O stats Collecting - ASM Diskgroup Attributes Collecting - ASM disk partnership imbalance Collecting - ASM diskgroup attributes Collecting - ASM diskgroup usable free space Collecting - ASM initialization parameters Collecting - Database Parameters for demorac database Collecting - Files not opened by ASM Collecting - List of active logon and logoff triggers for demorac database Collecting - Percentage of asm disk  Imbalance Collecting - Testing Collecting - /proc/cmdline Collecting - /proc/modules Collecting - CPU Information Collecting - CRS active version Collecting - CRS oifcfg Collecting - CRS software version Collecting - CSS Reboot time Collecting - Cluster interconnect (clusterware) Collecting - Clusterware OCR healthcheck Collecting - Clusterware Resource Status Collecting - Disk I/O Scheduler on Linux Collecting - DiskFree Information Collecting - DiskMount Information Collecting - Huge pages configuration Collecting - Interconnect network card speed Collecting - Kernel parameters Collecting - Linux module config. Collecting - Maximum number of semaphore sets on system Collecting - Maximum number of semaphores on system Collecting - Maximum number of semaphores per semaphore set Collecting - Memory Information Collecting - NUMA Configuration Collecting - Network Interface Configuration Collecting - Network Performance Collecting - Network Service Switch Collecting - OS Packages Collecting - OS version Collecting - Operating system release information and kernel version Collecting - Oracle executable attributes Collecting - Patches for Grid Infrastructure Collecting - Patches for RDBMS Home Collecting - RDBMS and GRID software owner UID across cluster Collecting - Shared memory segments Collecting - Table of file system defaults Collecting - Voting disks (clusterware) Collecting - number of semaphore operations per semop system call Collecting - CHMAnalyzer to report potential Operating system resources usage Collecting - CRS Opatch version Collecting - CRS user time zone check Collecting - Custom rc init scripts (rc.local) Collecting - Disk Information Collecting - Grid Infastructure user shell limits configuration Collecting - Interconnect interface config Collecting - Network interface stats Collecting - Root user limits Collecting - Verify ORAchk scheduler configuration Collecting - Verify TCP Selective Acknowledgement is enabled Collecting - Verify no database server kernel out of memory errors Collecting - Verify the vm.min_free_kbytes configuration Collecting - root time zone check Collecting - slabinfo Collecting - umask setting for GI ownerData collections completed. Checking best practices on db01rac1.------------------------------------------------------------ INFO =>     Important Automatic Storage Management (ASM) Notes and Technical White Papers INFO =>     Oracle Data Pump Best practices. WARNING =>  Linux swap configuration does not meet recommendation INFO =>     Most recent ADR incidents for /u01/app/oracle/product/19.3.0/db_1 INFO =>     Oracle GoldenGate failure prevention best practices WARNING =>  OCR and OCR backup locations are the same path FAIL =>     The vm.min_free_kbytes configuration is not set as recommended CRITICAL => The RMAN snapshot control file location is not shared on all database nodes in the cluster for demorac INFO =>     $CRS_HOME/log/hostname/client directory has too many older log files. CRITICAL => ORAchk scheduler is not configured correctly WARNING =>  Package compat-libstdc++-33-3.2.3-61-x86_64 is recommended but not installed INFO =>     Important Storage Minimum Requirements for Grid & Database Homes CRITICAL => Operating system hugepages count does not satisfy total SGA requirements WARNING =>  NIC bonding is not configured for interconnect WARNING =>  NIC bonding is NOT configured for public network (VIP) WARNING =>  RAC interconnect network card speed does not meet recommendation INFO =>     Cluster health analyzer (CHA)  is not configured as recommended FAIL =>     system service rngd is not running WARNING =>  OSWatcher is not running as is recommended. INFO =>     Jumbo frames (MTU >= 9000) are not configured for interconnect WARNING =>  NTP is not running with correct setting WARNING =>  All disk groups should have compatible.rdbms attribute set to recommended values WARNING =>  All disk groups should have compatible.advm attribute set to recommended values FAIL =>     Database parameter DB_LOST_WRITE_PROTECT is not set to recommended value on jydb1 instance FAIL =>     Database parameter DB_BLOCK_CHECKING on STANDBY is NOT set to the recommended value. for demorac FAIL =>     Flashback on STANDBY is not configured for demorac INFO =>     Operational Best Practices INFO =>     Database Consolidation Best Practices INFO =>     Computer failure prevention best practices INFO =>     Data corruption prevention best practices INFO =>     Logical corruption prevention best practices INFO =>     Database/Cluster/Site failure prevention best practices INFO =>     Client failover operational best practices WARNING =>  fast_start_mttr_target should be greater than or equal to 300 on jydb1 instance FAIL =>     Standby redo logs should be configured on the standby for demorac WARNING =>  Oracle patch 26749785 is not applied on RDBMS_HOME /u01/app/oracle/product/19.3.0/db_1 WARNING =>  Oracle patch 29259068 is not applied on RDBMS_HOME /u01/app/oracle/product/19.3.0/db_1 INFO =>     Information about hanganalyze and systemstate dump FAIL =>     Database control files are not configured as recommended for demorac WARNING =>  Oracle patch 28907129 is not applied on RDBMS_HOME /u01/app/oracle/product/19.3.0/db_1 INFO =>     While initialization parameter LOG_ARCHIVE_CONFIG is set it should be verified for your environment on Standby Database for demorac WARNING =>  Redo log files should be appropriately sized for demorac INFO =>     Database failure prevention best practices WARNING =>  Perl Patch 33912872 is not found in 19c RDBMS_HOME. /u01/app/oracle/product/19.3.0/db_1 WARNING =>  Perl Patch 33912872 is not found in 19c CRS_HOME. /u01/app/19.3.0/grid WARNING =>  Oracle patch 32043701 is not applied on RDBMS_HOME /u01/app/oracle/product/19.3.0/db_1 WARNING =>  Oracle patch 31211220 is not applied on RDBMS_HOME /u01/app/oracle/product/19.3.0/db_1 WARNING =>  TFA Collector is either not installed or not running CRITICAL => Linux transparent huge pages are enabled FAIL =>     Listener(s) running under GI Home are not healthy FAIL =>     FRA space management problem file types are present without an RMAN backup completion within the last 7 days for demorac INFO =>     Oracle recovery manager(rman) best practices INFO =>     Database feature usage statistics for demorac WARNING =>  Linux Disk I/O Scheduler should be configured to Deadline------------------------------------------------------------                      CLUSTERWIDE CHECKS------------------------------------------------------------------------------------------------------------------------Detailed report (html) -  /u01/app/grid/oracle.ahf/data/db01rac1/orachk/user_root/output/orachk_db01rac1_demorac_040623_234130/orachk_db01rac1_demorac_040623_234130.htmlroot@db01rac2"s password: root@db01rac2"s password: UPLOAD [if required] - /u01/app/grid/oracle.ahf/data/db01rac1/orachk/user_root/output/orachk_db01rac1_demorac_040623_234130.zip

2.拷貝結果文件

orachk執行完成之后,會在最后提示你,具體生成了哪些相關文件,供你進一步分析。

可以看到,生成的完整壓縮包有100多M,如果用戶環境傳輸大文件困難,其實也可以只拷貝html報告結果(這里有30M,壓縮完只有7M不到):

[root@db01rac1 ~]# ls -lrth /u01/app/grid/oracle.ahf/data/db01rac1/orachk/user_root/output/orachk_db01rac1_demorac_040623_234130.zip-r--r----- 1 root root 111M Apr  6 23:53 /u01/app/grid/oracle.ahf/data/db01rac1/orachk/user_root/output/orachk_db01rac1_demorac_040623_234130.zip[root@db01rac1 ~]# ls -lrth /u01/app/grid/oracle.ahf/data/db01rac1/orachk/user_root/output/orachk_db01rac1_demorac_040623_234130/orachk_db01rac1_demorac_040623_234130.html-rw-r----- 1 root dba 30M Apr  6 23:53 /u01/app/grid/oracle.ahf/data/db01rac1/orachk/user_root/output/orachk_db01rac1_demorac_040623_234130/orachk_db01rac1_demorac_040623_234130.html[root@db01rac1 ~]# [root@db01rac1 ~]# cp /u01/app/grid/oracle.ahf/data/db01rac1/orachk/user_root/output/orachk_db01rac1_demorac_040623_234130/orachk_db01rac1_demorac_040623_234130.html /tmp/[root@db01rac1 ~]# cd /tmp[root@db01rac1 tmp]# ls -lrth orachk_db01rac1_demorac_040623_234130.html-rw-r-----  1 root   root     30M Apr  7 00:07 orachk_db01rac1_demorac_040623_234130.html[root@db01rac1 tmp]# tar zcvf orachk_db01rac1_demorac_040623_234130.tar.gz orachk_db01rac1_demorac_040623_234130.html orachk_db01rac1_demorac_040623_234130.html[root@db01rac1 tmp]# ls -lrth orachk_db01rac1_demorac_040623_234130*-rw-r----- 1 root root  30M Apr  7 00:07 orachk_db01rac1_demorac_040623_234130.html-rw-r--r-- 1 root root 6.5M Apr  7 00:08 orachk_db01rac1_demorac_040623_234130.tar.gz[root@db01rac1 tmp]# cp orachk_db01rac1_demorac_040623_234130.tar.gz /public/

3.分析生成的html報告

報告類似如下,實際報告內容很多,html展示也很清晰,這里只截取部分文字內容示例:

Oracle RAC Assessment ReportSystem Health Score is 88 out of 100 (detail)OS CheckLinux transparent huge pages are enabledAll Database ServersOS CheckOperating system hugepages count does not satisfy total SGA requirementsAll Database ServersDatabase CheckThe RMAN snapshot control file location is not shared on all database nodes in the clusterAll Databases View...

關鍵詞:

消費
產業
Soul App打造三位一體反詐體系,營造清朗健康的網絡空間 與傳統社交產品不同,Soul不強調顏值、地理位置等物理因素,而是以精神共鳴和興趣為導
什么樣的戀人適合結婚?世紀佳緣資深紅娘這樣說 是否可以結婚,不能僅憑戀愛時長或年齡來判斷。作為執子之手與子偕老的重要決定,結婚
君樂寶簡醇獲低GI食品真實品質認證,健康化優勢再凸顯 近些年,我國居民的健康意識逐步提升,對于乳制品的需求也逐漸增加,并且其攝入乳制品
新品上市 | 華瑞凱琳玻尿酸水光舒緩面膜全新上市 作為中國素顏養膚開創性品牌,23年來,華瑞凱琳一直深耕于護膚領域,致力于研發適合中
基金
老司机91精品网站在线观看_久久69精品久久久久久hb_成人欧美在线观看_免费一级日本c片完整版

      91福利区一区二区三区| 欧美一区二区三区精品| 欧美一区二区三区在| 国产精品午夜在线| 免费高清在线视频一区·| 91免费国产视频网站| 一区二区三区在线观看动漫| 91精品在线免费观看| 亚洲摸摸操操av| 国产一区二区三区观看| 中文字幕一区二区三区不卡| 欧美放荡的少妇| 亚洲乱码中文字幕| 国产成人午夜99999| 专区另类欧美日韩| 日韩一区二区三区视频| 亚洲国产日韩av| 91首页免费视频| 亚洲成人午夜电影| 久久久青草青青国产亚洲免观| 亚洲国产综合在线| 91在线高清观看| 日本丶国产丶欧美色综合| 国产精品美女久久久久久| 精品一区二区三区日韩| 亚洲欧美在线高清| 欧美一级二级三级蜜桃| 午夜精品久久久久久不卡8050| xfplay精品久久| 欧美亚一区二区| 亚洲精品一二三| 99精品久久免费看蜜臀剧情介绍| 亚洲成a人v欧美综合天堂下载| 国产日韩精品久久久| 狠狠久久亚洲欧美| 一区二区三区丝袜| 久久精品视频免费| 国产一区二区网址| 一区二区成人在线观看| 国产日产欧美精品一区二区三区| 精品在线观看视频| 亚洲欧美日韩中文播放| 久久在线观看免费| 国内精品久久久久影院薰衣草 | 久久免费美女视频| 久久精品久久综合| 一区二区视频在线| 国产调教视频一区| 国产成人三级在线观看| 亚洲成人午夜电影| 亚洲欧美日韩成人高清在线一区| 91丨九色丨尤物| 9191成人精品久久| 免费观看日韩电影| 亚洲精品成人a在线观看| 国产欧美日韩在线| 成人免费高清视频在线观看| 欧美色图12p| 午夜av电影一区| 亚洲视频综合在线| 国产精品青草久久| 91在线视频官网| 欧美一级一区二区| 精品一区二区国语对白| 色综合天天做天天爱| 亚洲一区二区三区中文字幕在线 | 国内外成人在线| 亚洲va在线va天堂| 一二三四区精品视频| 欧美国产欧美亚州国产日韩mv天天看完整| 日韩欧美一区在线观看| 精品一区二区三区在线播放 | 久久先锋影音av鲁色资源网| 国产福利一区在线| 欧美视频一区二区| 美女一区二区三区在线观看| 亚洲国产一区二区视频| 亚洲影院免费观看| 亚洲精品成人在线| 一区二区三区丝袜| 亚洲人成亚洲人成在线观看图片 | 国产一区二区视频在线播放| 色女孩综合影院| 日韩精品视频网| 亚洲福利视频一区二区| 亚洲一级在线观看| 一区二区三区在线视频观看| 夜夜爽夜夜爽精品视频| 亚洲欧美综合在线精品| 最新久久zyz资源站| 国产精品高潮呻吟久久| 亚洲天天做日日做天天谢日日欢 | 日韩av网站免费在线| 亚洲成人自拍网| 日日摸夜夜添夜夜添精品视频| 一区二区三区中文字幕在线观看| 亚洲综合一区二区三区| 一区二区三区波多野结衣在线观看| 一区二区在线观看视频在线观看| 亚洲人成人一区二区在线观看| 亚洲蜜桃精久久久久久久| 中文字幕综合网| 亚洲综合色婷婷| 亚洲一二三专区| 日韩av网站免费在线| 在线视频欧美精品| 韩国精品久久久| 日韩一区二区三区四区五区六区| 成人午夜av电影| 久久久欧美精品sm网站| 日本一区二区综合亚洲| 国产精品久久久99| 国产精品色哟哟| 亚洲欧美日韩国产综合| 一区二区不卡在线视频 午夜欧美不卡在| 一区二区三区在线视频观看58| 一区二区三区中文在线| 亚洲444eee在线观看| 色婷婷av久久久久久久| 精品一区二区三区免费毛片爱| 欧美三级日本三级少妇99| 国产一区亚洲一区| 精品处破学生在线二十三| 久久蜜桃av一区二区天堂 | 国产精品人成在线观看免费| 亚洲色大成网站www久久九九| 亚洲欧美一区二区三区国产精品| 亚洲一区欧美一区| 午夜电影久久久| 国产一区二区在线影院| 日韩美女一区二区三区四区| 93久久精品日日躁夜夜躁欧美| 中文字幕欧美国产| 中文av字幕一区| 亚洲高清免费观看高清完整版在线观看| 婷婷综合久久一区二区三区| 久久99精品视频| 26uuuu精品一区二区| 中文字幕精品一区| 亚洲一区二区美女| 日本精品视频一区二区三区| 国产福利精品一区二区| 日本一区二区视频在线观看| 亚洲欧美视频在线观看| 蜜臀久久久久久久| 欧美大肚乱孕交hd孕妇| 国产精品麻豆一区二区| 视频一区免费在线观看| 欧美一二区视频| 国产欧美精品一区二区三区四区| 亚洲免费在线看| 91福利区一区二区三区| 丁香啪啪综合成人亚洲小说| 中文字幕日韩一区| 一本色道**综合亚洲精品蜜桃冫| 国产成人av影院| 国产精品视频观看| 亚洲一区二区av电影| 国产一区二区伦理片| 国产精品免费网站在线观看| 亚洲国产欧美另类丝袜| 国产成人精品免费视频网站| 中文字幕国产一区二区| 一区二区三区毛片| 国产a视频精品免费观看| 国产精品理论在线观看| 色综合激情五月| 99亚偷拍自图区亚洲| 亚洲精品水蜜桃| 911国产精品| 中文字幕中文在线不卡住| 久久激五月天综合精品| 久久久久国产精品厨房| 亚洲妇熟xx妇色黄| av中文字幕亚洲| 亚洲福利视频导航| 日韩视频在线你懂得| 中文字幕日本乱码精品影院| 韩国三级中文字幕hd久久精品| 欧美精品一区二区三| 亚洲成av人影院在线观看网| av在线播放成人| 午夜精品久久久久久| 亚洲精品一线二线三线无人区| 亚洲综合偷拍欧美一区色| 99久久精品情趣| 亚洲国产美女搞黄色| 日韩美女一区二区三区四区| 亚洲黄色小视频| jizz一区二区| 视频一区中文字幕国产| 国产亚洲综合性久久久影院| 婷婷夜色潮精品综合在线| 久久人人爽人人爽| 精品一区二区在线免费观看| 国产精品久99| 91.麻豆视频| 一区二区三区视频在线看| 99久久久久久99| 麻豆国产一区二区|