CN109144581A - A kind of method and system configuring RAID in server system - Google Patents
A kind of method and system configuring RAID in server system Download PDFInfo
- Publication number
- CN109144581A CN109144581A CN201810808579.2A CN201810808579A CN109144581A CN 109144581 A CN109144581 A CN 109144581A CN 201810808579 A CN201810808579 A CN 201810808579A CN 109144581 A CN109144581 A CN 109144581A
- Authority
- CN
- China
- Prior art keywords
- raid
- configuration
- raid group
- logical volume
- server
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4411—Configuring for operating with peripheral devices; Loading of device drivers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0614—Improving the reliability of storage systems
- G06F3/0617—Improving the reliability of storage systems in relation to availability
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0629—Configuration or reconfiguration of storage systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0683—Plurality of storage devices
- G06F3/0689—Disk arrays, e.g. RAID, JBOD
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
Abstract
The method that the embodiment of the invention discloses a kind of to configure RAID in server system, comprising the following steps: planning RAID group configuration, and generate RAID group profile;RAID group profile is called according to RAID configuration script;Realize the configuration of RAID group automatically by RAID card.It further include a kind of system that RAID is configured in server system.The present invention saves the reboot time of server during configuration RAID by configuring RAID in server system.Simultaneously, the present invention is when dividing logical volume, it will record its WWN number, at the same time, its WWID number can be found while making system identification to this logical volume, logical volume in RAID card can be formed one-to-one relationship with the logical volume that operating system recognizes, the logical volume of different RAID level can be distinguished.Large-scale server, by the script planned in advance, reduces error rate and rework rate when disposing RAID configuration.
Description
Technical field
The present invention relates to computer communication technology field, specifically a kind of side that RAID is configured in server system
Method and system.
Background technique
Current server product is multi-diskbit, needs to divide RAID and reuses space.Usually using the step of server
It is rapid as follows: to power on booting, into RAID configuration interface, complete the RAID configuration of all disk positions.Every configuration once requires to restart
Server, restarts need several minutes of times every time, and elapsed time is big.
Operating system is installed and enters system, the logic of different RAID level can not be differentiated in server operating system
Volume, if monolithic hard disk is done after RAID0 and two piece of hard disk be RAID1, capacity is the same, can not differentiate, and is not easy to point of logical volume
Area, formatted carry.
Maloperation situation is easy the logic volume formatter in the RAID group of data with existing leading to loss of data.
Summary of the invention
A kind of method and system that RAID is configured in server system are provided in the embodiment of the present invention, for solving mesh
Preceding configuration RAID is time-consuming more, the problem of being easy to cause loss of data, and can not differentiate the logical volume of different RAID level.
In order to solve the above-mentioned technical problem, the embodiment of the invention discloses following technical solutions:
First aspect present invention provides a kind of method that RAID is configured in server system, comprising the following steps:
It plans the configuration of RAID group, and generates RAID group profile;
RAID group profile is called according to RAID configuration script;
Realize the configuration of RAID group automatically by RAID card.
With reference to first aspect, in a first possible implementation of that first aspect, planning RAID group configuration, and generate
The method of RAID group profile specifically includes:
According to disk space size, selection disk;
Configure number of disks, disk RAID level;
The configuration of excel is generated json file by the vba script of excle.
With reference to first aspect, in a second possible implementation of that first aspect, RAID is realized by RAID card automatically
The method of the configuration of group specifically includes:
Delete other RAID groups in addition to RAID group where operating system;
Configuration file is read, and configures new RAID group;
Logical volume is divided, and records its WWN number;
After operating system recognizes logical volume, division operation is executed.
With reference to first aspect, in first aspect in the third possible implementation, method further includes identifying different RAID
The logical volume of rank, specifically includes following methods:
Operating system can find its WWID number while recognizing this logical volume, can by RAID card logical volume and behaviour
The logical volume arrived as system identification forms one-to-one relationship.
With reference to first aspect, in the 4th kind of possible implementation of first aspect, the WWN number and WWID number
There are one-to-one relationships.
Second aspect of the present invention provides a kind of system that RAID is configured in server system, including planning module, uses
In planning RAID group configuration;With,
RAID group profile is stored with the configuration requirement of RAID group;With,
RAID configuration script for calling RAID group profile, and realizes the configuration of RAID group.
The system of second aspect of the present invention can be realized the side in each implementation of first aspect and first aspect
Method, and obtain identical effect.
By above technical scheme as it can be seen that the present invention saves configuration RAID process by configuring RAID in server system
The reboot time of middle server.Meanwhile the present invention will record its WWN number when dividing logical volume, at the same time, make
Its WWID number can be found while system identification is to this logical volume, the logical volume in RAID card can be recognized with operating system
Logical volume formed one-to-one relationship, the logical volume of different RAID level can be distinguished.Large-scale server is in deployment RAID
When configuration, by the script planned in advance, error rate and rework rate are reduced.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, for those of ordinary skill in the art
Speech, without creative efforts, is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of method flow schematic diagram that RAID is configured in server system;
Fig. 2 is planning RAID group configuration applied by the embodiment of the present invention, and generates the method stream of RAID group profile
Journey schematic diagram;
Fig. 3 is the method flow schematic diagram for realizing the configuration of RAID group applied by the embodiment of the present invention automatically;
Fig. 4 is a kind of system structure diagram that RAID is configured in server system applied by the embodiment of the present invention.
Specific embodiment
Technical solution in order to enable those skilled in the art to better understand the present invention, below in conjunction with of the invention real
The attached drawing in example is applied, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described implementation
Example is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, this field is common
Technical staff's every other embodiment obtained without making creative work, all should belong to protection of the present invention
Range.
As shown in Figure 1, a kind of method for configuring RAID in server system, comprising the following steps:
S1, planning RAID group configuration, and generate RAID group profile;
S2, RAID group profile is called according to RAID configuration script;
S3, the configuration for realizing RAID group automatically by RAID card.
As shown in Fig. 2, planning the configuration of RAID group in S1, and the method for generating RAID group profile specifically includes:
S11, according to disk space size, selection disk;
S12, configuration number of disks, disk RAID level;
The configuration of excel is generated json file by the vba script of S13, excle.
As shown in figure 3, being specifically included in S3 by the method that RAID card realizes the configuration of RAID group automatically:
S31, other RAID groups deleted in addition to RAID group where operating system;
S32, configuration file is read, and configures new RAID group;
S33, logical volume is divided, and records its WWN number;
S34, after operating system recognizes logical volume, execute division operation.
Further include the logical volume for identifying different RAID level in S34 method, specifically include following methods:
Operating system can find its WWID number while recognizing this logical volume, can by RAID card logical volume and behaviour
The logical volume arrived as system identification forms one-to-one relationship.There are one-to-one relationships for WWN number and WWID number.
As shown in figure 4, a kind of system that RAID is configured in server system, including planning module, for planning RAID
Group configuration;With RAID group profile is stored with the configuration requirement of RAID group;With RAID configuration script, for calling RAID
Group profile, and realize the configuration of RAID group.
The above is only a specific embodiment of the invention, is made skilled artisans appreciate that or realizing this hair
It is bright.Various modifications to these embodiments will be apparent to one skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.
Claims (6)
1. a kind of method for configuring RAID in server system, characterized in that the following steps are included:
It plans the configuration of RAID group, and generates RAID group profile;
RAID group profile is called according to RAID configuration script;
Realize the configuration of RAID group automatically by RAID card.
2. according to the method described in claim 1, it is characterized in that, planning RAID group configures, and generates RAID group profile
Method specifically includes:
According to disk space size, selection disk;
Configure number of disks, disk RAID level;
The configuration of excel is generated json file by the vba script of excle.
3. according to the method described in claim 1, it is characterized in that, realized automatically by RAID card the configuration of RAID group method tool
Body includes:
Delete other RAID groups in addition to RAID group where operating system;
Configuration file is read, and configures new RAID group;
Logical volume is divided, and records its WWN number;
After operating system recognizes logical volume, division operation is executed.
4. according to the method described in claim 3, it is characterized in that, method further includes the logical volume for identifying different RAID level, tool
Body includes following methods:
Operating system can find its WWID number while recognizing this logical volume, by the logical volume in RAID card and can operate system
The logical volume recognized of uniting forms one-to-one relationship.
5. according to the method described in claim 4, it is characterized in that, the WWN number and WWID number exist one-to-one
Relationship.
6. a kind of system for configuring RAID in server system, special using method described in claim 1-5 any one
Sign is, including planning module, for planning that RAID group configures;With,
RAID group profile is stored with the configuration requirement of RAID group;With,
RAID configuration script for calling RAID group profile, and realizes the configuration of RAID group.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810808579.2A CN109144581A (en) | 2018-07-23 | 2018-07-23 | A kind of method and system configuring RAID in server system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810808579.2A CN109144581A (en) | 2018-07-23 | 2018-07-23 | A kind of method and system configuring RAID in server system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109144581A true CN109144581A (en) | 2019-01-04 |
Family
ID=64801202
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810808579.2A Pending CN109144581A (en) | 2018-07-23 | 2018-07-23 | A kind of method and system configuring RAID in server system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109144581A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113986362A (en) * | 2021-10-22 | 2022-01-28 | 山东云海国创云计算装备产业创新中心有限公司 | RAID card, control method thereof and server host |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102761579A (en) * | 2011-04-29 | 2012-10-31 | 国际商业机器公司 | Method and system utilizing storage area network for data transmission |
CN103746833A (en) * | 2013-12-25 | 2014-04-23 | 新浪网技术(中国)有限公司 | PXE-based RAID automatic configuration method and system |
US20160335008A1 (en) * | 2015-05-15 | 2016-11-17 | Sundar Dasar | Systems And Methods For RAID Storage Configuration Using Hetereogenous Physical Disk (PD) Set Up |
CN107608637A (en) * | 2017-09-30 | 2018-01-19 | 深圳市华德安科技有限公司 | RAID management methods, device and computer-readable recording medium |
CN108205420A (en) * | 2016-12-19 | 2018-06-26 | 北京国双科技有限公司 | disk configuration tool generation method and device |
-
2018
- 2018-07-23 CN CN201810808579.2A patent/CN109144581A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102761579A (en) * | 2011-04-29 | 2012-10-31 | 国际商业机器公司 | Method and system utilizing storage area network for data transmission |
CN103746833A (en) * | 2013-12-25 | 2014-04-23 | 新浪网技术(中国)有限公司 | PXE-based RAID automatic configuration method and system |
US20160335008A1 (en) * | 2015-05-15 | 2016-11-17 | Sundar Dasar | Systems And Methods For RAID Storage Configuration Using Hetereogenous Physical Disk (PD) Set Up |
CN108205420A (en) * | 2016-12-19 | 2018-06-26 | 北京国双科技有限公司 | disk configuration tool generation method and device |
CN107608637A (en) * | 2017-09-30 | 2018-01-19 | 深圳市华德安科技有限公司 | RAID management methods, device and computer-readable recording medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113986362A (en) * | 2021-10-22 | 2022-01-28 | 山东云海国创云计算装备产业创新中心有限公司 | RAID card, control method thereof and server host |
CN113986362B (en) * | 2021-10-22 | 2024-01-23 | 山东云海国创云计算装备产业创新中心有限公司 | RAID card, control method thereof and server host |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106533804A (en) | Network operation support system | |
CN110298740A (en) | Data account checking method, device, equipment and storage medium | |
CN104331285A (en) | Automatic code generation method and system | |
CN109117195A (en) | A kind of method, device and equipment of UEFI mode adjustment boot sequence | |
CN101504672A (en) | Method and system for dynamically configuring physical data table | |
CN103440204B (en) | A kind of method of updating file system and memory device | |
CN105099786A (en) | Method and apparatus of service configuration in network cutover | |
CN103399865A (en) | Method and device for multi-media file generation | |
CN112152843B (en) | Cluster node deployment method, device and system and electronic equipment | |
CN109144581A (en) | A kind of method and system configuring RAID in server system | |
CN106776136B (en) | Data base processing method and device | |
CN105357055A (en) | Operation management system used for database server and method | |
CN107122138B (en) | Equipment and method for configuring disk array | |
CN111163149A (en) | Intelligent contract platform method based on block chain | |
CN105242941B (en) | Method for burn-recording and device | |
CN109656638A (en) | A kind of user based on Purley platform customizes the implementation method of function | |
CN111158595B (en) | Enterprise-level heterogeneous storage resource scheduling method and system | |
CN111782618B (en) | Data synchronization system | |
CN104246716B (en) | The processing method and equipment of memory space object | |
CN109542727B (en) | Information prompting method and device | |
CN110096226A (en) | Disk array dispositions method and device | |
CN105701649A (en) | Data management and control system | |
CN106326220A (en) | Data storage method and apparatus | |
CN109961230A (en) | A kind of configuration method of index, device, storage medium and electronic equipment | |
CN109284111A (en) | A kind of installation method of AIX operating system, device, equipment and medium |
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 |
Application publication date: 20190104 |
|
RJ01 | Rejection of invention patent application after publication |