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

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

文章目录

  • 前言
  • 一、获取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 LISTControllers 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> adControllers found: 1
----------------------------------------------------------------------
Controller information
----------------------------------------------------------------------Controller Status                          : OptimalController Mode                            : MixedChannel description                        : SCSIController Model                           : INSPUR PM8222-SHBAVendor ID                                  : *****Device ID                                  : *****Subsystem Vendor ID                        : *****Subsystem Device ID                        : *****Controller Serial Number                   : **********Controller World Wide Name                 : **********Physical Slot                              : 21Negotiated PCIe Data Rate                  : PCIe 3.0 x8(7880 MB/s)PCI Address (Domain:Bus:Device:Function)   : 0:b1:0:0Number of Ports                            : 2Internal Port Count                        : 2External Port Count                        : 0Defunct disk drive count                   : 0NCQ status                                 : EnabledQueue Depth                                : AutomaticMonitor and Performance Delay              : 60 minutesElevator Sort                              : EnabledDegraded Mode Performance Optimization     : DisabledLatency                                    : DisabledPost Prompt Timeout                        : 0 secondsBoot Controller                            : FalsePrimary Boot Volume                        : NoneSecondary Boot Volume                      : NoneDriver Name                                : smartsamd.sysDriver Supports SSD I/O Bypass             : YesNVMe Supported                             : NoNVMe Configuration Supported               : NoManufacturing Part Number                  : Not ApplicableManufacturing Spare Part Number            : Not ApplicableManufacturing Wellness Log                 : Not ApplicableManufacturing SKU Number                   : Not ApplicableManufacturing Model                        : Not ApplicableNVRAM Checksum Status                      : PassedSanitize Lock Setting                      : NoneExpander Minimum Scan Duration             : 0 secondsExpander Scan Time-out                     : 120 secondsReboot Required Reasons                    : Not Available-------------------------------------------------------------------Power Settings-------------------------------------------------------------------Power Consumption                          : Not AvailableCurrent Power Mode                         : Maximum PerformancePending Power Mode                         : Not ApplicableSurvival Mode                              : Disabled-------------------------------------------------------------------Cache Properties--------------------------------------------------------------------------------------------------------------------------------------Physical Drive Write Cache Policy Information-------------------------------------------------------------------Configured Drives                          : DefaultUnconfigured Drives                        : DefaultHBA Drives                                 : Default-------------------------------------------------------------------RAID Properties-------------------------------------------------------------------Logical devices/Failed/Degraded            : 2/0/0Spare Activation Mode                      : FailureBackground consistency check               : IdleConsistency Check Delay                    : 3 secondsParallel Consistency Check Supported       : EnabledParallel Consistency Check Count           : 1Inconsistency Repair Policy                : DisabledConsistency Check Inconsistency Notify     : DisabledRebuild Priority                           : HighExpand Priority                            : Medium-------------------------------------------------------------------Controller Version Information-------------------------------------------------------------------Firmware                                   : 4.11Driver                                     : Windows 1.52.0.0Hardware Revision                          : BHardware Minor Revision                    : Not AvailableSEEPROM Version                            : 3CPLD Revision                              : Not Available-------------------------------------------------------------------Out Of Band Interface Settings-------------------------------------------------------------------OOB Interface                              : PBSIPending OOB Interface                      : PBSII2C Address                                : 0xDEPending I2C Address                        : 0xDE-------------------------------------------------------------------PBSI-------------------------------------------------------------------I2C Clock Speed                            : 400 KHZI2C Clock Stretching                       : EnabledPending I2C Clock Speed                    : 400 KHZPending I2C Clock Stretching               : Enabled-------------------------------------------------------------------MCTP-------------------------------------------------------------------SMBus Device Type                          : Not ApplicableSMBus Channel                              : Not ApplicableStatic EIDs Use On Initialization          : Not ApplicableVDM Notification                           : Not ApplicablePending SMBus Device Type                  : Not ApplicablePending SMBus Channel                      : Not ApplicablePending Static EIDs Use On Initialization  : Not ApplicablePending VDM Notification                   : Not Applicable-------------------------------------------------------------------Connector information-------------------------------------------------------------------Connector #0Connector name                          : CN0Connection Number                       : 0Functional Mode                         : MixedConnector Location                      : InternalSAS Address                             : 56C92BF0053B131EConnector #1Connector name                          : CN1Connection Number                       : 1Functional Mode                         : MixedConnector Location                      : InternalSAS Address                             : **********

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

