浪潮服务器使用ARCCONF查看RAID配置信息

news2024/9/20 19:36:10

提示:文章写完后,目录可以自动生成,如何生成可参考右边的帮助文档

文章目录

  • 前言
  • 一、获取ARCCONF
  • 二、使用步骤
    • 1.Windows Server 2022
      • 1.查看RAID控制器
      • 2.查询控制器属性
      • 3.查询虚拟磁盘属性
      • 4.查询物理硬盘属性
    • 2.Ubuntu-22.04
    • 3.CentOS7
  • 三、配置RAID属性
  • 总结


前言

最近接管了一个浪潮服务器,系统是Windows Server 2022,本来想打开硬件管理器看看硬盘配置的,结果只显示INSPUR LOGICAL VOLUME,而且服务器是24小时开机的,所以只能借助RAID管理工具了,我这款RAID控制器是PM8222-SHBA,是MicroChip的方案,使用ARCCONF命令行工具即可。

由于我们使用的服务器主要是基于MegaRAID的方案,手上只有这一款基于Inspur的RAID方案,而且已经装了Windows系统,所以主要讲下Windows上的使用,Linux类似。


一、获取ARCCONF

这里就直接给官方网址了,上传资源我也嫌麻烦。
ARCCONF官网

在这里插入图片描述
支持的产品(官方给出):

在这里插入图片描述

亲测:我的这款PM8222-SHBA是支持的!

二、使用步骤

1.Windows Server 2022

我目前的环境,下载之后解压zip到任意目录(不要解压到C盘的系统目录),找到windows_x64。这个版本貌似只支持x86_64,如果你是x86就去官网找旧版本,看看是不是支持x86。
在这里插入图片描述
依次点进去直到看到arcconf.exe工具。
在这里插入图片描述
注意:如果你的RAID正常使用,就不要使用driverUpdate.exe,以免出现问题!

下面介绍几个我常用的命令:

1.查看RAID控制器

./arcconf.exe LIST

Controllers found: 1
----------------------------------------------------------------------
Controller information
----------------------------------------------------------------------
   Controller ID             : Status, Slot, Mode, Name, SerialNumber, WWN
----------------------------------------------------------------------
   Controller 1:             : Optimal, Slot 21, Mixed, INSPUR PM8222-SHBA, **********, **********

可以看到机器里RAID卡的信息和个数,我的机器是一个RAID卡。每个RAID卡在这个机器上都有一个唯一的ID,第一个就是1,以此类推,记得这个ID,后面有用。

2.查询控制器属性

./arcconf.exe getconfig <RAID控制器ID> ad

