最新要闻
- 今日快讯:姆总很生气!头号射手和大巴黎翻脸,想要姆巴佩原谅必须得加钱
- 【独家焦点】王者面前蹦迪 本田思域高速见缝插针式变道被撞惨
- 今日观点!人死后葬礼要花多少钱?为什么现在的死亡成本这么高?
- 全球微速讯:百元级主板也能上游戏神U 微星A620升级支持锐龙7 7800X3D
- 麦当劳是怎么在年轻人心中封神的?
- 卫生间、厨房还是阳台? 新房装修洗衣机真不能随便放
- 春泉产业信托(01426.HK)4月6日回购6万个基金单位
- 每日速读!《泰坦尼克号》女主参演阿凡达2上热搜:对大海有执念
- 每日焦点!GPD Win Max掌机抢先升级AMD 4nm Zen4!核显无敌
- 每日信息:104MB缓存灭掉i9-13900KS!AMD锐龙7 7800X3D正式开卖:3299元神性价
- 热门看点:摩托车驾驶证到期怎么换(摩托车驾驶证到期换证流程)
- 女友争吵后高速路上要跳车 宝马男急忙应急车道 现场火药味十足
- 全球速看:不怵清华北大的中南大学:正批量造富
- 巨石强森演《终结者》T800是啥样?AI绘制以假乱真
- 天罡股份4月13日北交所上会:参与20多项行业标准和技术规范制定
- 超导石墨烯一粒用三年!南孚传应纽扣电池5粒只要7.9元
广告
手机
iphone11大小尺寸是多少?苹果iPhone11和iPhone13的区别是什么?
警方通报辅警执法直播中被撞飞:犯罪嫌疑人已投案
- iphone11大小尺寸是多少?苹果iPhone11和iPhone13的区别是什么?
- 警方通报辅警执法直播中被撞飞:犯罪嫌疑人已投案
- 男子被关545天申国赔:获赔18万多 驳回精神抚慰金
- 3天内26名本土感染者,辽宁确诊人数已超安徽
- 广西柳州一男子因纠纷杀害三人后自首
- 洱海坠机4名机组人员被批准为烈士 数千干部群众悼念
家电
全球观点:执行orachk检查数据库环境
(资料图)
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...
关键词:
-
【新视野】2、XmlBeanFactory 的类图介绍.md
全局目录 md引子1、容器最基本使用 md系列1-bean标签解析:2、XmlBeanFactory的类图介绍 md3、XmlBea...
来源: 【新视野】2、XmlBeanFactory 的类图介绍.md
全球观点:执行orachk检查数据库环境
今日快讯:姆总很生气!头号射手和大巴黎翻脸,想要姆巴佩原谅必须得加钱
【独家焦点】王者面前蹦迪 本田思域高速见缝插针式变道被撞惨
今日观点!人死后葬礼要花多少钱?为什么现在的死亡成本这么高?
全球微速讯:百元级主板也能上游戏神U 微星A620升级支持锐龙7 7800X3D
麦当劳是怎么在年轻人心中封神的?
卫生间、厨房还是阳台? 新房装修洗衣机真不能随便放
春泉产业信托(01426.HK)4月6日回购6万个基金单位
【聚看点】数据库系统原理之数据管理技术的发展
每日速读!《泰坦尼克号》女主参演阿凡达2上热搜:对大海有执念
每日焦点!GPD Win Max掌机抢先升级AMD 4nm Zen4!核显无敌
每日信息:104MB缓存灭掉i9-13900KS!AMD锐龙7 7800X3D正式开卖:3299元神性价
热门看点:摩托车驾驶证到期怎么换(摩托车驾驶证到期换证流程)
【新视野】Python + edge-tts:一行代码,让你的文本轻松变成语音!
RL 的探索策略 | Exploration for RL
全球讯息:ORACLE数据库中ORACLE_SID与INSTANCE_NAME的差异
全球观点:geant4基础操作
全球动态:应急响应基础技能
全球速递!兴业银行上线人民币跨境支付系统债券通直通服务
天天快资讯:【财经分析】宏观经济预期改善支撑英镑兑美元汇率走高
女友争吵后高速路上要跳车 宝马男急忙应急车道 现场火药味十足
全球速看:不怵清华北大的中南大学:正批量造富
巨石强森演《终结者》T800是啥样?AI绘制以假乱真
焦点关注:债市日报:4月6日
天罡股份4月13日北交所上会:参与20多项行业标准和技术规范制定
超导石墨烯一粒用三年!南孚传应纽扣电池5粒只要7.9元
环球快资讯丨猩猩被游客扔瓶子砸头后扔回反击 动物园回应被教坏了:网友直呼做的对
ROG游戏手机7 Pro外观曝光:经典电竞小屏、横向三摄
【焦点热闻】Springboot+HTML5+Layui2.7.6上传文件【请求上传接口出现异常】
4299元 宏碁XV275K P3显示器上架:4K Mini LED屏、160Hz高刷
网友29元坐高铁商务座 薅到零食、盒饭“羊毛”!网友热议
【天天快播报】老版本被放弃!Steam将终止对macOS 10.11/10.12系统支持
日本人要搞二次元老婆版ChatGPT:感觉AI成人娃娃也快来了
环球今日讯!女子突然呼吸困难地铁工作人员为她戴严口罩:网友竟然齐声叫好!
生日礼物女生送什么好_女生送这些生日礼物好
当前热议!在线商城爬虫 带爬取记录 以11TREET 为例
世界消息!AIRIOT赋能水务行业深度转型,打造智慧水务“四化建设”
焦点热议:常用Content-Type汇总
天天简讯:用powershell开发跨平台动态网页
当前信息:美国男子承认掰断兵马俑手指并偷走 最严只用服刑2年
速递!20个环球飞车同时炸场!小刀电动车通过暴力测试:比杂技还好看
谷歌亚马逊提供丰厚补偿鼓励离职:悬赏一年薪水
当前速看:女子看手机下楼梯踩空导致脸着地 经检查脸部多处擦伤
【全球热闻】海尔卖成2022全球第一家电品牌!韩国不愿意了:声称LG才是老大
世界视讯!记录-关于console你不知道的那些事
世界今头条!半天时间写完一个案例,循序渐进的掌握uni-app,使用uni-app完成一个简单项目——新闻列表
焦点速讯:【财经分析】多空因素交织博弈 债市尚无近忧仍有远虑
视点!锂价跌破25万“生死线”,锂矿停产挺价?宜春锂业三巨头澄清,传闻不靠谱!
每日简讯:FIFA国家队排名:国足下降至81位 美加墨世界杯出线有希望
还有谁!比亚迪ATTO 3连续5个月蝉联以色列全系单车销冠
环球热点!网友点赞小米之家:线下免费送父母智能手机使用指南 还教用微信
全球快资讯丨苹果虚拟现实头显设备即将到来!果粉不感兴趣
【天天报资讯】不妙!国内油价预计大涨0.4元/升 4月17日起调整
报道:Mysql LOAD DATA读取客户端任意文件
python中动态导入文件的方法
小程序容器助力企业小程序开放平台打造
每日动态!记录一次小程序中讨厌的拍照上传的优化
世界热讯:开心档之C++ 多态
每日聚焦:为节约开支 英国打算用驳船“装”移民
每日看点!首搭长城Hi4电四驱 哈弗枭龙MAX官图发布:博主直言价格合理必卖爆
大疆Mavic 3 Pro无人机曝光:升级三枚摄镜头 奔着2万元去了
上百人进山挖黄金引网友围观!官方回应:挖的是昆虫 被称“土黄金”
世界即时看!马斯克74岁超模妈妈参观特斯拉上海超级工厂:夸赞制造完美、质量过硬
革命性全彩电子纸问世:媲美最先进纸质印刷品 明年量产上市
即时:图解 SQL 执行顺序,通俗易懂!
网上说低代码的一大堆,JNPF凭什么可以火?
环球报道:不管车贵不贵,十万里程后,此3种零件该换就换,别省钱关乎生命
为蹭车位男子当街换车牌被罚5000:驾照十二分也没了
当前热文:苹果服务器再出故障:iCloud、iMessage崩了
世界今头条!曾传乐视靠《甄嬛传》活着 乐视将推85英寸甄嬛传限量电视
当前快播:徕卡超大杯首次进军海外!小米13 Ultra将全球上市
焦点速递!89元 小米米家电动牙刷T200C发布:Type-C充电 续航25天
当前热文:W1R3S
天天热讯:数位dp
今日看点:kill 进程时遇到的一件有意思的事情
焦点速讯:黑夜传说演员表_传说演员表
全球新动态:比尔·盖茨反击马斯克:暂停AI的发展并不能解决问题
每日报道:比亚迪海龙等4款超跑概念图亮相!你觉得哪款最帅?
环球讯息:长城汽车:一位新能源砖家 利润高可能是因为新能源卖的差
狠人!印度一男子爬火车摸25000伏高压电 瞬间成火球吓坏网友
重点聚焦!104MB缓对锐龙7 7800X3D核显无用:鸡血提升不存在
全球热资讯!SpringBoot中如何编写一个优雅的限流组件?
环球今热点:一文快速了解火山引擎 A/B 测试平台
小程序对接三方插件契约锁
【全球新视野】真的有那么好?试完深蓝SL03我明白了
诺基亚E72i手机什么时候上市的?诺基亚E72i手机参数
摩尔庄园怎么获得桑叶?摩尔庄园怎么收获农作物?
龙之谷白屏是怎么回事?龙之谷白屏怎么解决?
天天观点:四年创收20亿美元!微软XGP PC用户突破1500万
大神出手!安卓14/骁龙8 Gen2双双被破解:一键ROOT
南非一客机驾驶舱惊现剧毒眼镜蛇往人身上爬 飞行员神勇应对:平安降落
闲鱼曝光率突然下降怎么办?闲鱼曝光率怎么提高?
闲鱼对方被处置能回复消息吗?闲鱼对方被处置能正常发货吗?
全球热文:某公司技术经理媚上欺下,打工人应怼尽怼,嘤其鸣兮,求其友声!
焦点讯息:用上这几种.NET EF Core性能调优,查询性能飙升
全球今日讯!石家庄:医师资格考试报名材料即将发放
天天观热点:老司机不刹车?特斯拉潮州事故车主不服鉴定 车顶维权女车主:厂商应公开完整数据
世界聚焦:为救高烧幼童 高铁破例停车2分钟
【独家】你敢体验吗?菲律宾推出网红蟒蛇按摩服务:40元享受30分钟