3.查询虚拟磁盘属性

./arcconf.exe getconfig <RAID控制器ID> ldControllers found: 1
--------------------------------------------------------
Logical device information
--------------------------------------------------------
Logical Device number 0Logical Device name                        : Logical Drive 1Disk Name                                  : \\.\PhysicalDrive0 (Disk0)Block Size of member drives                : 512 BytesArray                                      : 0RAID level                                 : 0Status of Logical Device                   : OptimalSize                                       : 915683 MBStripe-unit size                           : 256 KBFull Stripe Size                           : 256 KBInterface Type                             : SATA SSDDevice Type                                : DataBoot Type                                  : NoneHeads                                      : 255Sectors Per Track                          : 32Cylinders                                  : 65535Mount Points                               :  100 MB  Partition Number 1  16 MB  Partition Number 2 C:\ 914886 MB  Partition Number 3  679 MB  Partition Number 4LD Acceleration Method                     : SSD IO BypassVolume 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 1Logical Device name                        : Logical Drive 2Disk Name                                  : \\.\PhysicalDrive1 (Disk1)Block Size of member drives                : 512 BytesArray                                      : 1RAID level                                 : 1Status of Logical Device                   : OptimalSize                                       : 2289240 MBStripe-unit size                           : 256 KBFull Stripe Size                           : 256 KBInterface Type                             : Serial Attached SCSIDevice Type                                : DataBoot Type                                  : NoneHeads                                      : 255Sectors Per Track                          : 32Cylinders                                  : 65535Mount Points                               : D:\ 2289239 MB  Partition Number 1LD Acceleration Method                     : NoneVolume 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> pdControllers found: 1
----------------------------------------------------------------------
Physical Device information
----------------------------------------------------------------------Channel #0:Device #4Device is a Hard driveState                                : OnlineDrive has stale RIS data             : FalseBlock Size                           : 512 BytesPhysical Block Size                  : 4K BytesTransfer Speed                       : SATA 6.0 Gb/sReported Channel,Device(T:L)         : 0,4(4:0)Reported Location                    : Direct Attached, Slot 4(Connector 1:CN1)Array                                : 0Vendor                               : ATAModel                                : SAMSUNG ***************Firmware                             : *****Serial number                        : **********World-wide name                      : **********Reserved Size                        : 32768 KBUsed Size                            : 915683 MBUnused Size                          : 0 MBTotal Size                           : 915715 MBWrite Cache                          : Disabled (write-through)S.M.A.R.T.                           : NoS.M.A.R.T. warnings                  : 0SSD                                  : YesNCQ supported                        : SupportedNCQ status                           : EnabledBoot Type                            : NoneCurrent Temperature                  : 32 deg CMaximum Temperature                  : 43 deg CThreshold Temperature                : 70 deg CPHY Count                            : 1Drive Configuration Type             : DataDrive Encryption Capability          : SEDSED Security Status                  : Not ApplicableSED Qualification Status             : Not ApplicableSED Ownership status                 : Not ApplicableSED Type                             : Not ApplicableForeign Key Identifier               : Not ApplicableForeign Reset Key Identifier         : Not ApplicableOriginal Factory State(OFS)          : FalseDrive Exposed to OS                  : FalseSanitize Erase Support               : TrueSanitize Lock Freeze Support         : TrueSanitize Lock Anti-Freeze Support    : TrueSanitize Lock Setting                : NonePower On Hours                       : 3425Usage Remaining                      : 100 percentEstimated Life Remaining             : Not ApplicableSSD Smart Trip Wearout               : False56 Day Warning Present               : FalseDrive Unique ID                      : 8B78DE7726E67D49Drive SKU Number                     : Not ApplicableDrive Part Number                    : Not ApplicableLast Failure Reason                  : No Failure----------------------------------------------------------------Device Phy Information----------------------------------------------------------------Phy #0Negotiated Physical Link Rate     : 6 GbpsNegotiated Logical Link Rate      : 6 GbpsMaximum Link Rate                 : 6 Gbps----------------------------------------------------------------Device Error Counters----------------------------------------------------------------Aborted Commands                     : 0Bad Target Errors                    : 0Ecc Recovered Read Errors            : 0Failed Read Recovers                 : 0Failed Write Recovers                : 0Format Errors                        : 0Hardware Errors                      : 0Hard Read Errors                     : 0Hard Write Errors                    : 0Hot Plug Count                       : 0Media Failures                       : 0Not Ready Errors                     : 0Other Time Out Errors                : 0Predictive Failures                  : 0Retry Recovered Read Errors          : 0Retry Recovered Write Errors         : 0Scsi Bus Faults                      : 0Sectors Reads                        : 6974590021Sectors Written                      : 27616948749Service Hours                        : 3423Device #5Device is a Hard driveState                                : OnlineDrive has stale RIS data             : FalseBlock Size                           : 512 BytesPhysical Block Size                  : 4K BytesTransfer Speed                       : SAS 12.0 Gb/sReported Channel,Device(T:L)         : 0,5(5:0)Reported Location                    : Direct Attached, Slot 5(Connector 1:CN1)Array                                : 1Vendor                               : TOSHIBAModel                                : **********Firmware                             : ****Serial number                        : **********World-wide name                      : **********Reserved Size                        : 32768 KBUsed Size                            : 2289240 MBUnused Size                          : 0 MBTotal Size                           : 2289272 MBWrite Cache                          : Disabled (write-through)S.M.A.R.T.                           : NoS.M.A.R.T. warnings                  : 0SSD                                  : NoBoot Type                            : NoneRotational Speed                     : 10500 RPMCurrent Temperature                  : 31 deg CMaximum Temperature                  : 34 deg CThreshold Temperature                : 65 deg CPHY Count                            : 2Drive Configuration Type             : DataDrive Exposed to OS                  : FalseSanitize Erase Support               : TrueSanitize Lock Freeze Support         : FalseSanitize Lock Anti-Freeze Support    : FalseSanitize Lock Setting                : NoneDrive Unique ID                      : **********Drive SKU Number                     : Not ApplicableDrive Part Number                    : Not ApplicableLast Failure Reason                  : No Failure----------------------------------------------------------------Device Phy Information----------------------------------------------------------------Phy #0Negotiated Physical Link Rate     : 12 GbpsNegotiated Logical Link Rate      : 12 GbpsMaximum Link Rate                 : 12 GbpsPhy #1Negotiated Physical Link Rate     : unknownNegotiated Logical Link Rate      : unknownMaximum Link Rate                 : 12 Gbps----------------------------------------------------------------Device Error Counters----------------------------------------------------------------Aborted Commands                     : 0Bad Target Errors                    : 0Ecc Recovered Read Errors            : 0Failed Read Recovers                 : 0Failed Write Recovers                : 0Format Errors                        : 0Hardware Errors                      : 0Hard Read Errors                     : 0Hard Write Errors                    : 0Hot Plug Count                       : 0Media Failures                       : 0Not Ready Errors                     : 0Other Time Out Errors                : 0Predictive Failures                  : 0Retry Recovered Read Errors          : 0Retry Recovered Write Errors         : 0Scsi Bus Faults                      : 6Sectors Reads                        : 46358447399Sectors Written                      : 441995486Service Hours                        : 3423Device #6Device is a Hard driveState                                : OnlineDrive has stale RIS data             : FalseBlock Size                           : 512 BytesPhysical Block Size                  : 4K BytesTransfer Speed                       : SAS 12.0 Gb/sReported Channel,Device(T:L)         : 0,6(6:0)Reported Location                    : Direct Attached, Slot 6(Connector 1:CN1)Array                                : 1Vendor                               : TOSHIBAModel                                : **********Firmware                             : 1403Serial number                        : **********World-wide name                      : **********Reserved Size                        : 32768 KBUsed Size                            : 2289240 MBUnused Size                          : 0 MBTotal Size                           : 2289272 MBWrite Cache                          : Disabled (write-through)S.M.A.R.T.                           : NoS.M.A.R.T. warnings                  : 0SSD                                  : NoBoot Type                            : NoneRotational Speed                     : 10500 RPMCurrent Temperature                  : 31 deg CMaximum Temperature                  : 34 deg CThreshold Temperature                : 65 deg CPHY Count                            : 2Drive Configuration Type             : DataDrive Exposed to OS                  : FalseSanitize Erase Support               : TrueSanitize Lock Freeze Support         : FalseSanitize Lock Anti-Freeze Support    : FalseSanitize Lock Setting                : NoneDrive Unique ID                      : **********Drive SKU Number                     : Not ApplicableDrive Part Number                    : Not ApplicableLast Failure Reason                  : No Failure----------------------------------------------------------------Device Phy Information----------------------------------------------------------------Phy #0Negotiated Physical Link Rate     : 12 GbpsNegotiated Logical Link Rate      : 12 GbpsMaximum Link Rate                 : 12 GbpsPhy #1Negotiated Physical Link Rate     : unknownNegotiated Logical Link Rate      : unknownMaximum Link Rate                 : 12 Gbps----------------------------------------------------------------Device Error Counters----------------------------------------------------------------Aborted Commands                     : 0Bad Target Errors                    : 0Ecc Recovered Read Errors            : 0Failed Read Recovers                 : 0Failed Write Recovers                : 0Format Errors                        : 0Hardware Errors                      : 0Hard Read Errors                     : 0Hard Write Errors                    : 0Hot Plug Count                       : 0Media Failures                       : 0Not Ready Errors                     : 0Other Time Out Errors                : 0Predictive Failures                  : 0Retry Recovered Read Errors          : 0Retry Recovered Write Errors         : 0Scsi Bus Faults                      : 6Sectors Reads                        : 42869411170Sectors Written                      : 3891363294Service Hours                        : 3423Channel #2:Device #0Device is an Enclosure Services DeviceReported Channel,Device(T:L)         : 2,0(0:0)Enclosure ID                         : 0Enclosure Logical Identifier         : **********Type                                 : SES2Vendor                               : INSPURModel                                : Virtual SGPIOFirmware                             : 4.11Status of Enclosure Services DeviceSpeaker status                    : Not AvailableCommand 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.mzph.cn/news/726044.shtml

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