Controllers found: 1
----------------------------------------------------------------------
Controller information
----------------------------------------------------------------------
   Controller Status                          : Optimal
   Controller Mode                            : Mixed
   Channel description                        : SCSI
   Controller Model                           : INSPUR PM8222-SHBA
   Vendor ID                                  : *****
   Device ID                                  : *****
   Subsystem Vendor ID                        : *****
   Subsystem Device ID                        : *****
   Controller Serial Number                   : **********
   Controller World Wide Name                 : **********
   Physical Slot                              : 21
   Negotiated PCIe Data Rate                  : PCIe 3.0 x8(7880 MB/s)
   PCI Address (Domain:Bus:Device:Function)   : 0:b1:0:0
   Number of Ports                            : 2
   Internal Port Count                        : 2
   External Port Count                        : 0
   Defunct disk drive count                   : 0
   NCQ status                                 : Enabled
   Queue Depth                                : Automatic
   Monitor and Performance Delay              : 60 minutes
   Elevator Sort                              : Enabled
   Degraded Mode Performance Optimization     : Disabled
   Latency                                    : Disabled
   Post Prompt Timeout                        : 0 seconds
   Boot Controller                            : False
   Primary Boot Volume                        : None
   Secondary Boot Volume                      : None
   Driver Name                                : smartsamd.sys
   Driver Supports SSD I/O Bypass             : Yes
   NVMe Supported                             : No
   NVMe Configuration Supported               : No
   Manufacturing Part Number                  : Not Applicable
   Manufacturing Spare Part Number            : Not Applicable
   Manufacturing Wellness Log                 : Not Applicable
   Manufacturing SKU Number                   : Not Applicable
   Manufacturing Model                        : Not Applicable
   NVRAM Checksum Status                      : Passed
   Sanitize Lock Setting                      : None
   Expander Minimum Scan Duration             : 0 seconds
   Expander Scan Time-out                     : 120 seconds
   Reboot Required Reasons                    : Not Available
   -------------------------------------------------------------------
   Power Settings
   -------------------------------------------------------------------
   Power Consumption                          : Not Available
   Current Power Mode                         : Maximum Performance
   Pending Power Mode                         : Not Applicable
   Survival Mode                              : Disabled
   -------------------------------------------------------------------
   Cache Properties
   -------------------------------------------------------------------
   -------------------------------------------------------------------
   Physical Drive Write Cache Policy Information
   -------------------------------------------------------------------
   Configured Drives                          : Default
   Unconfigured Drives                        : Default
   HBA Drives                                 : Default
   -------------------------------------------------------------------
   RAID Properties
   -------------------------------------------------------------------
   Logical devices/Failed/Degraded            : 2/0/0
   Spare Activation Mode                      : Failure
   Background consistency check               : Idle
   Consistency Check Delay                    : 3 seconds
   Parallel Consistency Check Supported       : Enabled
   Parallel Consistency Check Count           : 1
   Inconsistency Repair Policy                : Disabled
   Consistency Check Inconsistency Notify     : Disabled
   Rebuild Priority                           : High
   Expand Priority                            : Medium
   -------------------------------------------------------------------
   Controller Version Information
   -------------------------------------------------------------------
   Firmware                                   : 4.11
   Driver                                     : Windows 1.52.0.0
   Hardware Revision                          : B
   Hardware Minor Revision                    : Not Available
   SEEPROM Version                            : 3
   CPLD Revision                              : Not Available
   -------------------------------------------------------------------
   Out Of Band Interface Settings
   -------------------------------------------------------------------
   OOB Interface                              : PBSI
   Pending OOB Interface                      : PBSI
   I2C Address                                : 0xDE
   Pending I2C Address                        : 0xDE
   -------------------------------------------------------------------
   PBSI
   -------------------------------------------------------------------
   I2C Clock Speed                            : 400 KHZ
   I2C Clock Stretching                       : Enabled
   Pending I2C Clock Speed                    : 400 KHZ
   Pending I2C Clock Stretching               : Enabled
   -------------------------------------------------------------------
   MCTP
   -------------------------------------------------------------------
   SMBus Device Type                          : Not Applicable
   SMBus Channel                              : Not Applicable
   Static EIDs Use On Initialization          : Not Applicable
   VDM Notification                           : Not Applicable
   Pending SMBus Device Type                  : Not Applicable
   Pending SMBus Channel                      : Not Applicable
   Pending Static EIDs Use On Initialization  : Not Applicable
   Pending VDM Notification                   : Not Applicable
   -------------------------------------------------------------------
   Connector information
   -------------------------------------------------------------------
   Connector #0
      Connector name                          : CN0
      Connection Number                       : 0
      Functional Mode                         : Mixed
      Connector Location                      : Internal
      SAS Address                             : 56C92BF0053B131E


   Connector #1
      Connector name                          : CN1
      Connection Number                       : 1
      Functional Mode                         : Mixed
      Connector Location                      : Internal
      SAS Address                             : **********

RAID控制器ID就是上面LIST查询到的ID,浪潮服务器支持多个RAID控制器,每个控制器都有唯一的ID,咱们做的RAID就是在这些控制器基础上做的,你要查哪个RAID就要先找到管理它的控制器。我的机器是一个RAID控制器,一个控制器可以管理多组RAID。

3.查询虚拟磁盘属性

./arcconf.exe getconfig <RAID控制器ID> ld

Controllers found: 1
--------------------------------------------------------
Logical device information
--------------------------------------------------------
Logical Device number 0
   Logical Device name                        : Logical Drive 1
   Disk Name                                  : \\.\PhysicalDrive0 (Disk0)
   Block Size of member drives                : 512 Bytes
   Array                                      : 0
   RAID level                                 : 0
   Status of Logical Device                   : Optimal
   Size                                       : 915683 MB
   Stripe-unit size                           : 256 KB
   Full Stripe Size                           : 256 KB
   Interface Type                             : SATA SSD
   Device Type                                : Data
   Boot Type                                  : None
   Heads                                      : 255
   Sectors Per Track                          : 32
   Cylinders                                  : 65535
   Mount Points                               :  100 MB  Partition Number 1  16 MB  Partition Number 2 C:\ 914886 MB  Partition Number 3  679 MB  Partition Number 4
   LD Acceleration Method                     : SSD IO Bypass
   Volume Unique Identifier                   : ********************
