CN107491338A - A kind of whole machine cabinet batch automatic configuration RAID card level method for distinguishing - Google Patents

A kind of whole machine cabinet batch automatic configuration RAID card level method for distinguishing Download PDF

Info

Publication number
CN107491338A
CN107491338A CN201710907168.4A CN201710907168A CN107491338A CN 107491338 A CN107491338 A CN 107491338A CN 201710907168 A CN201710907168 A CN 201710907168A CN 107491338 A CN107491338 A CN 107491338A
Authority
CN
China
Prior art keywords
whole machine
machine cabinet
node
server
raid card
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710907168.4A
Other languages
Chinese (zh)
Inventor
张锟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710907168.4A priority Critical patent/CN107491338A/en
Publication of CN107491338A publication Critical patent/CN107491338A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44568Immediately runnable code
    • G06F9/44578Preparing or optimising for loading

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a kind of whole machine cabinet batch automatic configuration RAID card level method for distinguishing, belong to server hardware field of configuration, this method using PXE server to the filling Linux OS systems of the numerous node batch synchronizations of whole machine cabinet server, it is automatic after system boot to perform configuration RAID card level instruction;This method realizes that step is as follows:Write and automatically configure RAID script auto_config.sh;PXE server most simplifies system to each node of whole machine cabinet server is synchronously filling by interchanger, while the configuration script finished is uploaded into each node to be configured;After whole machine cabinet node installs system, start self-starting perform script instruction, complete with postponing, the result that will be configured to work(is showed by lighting the form of UID lamps, and is restarted.Implementation method of the present invention is simple, without manual operation, reduces the error rate of manual configuration, improves research and development test and production efficiency.

Description

A kind of whole machine cabinet batch automatic configuration RAID card level method for distinguishing
Technical field
The present invention relates to server hardware field of configuration, and in particular to a kind of whole machine cabinet batch automatic configuration RAID card rank Method.
Background technology
Rack whole machine cabinet number of nodes is more, in the research and development test and production of whole machine cabinet server, need to such as configure RAID card Rank, it is the Web UI interfaces for the RAID card for sequentially entering each node manually under normal circumstances, selects each ginseng successively manually Number is configured, and to be configured the RAID card of whole machine cabinet great deal of nodes one by one, will be expended substantial amounts of manpower and time, and this will increase The error rate being manually entered, it can also substantially reduce research and development test, the efficiency of production.
The content of the invention
The technical assignment of the present invention is to provide a kind of whole machine cabinet batch automatic configuration RAID card level method for distinguishing, realizes RAID card rank is automatically configured in all nodes of whole machine cabinet server, implementation method is simple, without manual operation, improves research and development and surveys Examination, production efficiency.
The technical solution adopted for the present invention to solve the technical problems is:
A kind of whole machine cabinet batch automatic configuration RAID card level method for distinguishing, this method is using PXE server to whole machine cabinet server Numerous filling Linux OS systems of node batch synchronization, it is automatic after system boot to perform configuration RAID card level instruction;
This method realizes that step is as follows:
1), write and automatically configure RAID script auto_config.sh;
2), PXE server most simplifies system to each node of whole machine cabinet server is synchronously filling by interchanger, while will compile Good configuration script is uploaded to each node to be configured;
3), after whole machine cabinet node installs system, start self-starting performs auto_config.sh instructions, completes, with postponing, to match somebody with somebody Put successful result and showed by lighting the form of UID lamps, and restart.
Preferably, whole machine cabinet server is built, all nodes are connected to PXE server bulking system by interchanger, whole Rack node installation Linux system, and auto_config.sh scripts are downloaded to under/root/ catalogues from PXE server.
Preferably, Linux system redhat6.4.
Further, each node is arranged to automatic start auto_config.sh instructions of starting shooting, by UID after running succeeded Lamp is lighted and restarted.
A kind of whole machine cabinet batch automatic configuration RAID card level method for distinguishing of the present invention compared with prior art, has following Beneficial effect:
This method automatically configures the RAID of all node R AID cards of whole machine cabinet by shell scripts, realize it is full-automatic, The collocation method of no manual intervention, the working time of research and development and production is shortened, avoids the mistake being manually entered;
Implementation method is simple, without manual operation, reduces the error rate of manual configuration, improves research and development test, production efficiency.
Brief description of the drawings
Fig. 1 is the FB(flow block) of whole machine cabinet batch automatic configuration RAID card level method for distinguishing of the present invention.
Embodiment
With reference to specific embodiment, the invention will be further described.
A kind of whole machine cabinet batch automatic configuration RAID card level method for distinguishing, it is characterised in that this method utilizes PXE server It is automatic after system boot to perform configuration RAID card level to the filling Linux OS systems of the numerous node batch synchronizations of whole machine cabinet server Do not instruct;
This method realizes that step is as follows:
1), write and automatically configure RAID script auto_config.sh;
2), PXE server most simplifies system to each node of whole machine cabinet server is synchronously filling by interchanger, while will compile Good configuration script is uploaded to each node to be configured;
3), after whole machine cabinet node installs system, start self-starting performs auto_config.sh instructions, completes, with postponing, to match somebody with somebody Put successful result and showed by lighting the form of UID lamps, and restart.
To make the object, technical solutions and advantages of the present invention clearer, the present invention will be done below further detailed Description:
First, configuration RAID script is write, specific script realizes that content is as follows:
#!/bin/bash
#
# obtains current RAID card information
MegaCli64 -cfgclr -aall
# configures RAID1 rank relevant parameters
MegaCli64 -cfgldadd -r1[252:0,252:1] wt ra direct -strpsz128 -a0
# configures RAID0 rank relevant parameters
MegaCli64 -cfgldadd -r0[252:0] wt nora direct -strpsz256 -a0
# configures RAID5 rank relevant parameters
MegaCli64 -cfgldadd -r5[252:0,252:1,252:2,252:3,252:4] wb nora direct - strpsz128 -a0
# configures RAID other specification
MegaCli64 -ldsetprop -endskcache -l0 -a0。
Then, whole machine cabinet server is built, all nodes are connected to PXE server bulking system, complete machine by interchanger Cabinet node installation Linux system(Such as redhat6.4), and auto_config.sh scripts are downloaded to/root/ from PXE server Under catalogue;
Finally, each node is arranged to automatic start auto_config.sh instructions of starting shooting, lighted UID lamps simultaneously after running succeeded Restart.
echo “sh /root/auto_config.sh;ipmitool chassis identify force;reboot” >>/etc/rc.d/rc.local
It is the schematic flow sheet of present implementation such as Fig. 1.
It is that the flow chart of the invention can be held by embodiment above, the those skilled in the art below The easy realization present invention.It is understood that the present invention is not limited to above-mentioned embodiment.In disclosed embodiment On the basis of, the those skilled in the art can be combined different technical characteristics, so as to realize different technical sides Case.