相关文章

Java学习笔记10——静态内部类使用及意义

当不需要内部类对象与外部类对象有任何联系时&#xff0c;可以使用static关键字来声明这个内部类&#xff0c;这种静态内部类也称为嵌套类&#xff08;nested class&#xff09;。当我们创建一个静态内部类的对象时&#xff0c;并不需要先创建外部类的对象&#xff0c;与类中的…

matlab读取hdf5格式的全球火灾排放数据库Global Fire Emissions Database(GFED)数据

1.引言 火灾是大气中痕量气体和气溶胶的重要来源&#xff0c;并且是全球尺度上最重要的干扰因素。此外&#xff0c;森林砍伐和热带泥炭地火灾以及火灾频率增加的地区&#xff0c;都会增加大气中二氧化碳的积累。烧毁面积提供了生物质燃烧事件期间受火灾影响土地的估算&#xff…

300分钟吃透分布式缓存-20讲:Redis如何处理文件事件和时间事件?

Redis 事件驱动模型 事件驱动模型 Redis 是一个事件驱动程序&#xff0c;但和 Memcached 不同的是&#xff0c;Redis 并没有采用 libevent 或 libev 这些开源库&#xff0c;而是直接开发了一个新的事件循环组件。Redis 作者给出的理由是&#xff0c;尽量减少外部依赖&#xff…