--------------------------------------------------------
   Array Physical Device Information
--------------------------------------------------------
   Device ID                                  : Availability (SizeMB, Protocol, Type, Connector ID, Location) Serial Number
--------------------------------------------------------
   Device 4                                   : Present (915715MB, SATA, SSD, Connector:1, Device:4) **********


Logical Device number 1
   Logical Device name                        : Logical Drive 2
   Disk Name                                  : \\.\PhysicalDrive1 (Disk1)
   Block Size of member drives                : 512 Bytes
   Array                                      : 1
   RAID level                                 : 1
   Status of Logical Device                   : Optimal
   Size                                       : 2289240 MB
   Stripe-unit size                           : 256 KB
   Full Stripe Size                           : 256 KB
   Interface Type                             : Serial Attached SCSI
   Device Type                                : Data
   Boot Type                                  : None
   Heads                                      : 255
   Sectors Per Track                          : 32
   Cylinders                                  : 65535
   Mount Points                               : D:\ 2289239 MB  Partition Number 1
   LD Acceleration Method                     : None
   Volume Unique Identifier                   : ********************
--------------------------------------------------------
   Array Physical Device Information
--------------------------------------------------------
   Device ID                                  : Availability (SizeMB, Protocol, Type, Connector ID, Location) Serial Number
--------------------------------------------------------
   Device 5                                   : Present (2289272MB, SAS, HDD, Connector:1, Device:5) **********
   Device 6                                   : Present (2289272MB, SAS, HDD, Connector:1, Device:6) **********

这看到的是系统挂载的逻辑磁盘属性,不是物理磁盘属性。可以看到RAID控制器1下面配置了两个组,组1是RAID 0且挂了一块硬盘,组2是RAID 1且挂了2块硬盘。

注意:这种配置存在一定风险,一般系统盘都需要两块硬盘做RAID 1的,这样的话哪怕24小时运行也不必过于担心因硬盘故障导致的系统崩溃,甚至无法挽回的地步。

4.查询物理硬盘属性

./arcconf.exe getconfig <RAID控制器ID> pd