Claims (4)

1. a kind of whole machine cabinet batch automatic configuration RAID card level method for distinguishing, it is characterised in that this method utilizes PXE server pair The filling Linux OS systems of the numerous node batch synchronizations of whole machine cabinet server, it is automatic after system boot to perform configuration RAID card rank Instruction;
This method realizes that step is as follows:
1), write and automatically configure RAID script auto_config.sh;
2), PXE server most simplifies system to each node of whole machine cabinet server is synchronously filling by interchanger, while will compile Good configuration script is uploaded to each node to be configured;
3), after whole machine cabinet node installs system, start self-starting performs auto_config.sh instructions, completes, with postponing, to match somebody with somebody Put successful result and showed by lighting the form of UID lamps, and restart.
2. a kind of whole machine cabinet batch automatic configuration RAID card level method for distinguishing according to claim 1, it is characterised in that take Whole machine cabinet server is built, all nodes are connected to PXE server bulking system, whole machine cabinet node installation linux by interchanger System, and auto_config.sh scripts are downloaded to under/root/ catalogues from PXE server.
A kind of 3. whole machine cabinet batch automatic configuration RAID card level method for distinguishing according to claim 2, it is characterised in that Linux system is redhat6.4.
4. a kind of whole machine cabinet batch automatic configuration RAID card level method for distinguishing according to claim 1, it is characterised in that will Each node is arranged to automatic start auto_config.sh instructions of starting shooting, and UID lamps are lighted and restarted after running succeeded.
CN201710907168.4A 2017-09-29 2017-09-29 A kind of whole machine cabinet batch automatic configuration RAID card level method for distinguishing Pending CN107491338A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710907168.4A CN107491338A (en) 2017-09-29 2017-09-29 A kind of whole machine cabinet batch automatic configuration RAID card level method for distinguishing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710907168.4A CN107491338A (en) 2017-09-29 2017-09-29 A kind of whole machine cabinet batch automatic configuration RAID card level method for distinguishing

Publications (1)

Publication Number Publication Date
CN107491338A true CN107491338A (en) 2017-12-19

Family

ID=60653881

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710907168.4A Pending CN107491338A (en) 2017-09-29 2017-09-29 A kind of whole machine cabinet batch automatic configuration RAID card level method for distinguishing

Country Status (1)