Flink:Temporal Table 的两种实现方式 Temporal Table DDL 和 Temporal Table Function

博主历时三年精心创作的《大数据平台架构与原型实现&#xff1a;数据中台建设实战》一书现已由知名IT图书品牌电子工业出版社博文视点出版发行&#xff0c;点击《重磅推荐&#xff1a;建大数据平台太难了&#xff01;给我发个工程原型吧&#xff01;》了解图书详情&#xff0c;…

上海计算机学会 2023年11月月赛 乙组T4 平分子集(三)(状态压缩 折半枚举)

第四题&#xff1a;T4平分子集&#xff08;三&#xff09; 标签&#xff1a;状态压缩、折半枚举题意&#xff1a;一个集合被称之为可平分的&#xff0c;如果它可以被分为两部分&#xff0c;且两部分的元素之和相等。空集也算可平分的。给定一个集合 a 1 , a 2 , a 3 , … , a …

WordPress建站入门教程:phpMyAdmin4.8.5出现Fatal error: Unparenthesized错误怎么办?

我们在本地电脑使用小皮面板phpstudy安装phpMyAdmin4.8.5成功后&#xff0c;但是点击【管理】功能打开时却出现如下错误&#xff1a; Fatal error: Unparenthesized a ? b : c ? d : e is not supported. Use either (a ? b : c) ? d : e or a ? b : (c ? d : e) in D:\…