Controllers found: 1
----------------------------------------------------------------------
Physical Device information
----------------------------------------------------------------------
   Channel #0:
      Device #4
         Device is a Hard drive
         State                                : Online
         Drive has stale RIS data             : False
         Block Size                           : 512 Bytes
         Physical Block Size                  : 4K Bytes
         Transfer Speed                       : SATA 6.0 Gb/s
         Reported Channel,Device(T:L)         : 0,4(4:0)
         Reported Location                    : Direct Attached, Slot 4(Connector 1:CN1)
         Array                                : 0
         Vendor                               : ATA
         Model                                : SAMSUNG ***************
         Firmware                             : *****
         Serial number                        : **********
         World-wide name                      : **********
         Reserved Size                        : 32768 KB
         Used Size                            : 915683 MB
         Unused Size                          : 0 MB
         Total Size                           : 915715 MB
         Write Cache                          : Disabled (write-through)
         S.M.A.R.T.                           : No
         S.M.A.R.T. warnings                  : 0
         SSD                                  : Yes
         NCQ supported                        : Supported
         NCQ status                           : Enabled
         Boot Type                            : None
         Current Temperature                  : 32 deg C
         Maximum Temperature                  : 43 deg C
         Threshold Temperature                : 70 deg C
         PHY Count                            : 1
         Drive Configuration Type             : Data
         Drive Encryption Capability          : SED
         SED Security Status                  : Not Applicable
         SED Qualification Status             : Not Applicable
         SED Ownership status                 : Not Applicable
         SED Type                             : Not Applicable
         Foreign Key Identifier               : Not Applicable
         Foreign Reset Key Identifier         : Not Applicable
         Original Factory State(OFS)          : False
         Drive Exposed to OS                  : False
         Sanitize Erase Support               : True
         Sanitize Lock Freeze Support         : True
         Sanitize Lock Anti-Freeze Support    : True
         Sanitize Lock Setting                : None
         Power On Hours                       : 3425
         Usage Remaining                      : 100 percent
         Estimated Life Remaining             : Not Applicable
         SSD Smart Trip Wearout               : False
         56 Day Warning Present               : False
         Drive Unique ID                      : 8B78DE7726E67D49
         Drive SKU Number                     : Not Applicable
         Drive Part Number                    : Not Applicable
         Last Failure Reason                  : No Failure
      ----------------------------------------------------------------
      Device Phy Information
      ----------------------------------------------------------------
         Phy #0
            Negotiated Physical Link Rate     : 6 Gbps
            Negotiated Logical Link Rate      : 6 Gbps
            Maximum Link Rate                 : 6 Gbps

      ----------------------------------------------------------------
      Device Error Counters
      ----------------------------------------------------------------
         Aborted Commands                     : 0
         Bad Target Errors                    : 0
         Ecc Recovered Read Errors            : 0
         Failed Read Recovers                 : 0
         Failed Write Recovers                : 0
         Format Errors                        : 0
         Hardware Errors                      : 0
         Hard Read Errors                     : 0
         Hard Write Errors                    : 0
         Hot Plug Count                       : 0
         Media Failures                       : 0
         Not Ready Errors                     : 0
         Other Time Out Errors                : 0
         Predictive Failures                  : 0
         Retry Recovered Read Errors          : 0
         Retry Recovered Write Errors         : 0
         Scsi Bus Faults                      : 0
         Sectors Reads                        : 6974590021
         Sectors Written                      : 27616948749
         Service Hours                        : 3423

      Device #5
         Device is a Hard drive
         State                                : Online
         Drive has stale RIS data             : False
         Block Size                           : 512 Bytes
         Physical Block Size                  : 4K Bytes
         Transfer Speed                       : SAS 12.0 Gb/s
         Reported Channel,Device(T:L)         : 0,5(5:0)
         Reported Location                    : Direct Attached, Slot 5(Connector 1:CN1)
         Array                                : 1
         Vendor                               : TOSHIBA
         Model                                : **********
         Firmware                             : ****
         Serial number                        : **********
         World-wide name                      : **********
         Reserved Size                        : 32768 KB
         Used Size                            : 2289240 MB
         Unused Size                          : 0 MB
         Total Size                           : 2289272 MB
         Write Cache                          : Disabled (write-through)
         S.M.A.R.T.                           : No
         S.M.A.R.T. warnings                  : 0
         SSD                                  : No
         Boot Type                            : None
         Rotational Speed                     : 10500 RPM
         Current Temperature                  : 31 deg C
         Maximum Temperature                  : 34 deg C
         Threshold Temperature                : 65 deg C
         PHY Count                            : 2
         Drive Configuration Type             : Data
         Drive Exposed to OS                  : False
         Sanitize Erase Support               : True
         Sanitize Lock Freeze Support         : False
         Sanitize Lock Anti-Freeze Support    : False
         Sanitize Lock Setting                : None
         Drive Unique ID                      : **********
         Drive SKU Number                     : Not Applicable
         Drive Part Number                    : Not Applicable
         Last Failure Reason                  : No Failure
      ----------------------------------------------------------------
      Device Phy Information
      ----------------------------------------------------------------
         Phy #0
            Negotiated Physical Link Rate     : 12 Gbps
            Negotiated Logical Link Rate      : 12 Gbps
            Maximum Link Rate                 : 12 Gbps
         Phy #1
            Negotiated Physical Link Rate     : unknown
            Negotiated Logical Link Rate      : unknown
            Maximum Link Rate                 : 12 Gbps

      ----------------------------------------------------------------
      Device Error Counters
      ----------------------------------------------------------------
         Aborted Commands                     : 0
         Bad Target Errors                    : 0
         Ecc Recovered Read Errors            : 0
         Failed Read Recovers                 : 0
         Failed Write Recovers                : 0
         Format Errors                        : 0
         Hardware Errors                      : 0
         Hard Read Errors                     : 0
         Hard Write Errors                    : 0
         Hot Plug Count                       : 0
         Media Failures                       : 0
         Not Ready Errors                     : 0
         Other Time Out Errors                : 0
         Predictive Failures                  : 0
         Retry Recovered Read Errors          : 0
         Retry Recovered Write Errors         : 0
         Scsi Bus Faults                      : 6
         Sectors Reads                        : 46358447399
         Sectors Written                      : 441995486
         Service Hours                        : 3423

      Device #6
         Device is a Hard drive
         State                                : Online
         Drive has stale RIS data             : False
         Block Size                           : 512 Bytes
         Physical Block Size                  : 4K Bytes
         Transfer Speed                       : SAS 12.0 Gb/s
         Reported Channel,Device(T:L)         : 0,6(6:0)
         Reported Location                    : Direct Attached, Slot 6(Connector 1:CN1)
         Array                                : 1
         Vendor                               : TOSHIBA
         Model                                : **********
         Firmware                             : 1403
         Serial number                        : **********
         World-wide name                      : **********
         Reserved Size                        : 32768 KB
         Used Size                            : 2289240 MB
         Unused Size                          : 0 MB
         Total Size                           : 2289272 MB
         Write Cache                          : Disabled (write-through)
         S.M.A.R.T.                           : No
         S.M.A.R.T. warnings                  : 0
         SSD                                  : No
         Boot Type                            : None
         Rotational Speed                     : 10500 RPM
         Current Temperature                  : 31 deg C
         Maximum Temperature                  : 34 deg C
         Threshold Temperature                : 65 deg C
         PHY Count                            : 2
         Drive Configuration Type             : Data
         Drive Exposed to OS                  : False
         Sanitize Erase Support               : True
         Sanitize Lock Freeze Support         : False
         Sanitize Lock Anti-Freeze Support    : False
         Sanitize Lock Setting                : None
         Drive Unique ID                      : **********
         Drive SKU Number                     : Not Applicable
         Drive Part Number                    : Not Applicable
         Last Failure Reason                  : No Failure
      ----------------------------------------------------------------
      Device Phy Information
      ----------------------------------------------------------------
         Phy #0
            Negotiated Physical Link Rate     : 12 Gbps
            Negotiated Logical Link Rate      : 12 Gbps
            Maximum Link Rate                 : 12 Gbps
         Phy #1
            Negotiated Physical Link Rate     : unknown
            Negotiated Logical Link Rate      : unknown
            Maximum Link Rate                 : 12 Gbps

      ----------------------------------------------------------------
      Device Error Counters
      ----------------------------------------------------------------
         Aborted Commands                     : 0
         Bad Target Errors                    : 0
         Ecc Recovered Read Errors            : 0
         Failed Read Recovers                 : 0
         Failed Write Recovers                : 0
         Format Errors                        : 0
         Hardware Errors                      : 0
         Hard Read Errors                     : 0
         Hard Write Errors                    : 0
         Hot Plug Count                       : 0
         Media Failures                       : 0
         Not Ready Errors                     : 0
         Other Time Out Errors                : 0
         Predictive Failures                  : 0
         Retry Recovered Read Errors          : 0
         Retry Recovered Write Errors         : 0
         Scsi Bus Faults                      : 6
         Sectors Reads                        : 42869411170
         Sectors Written                      : 3891363294
         Service Hours                        : 3423

   Channel #2:
      Device #0
         Device is an Enclosure Services Device
         Reported Channel,Device(T:L)         : 2,0(0:0)
         Enclosure ID                         : 0
         Enclosure Logical Identifier         : **********
         Type                                 : SES2
         Vendor                               : INSPUR
         Model                                : Virtual SGPIO
         Firmware                             : 4.11
         Status of Enclosure Services Device
            Speaker status                    : Not Available