Country Link
CN (1) CN107491338A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108810184A (en) * 2018-05-22 2018-11-13 郑州云海信息技术有限公司 A kind of detection of whole machine cabinet server node IP address and remapping method and system
CN109189499A (en) * 2018-08-14 2019-01-11 中国平安人寿保险股份有限公司 Management method, device, computer equipment and the storage medium of java applet

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104375859A (en) * 2014-10-29 2015-02-25 浪潮电子信息产业股份有限公司 Method for refreshing nodes BMC in batch for Rack complete machine cabinet
CN104615514A (en) * 2015-01-07 2015-05-13 浪潮电子信息产业股份有限公司 Method for examining performance of raid levels of raid card
CN105242875A (en) * 2015-09-17 2016-01-13 浪潮集团有限公司 Server raid batch configuration method
CN105260208A (en) * 2015-10-10 2016-01-20 浪潮电子信息产业股份有限公司 Method for automatically refreshing RAID card drive in batches by server
CN105426184A (en) * 2015-11-12 2016-03-23 浪潮电子信息产业股份有限公司 Method for setting static IP of Linux system of whole cabinet in batch
CN105426207A (en) * 2015-11-13 2016-03-23 浪潮电子信息产业股份有限公司 PXE-based method for quickly installing operating systems in batches
CN105471675A (en) * 2015-11-20 2016-04-06 浪潮电子信息产业股份有限公司 Method and system of testing nodes in batches
CN105740112A (en) * 2016-02-03 2016-07-06 浪潮电子信息产业股份有限公司 Method for automatically detecting hardware information during startup under Linux
CN105955742A (en) * 2016-04-29 2016-09-21 浪潮电子信息产业股份有限公司 BIOS refreshing method, service system and BIOS refreshing system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104375859A (en) * 2014-10-29 2015-02-25 浪潮电子信息产业股份有限公司 Method for refreshing nodes BMC in batch for Rack complete machine cabinet
CN104615514A (en) * 2015-01-07 2015-05-13 浪潮电子信息产业股份有限公司 Method for examining performance of raid levels of raid card
CN105242875A (en) * 2015-09-17 2016-01-13 浪潮集团有限公司 Server raid batch configuration method
CN105260208A (en) * 2015-10-10 2016-01-20 浪潮电子信息产业股份有限公司 Method for automatically refreshing RAID card drive in batches by server
CN105426184A (en) * 2015-11-12 2016-03-23 浪潮电子信息产业股份有限公司 Method for setting static IP of Linux system of whole cabinet in batch
CN105426207A (en) * 2015-11-13 2016-03-23 浪潮电子信息产业股份有限公司 PXE-based method for quickly installing operating systems in batches
CN105471675A (en) * 2015-11-20 2016-04-06 浪潮电子信息产业股份有限公司 Method and system of testing nodes in batches
CN105740112A (en) * 2016-02-03 2016-07-06 浪潮电子信息产业股份有限公司 Method for automatically detecting hardware information during startup under Linux
CN105955742A (en) * 2016-04-29 2016-09-21 浪潮电子信息产业股份有限公司 BIOS refreshing method, service system and BIOS refreshing system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108810184A (en) * 2018-05-22 2018-11-13 郑州云海信息技术有限公司 A kind of detection of whole machine cabinet server node IP address and remapping method and system
CN108810184B (en) * 2018-05-22 2021-09-28 郑州云海信息技术有限公司 Method and system for detecting and resetting IP address of server node of whole cabinet
CN109189499A (en) * 2018-08-14 2019-01-11 中国平安人寿保险股份有限公司 Management method, device, computer equipment and the storage medium of java applet
CN109189499B (en) * 2018-08-14 2024-02-02 中国平安人寿保险股份有限公司 Java program management method, java program management device, computer device and storage medium

Similar Documents

Publication Publication Date Title
CN103746833B (en) PXE-based RAID automatic configuration method and system
CN103200271B (en) The method of ARM server and automation installation system thereof
CN109639803B (en) Method and system for remotely and automatically deploying server OS (operating system) through BMC (baseboard management controller)
CN105260208A (en) Method for automatically refreshing RAID card drive in batches by server
CN108959080B (en) Automatic testing method based on UnitTest parallel execution
CN105354070A (en) Method for upgrading equipment firmware through I2C
CN105335168B (en) Realize system, the method and device of operating system Remote configuration
CN104639378A (en) Automatic server deployment method based on PXE (pre-boot execution environment)
CN112328440B (en) Hard disk physical position determining method and device
CN105955742A (en) BIOS refreshing method, service system and BIOS refreshing system
CN107483243A (en) A kind of automatic deployment method and equipment of OpenStack platforms
CN101252458A (en) Firmware batch upgrading method
CN109002310A (en) firmware upgrade method
CN107491338A (en) A kind of whole machine cabinet batch automatic configuration RAID card level method for distinguishing
CN105119732A (en) Device and method for distributing hosts in cluster environment
CN104778105A (en) Method for rapidly testing compatibility of server and RHEL (red hat enterprise software language) based on virtual machine
CN104615455A (en) Remote upgrading method and device for IPMC program of ATCA structure
CN113391828B (en) Method and system for realizing system disk RAID division and installing operating system
CN108052332A (en) A kind of method of batch installation node operating system
CN107943496A (en) A kind of device and method of whole machine cabinet server batch updating firmware
CN108900656A (en) A kind of method and device of batch deployment
CN110275719B (en) Cloud physical host operating system deployment method based on domestic CPU and operating system
CN109189441A (en) A kind of method and apparatus upgrading basic input-output system BIOS
CN1308275A (en) Remote nodal machine cloning method for colony system
CN107168763A (en) A kind of application synchronous method based on cloud environment, issue main frame and production main frame

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171219