基于springboot的精准扶贫管理系统论文

精准扶贫管理系统 摘要 随着信息技术在管理上越来越深入而广泛的应用&#xff0c;管理信息系统的实施在技术上已逐步成熟。本文介绍了精准扶贫管理系统的开发全过程。通过分析精准扶贫管理系统管理的不足&#xff0c;创建了一个计算机管理精准扶贫管理系统的方案。文章介绍了精…

NumPy数据处理详解的笔记4

NumPy数据处理详解的笔记4 第2章NumPy与数组操作 2.1 数组形状变换函数 np.reshape与 np.resize等的区别如下 函数名 变形前后数组元素数量不一致的行为 有无参数order 元素变更的影响 np.reshape 出现运行时错误 有 …

深度学习的应用实例:从自然语言处理到计算机视觉的突破

深度学习在各个领域中展现出了强大的应用潜力&#xff0c;特别是在自然语言处理、计算机视觉、语音识别和机器翻译等方向&#xff0c;其取得的成果令人瞩目。 一、自然语言处理&#xff1a;深度学习的革命性影响 自然语言处理&#xff08;NLP&#xff09;一直是人工智能领域的…

【新书推荐】16.2 显示中断

本节内容&#xff1a;屏幕显示的实现——显示I/O中断处理程序。显示器通过显示适配卡与系统相连&#xff0c;显示适配卡是显示输出的接口。早期显示适配卡是CGA和EGA等&#xff0c;目前常见的适配卡是VGA、TVGA、DVI、DP、Mini HDMI和Micro HDMI接口等。它们都支持两类显示方式…

全量知识系统问题及SmartChat给出的答复 之19 关于演示模板