Command completed successfully.

这看到的是物理磁盘属性,比如硬盘品牌、型号、接口、容量、材质(SSD或机械)。其它的属性大家自行观看。

还有其它查询命令就不一一列出:

查询虚拟磁盘的ID
./arcconf.exe getconfig <RAID卡ID>  ld_id
硬盘所在Channel的ID
./arcconf.exe getconfig <RAID卡ID>  channel_id
硬盘槽位号
./arcconf.exe getconfig <RAID卡ID>  slot_id
表示查询maxCache信息
./arcconf.exe getconfig <RAID卡ID>  mc
表示查询所有信息
./arcconf.exe getconfig <RAID卡ID>  al

2.Ubuntu-22.04

官方提供了Linux版的二进制文件,将文件复制到服务器上。

chmod a+x arcconf
sudo mv arcconf /usr/bin
示例
sudo arcconf LIST

注意:ARM和X86架构的不同,不要复制错文件!

在这里插入图片描述
执行命令和Windows一样,详情参考Windows的操作。

3.CentOS7

给了个rpm包,可以拷贝到服务器上安装。

三、配置RAID属性

上面讲的是查看RAID属性,其实配置也是支持的,只不过查询就算输错命令也没关系,配置可能破坏数据,不建议小白在生产服务器上测试。