Q.60 可参考的演示模版 (word-def occupiedinterest 5type EBsubclass SEBtemplate (script $Demonstrateactor nilobject nildemands nilmethod (scene $Occupyactor nillocation nil))fill (((actor) (top-of *actor-stack*))((method actor) (t…

简洁实用的wordpress外贸网站模板

坚果蜜饯wordpress跨境电商模板 木瓜干、菠萝干、夏威夷果、芒果干、椰片、巴旦木等wordpress跨境电商模板。 https://www.jianzhanpress.com/?p3944 珠宝手饰wordpress外贸网站模板 金银手饰、珍珠手饰、翡翠手饰、钻石手饰、玉石珠宝手饰wordpress外贸网站模板。 https:…

个人商城系统开源(登录)

原文地址&#xff1a;个人商城系统开源&#xff08;登录&#xff09; - Pleasure的博客 下面是正文内容&#xff1a; 前言 由于近期实在没有什么话题可写和一些有趣的项目教程可以分享。所以我只能决定将我自己亲手编写的一个迷你迷你商城系统进行开源。 也就是放在我博客右边…

2024年华为OD机试真题-最长子字符串的长度(一)-Java-OD统一考试(C卷)

题目描述: 给你一个字符串 s,字符串s首尾相连成一个环形 ,请你在环中找出 o 字符出现了偶数次最长子字符串的长度。 输入描述: 输入是一串小写字母组成的字符串 输出描述: 输出是一个整数 补充说明: 1 <= s.length <= 5 x 10^5 s 只包含小写英文字母。 示例1 输入:…

小程序Taro框架 自定义底部Tabbar,处理自定义Tab栏切换卡顿、闪烁

最终效果 最近在用Taro框架开发一个小程序&#xff0c;有一个自定义底部Tabbar的需求&#xff0c;最终效果如下 起步 这页是我第一次接触自定义小程序底部Tabbar&#xff0c;所有第一选择必然是相看官方文档&#xff1a;微信小程序自定义 Tabbar | Taro 文档 &#xff08;如果…

上海亚商投顾:沪指震荡微涨 AI手机、军工板块集体走强

上海亚商投顾前言&#xff1a;无惧大盘涨跌&#xff0c;解密龙虎榜资金&#xff0c;跟踪一线游资和机构资金动向&#xff0c;识别短期热点和强势个股。 一.市场情绪 沪指昨日低开后震荡回升&#xff0c;黄白二线分化明显&#xff0c;银行等权重板块走势较强。AI手机概念股持续…

Kernel - 内核同libc的关系

内核空间中有 libc 吗&#xff1f;我的意思是&#xff0c;你必须根据某个 libc 来构建内核&#xff0c;对吗&#xff1f;那么内核空间中是否有一个 libc&#xff08;可能是静态链接的&#xff09;&#xff1f; 如果有&#xff0c;这与用户态的 glibc 有什么关系&#xff1f; 它…

欧科云链:角力Web3.0,香港如何为合规设线?

在香港拥抱Web3.0的过程中,以欧科云链为代表的合规科技企业将凸显更大重要性。 ——据香港商报网报道 据香港明报、商报等媒体报道&#xff0c;港区全国政协兼香港选委界立法会议员吴杰庄在日前召开的全国两会上提出在大湾区建设国际中小企业创新Web3融资平台等提案&#xff0…

Android SDK2 (实操三个小目标)

书接上回&#xff1a;Android SDK 1&#xff08;概览&#xff09;-CSDN博客 今天讲讲三个实际练手内容&#xff0c;用的是瑞星微的sdk。 1 实操编译Android.bp 首先还是感叹下&#xff0c;现在的系统真的越搞越复杂&#xff0c;最早只有gcc&#xff0c;后面多了make&#xf…

Flink StreamGraph生成过程

文章目录 概要SteramGraph 核心对象SteramGraph 生成过程 概要 在 Flink 中&#xff0c;StreamGraph 是数据流的逻辑表示&#xff0c;它描述了如何在 Flink 作业中执行数据流转换。StreamGraph 是 Flink 运行时生成执行计划的基础。 使用DataStream API开发的应用程序&#x…