像设置RAID工作模式创建删除RAID都是支持的,详情不讲了,找供应商提供文档,按照文档一步步来。


总结

1、还蛮简单的,有问题可以留言一起讨论

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/1480399.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

精益工程师3000工资与30000工资的区别!

在同一职场征程中&#xff0c;为何有的精益工程师月入仅三千&#xff0c;而另一些则能达到三万&#xff1f;这一差距&#xff0c;远超薪酬数额的简单对比&#xff0c;它深刻反映了专业能力、工作态度和个人品质的全面差异。 首先&#xff0c;对于刚踏入职场的精益工程师而言&a…

1.3 vue ui框架-element-ui框架

1 前言 ElementUI是一套基于VUE2.0的桌面端组件库&#xff0c;ElementUI提供了丰富的组件帮助开发人员快速构建功能强大、风格统一的页面。 ElementUI官网 https://element.eleme.io 2 安装 运行命令 cnpm i element-ui -S -S表示只在该项目下安装&#xff0c;不是全局安…

Springboot配置定时任务

介绍SpringBoot集成定时任务的过程。 目 录 1、引入相关依赖 2、启动类添加注解 3、定时任务类添加注解 4、cron表达式 5、总结 1、引入相关依赖 SpringBoot自带定时任务配置&#xff0c;只要引入springboot相关类即可。 2、启动类添加注解 在启动类上添加注解EnableSch…

【学习心得】Python调用JS的三种常用方法

在做JS逆向的时候&#xff0c;一种情况是直接用Python代码复现JS代码的功能&#xff0c;达成目的。但很多时候这种方法有明显的缺点&#xff0c;那就是一旦JS代码逻辑发生了更改&#xff0c;你就得重写Python的代码逻辑非常不便。于是第二种情况就出现了&#xff0c;我直接得到…

CDN CloudFlare 接入 OCI 对象存储

在当今数字化时代&#xff0c;网站性能和可用性是业务成功的关键。为了提供快速且可靠的访问体验&#xff0c;许多组织正在寻找有效的内容分发网络&#xff08;CDN&#xff09;解决方案。CloudFlare作为业界领先的CDN提供商&#xff0c;其强大的全球网络基础设施能够加速网站内…

UE学习笔记--解决滚轮无法放大蓝图、Panel等

我们发现有时候创建蓝图之后&#xff0c;右上角的缩放是1&#xff1a;1 但是有时候我们可能需要放的更大一点。 发现一直用鼠标滚轮像上滚动&#xff0c;都没有效果。 好像最大只能 1&#xff1a;1. 那是因为 UE 做了限制。如果希望继续放大&#xff0c;我们可以按住 Ctrl 再去…

Excel常用公式总结非常实用

16个最实用的Excel万能公式 1、多条件判断 IF(And(条件1,条件2..条件N),条件成立返回值) IF(or(条件1,条件2..条件N),条件成立返回值) 2、多条件查找 Lookup(1,0/((条件1*条件2*...条件N)),返回值区域&#xff09; 3、多条件求和 Sumifs(值区域,判断区域1,条件1,判断区域2,条…

hive报错:FAILED: NullPointerException null

发现问题 起因是我虚拟机的hive不管执行什么命令都报空指针异常的错误 我也在网上找了很多相关问题的资料&#xff0c;发现都不是我这个问题的解决方法&#xff0c;后来在hive官网上与hive 3.1.3版本相匹配的hadoop版本是3.x的版本&#xff0c;而我的hadoop版本还是2.7.2的版本…

opencv VideoCapture

videocapture顾名思义视频捕捉&#xff0c;主要是从视频文件、摄像头或网络摄像头获取视频流数据&#xff0c;并将其作为一系列帧进行处理。 我们这里主要实现了获取项目文件夹下的1.mp4视频文件&#xff0c;然后经过灰度变化、均值滤波、边缘检测然后将视频显示出来 #include…

MySQL的索引和B+tree结构

目录 0.关于索引的常见面试题 1.什么是索引&#xff1f; 索引的优缺点 2.索引的数据结构&#xff0c;为什么InnoDb引擎使用Btree作为索引的数据结构&#xff1f; 分析怎样的索引才是好的 二插搜索树 红黑树 B-Tree BTree 哈希 为什么 InnoDB 存储引擎选择使用 Btree 索…

初学HTMLCSS——盒子模型

盒子模型 盒子&#xff1a;页面中所有的元素&#xff08;标签&#xff09;&#xff0c;都可以看做是一个 盒子&#xff0c;由盒子将页面中的元素包含在一个矩形区域内&#xff0c;通过盒子的视角更方便的进行页面布局盒子模型组成&#xff1a;内容区域&#xff08;content&…

商城系统_大型商城系统源码_免费开源商城_OctShop

随着互联网对各行各业的渗透&#xff0c;以及人们网络购物的习惯已经形成&#xff0c;很多商家或企业都开始搭建与开发自己的商城系统平台。商城系统是一个以互联网技术为基础&#xff0c;依托电子商务的电商系统平台。一般大型的的商城系统都会有前台各种客户端&#xff0c;如…

JVM原理-基础篇

Java虚拟机&#xff08;JVM, Java Virtual Machine&#xff09;是运行Java应用程序的核心组件&#xff0c;它是一个抽象化的计算机系统模型&#xff0c;为Java字节码提供运行环境。JVM的主要功能包括&#xff1a;类加载机制、内存管理、垃圾回收、指令解释与执行、异常处理与安…

2023年世界前沿科技发展态势及2024年趋势展望——综述篇

源自&#xff1a;全球技术地图 “人工智能技术与咨询” 发布 一、2023年前沿科技发展与竞争态势总结 &#xff08;一&#xff09;人工智能引领前沿技术加速进步&#xff0c;产业应用一触即发&#xff0c;技术奇点苗头出现 &#xff08;二&#xff09;科技之变引发战争形态之…

帆软图片设置之一张图片铺满整个屏幕

1、设置PC端自适应属性&#xff0c;字体自适应&#xff0c;双向自适应&#xff1b; 2、单元格属性–>对齐–>高级–>图片布局–>拉伸。

欧拉-黎曼函数的K阶近似(OpenMP实现和MPI实现)

目录 欧拉-黎曼函数的K阶近似&#xff08;OpenMP实现和MPI实现&#xff09;问题描述OpenMP代码实现MPI代码实现 注意事项运行参考资料 欧拉-黎曼函数的K阶近似&#xff08;OpenMP实现和MPI实现&#xff09; 问题描述 OpenMP代码实现 #include <stdio.h> #include <s…

HarmonyOS云端一体化组件之AGC应用管理

&#xff08;可选&#xff09;在AGC控制台创建同包名应用 如创建工程时&#xff0c;发现尚未在AGC控制台创建与工程包名相同的应用&#xff0c;可进行补充创建。 1.点击界面提示内的“AppGallery Connect”&#xff0c;浏览器打开AGC控制台“我的项目”页面。 2.点击选择您希…

工厂模式:没你想像的那么难

工厂模式 工厂模式是一种创建型设计模式&#xff0c;它允许创建对象而无需指定将要创建的对象的具体类。它通过将对象的创建委托给一个单独的方法或类来完成&#xff0c;从而隐藏了对象的实例化逻辑。这样可以提高代码的灵活性&#xff0c;减少了代码中的重复和耦合。 在工厂…

社会底层人民要被人工智能和机器人淘汰了吗?你害怕被AI代替吗?

随着科技的飞速发展&#xff0c;人工智能和机器人技术已经成为我们日常生活中不可或缺的一部分。这些技术的广泛应用引发了一些担忧&#xff0c;其中之一就是社会底层人民是否会被人工智能和机器人所淘汰。然而&#xff0c;这个问题并不是非黑即白的&#xff0c;它需要从多个角…

excel导出标准化

虽然标题叫标准化&#xff0c;只不过是我自己的习惯&#xff0c;当一件事情变得流程标准化之后&#xff0c;开发程序就会飞快&#xff0c;开发评估工作总是 搞个1~2天&#xff0c;实则前端后端一起开发&#xff0c;1个小时就可以搞定。 1 前端 const exportXls async () >…