CN109525425A - A kind of automatic application method of license based on MCS and device - Google Patents

A kind of automatic application method of license based on MCS and device Download PDF

Info

Publication number
CN109525425A
CN109525425A CN201811329210.XA CN201811329210A CN109525425A CN 109525425 A CN109525425 A CN 109525425A CN 201811329210 A CN201811329210 A CN 201811329210A CN 109525425 A CN109525425 A CN 109525425A
Authority
CN
China
Prior art keywords
license
cluster
information
order
module
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
CN201811329210.XA
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 CN201811329210.XA priority Critical patent/CN109525425A/en
Publication of CN109525425A publication Critical patent/CN109525425A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0806Configuration setting for initial configuration or provisioning, e.g. plug-and-play
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0866Checking the configuration
    • H04L41/0869Validating the configuration within one network element
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/16Implementing security features at a particular protocol layer
    • H04L63/168Implementing security features at a particular protocol layer above the transport layer

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention provides a kind of automatic application method of the license based on MCS and device, comprising: creation storage cluster simultaneously initializes cluster according to the cluster IP of generation;Obtain cluster information;The cluster information is input to license application web site and obtains license information;It reads license information and the license information is uploaded to cluster;License activation is carried out according to the license information.The present invention can be avoided there is automated execution before ancillary cost manpower check the test crash phenomenon as caused by license un-activation during each equipment license state and automated execution, improve execution efficiency.

Description

A kind of automatic application method of license based on MCS and device
Technical field
The invention belongs to storage management control technology fields, and in particular to a kind of automatic applicant of license based on MCS Method and device.
Background technique
Tide MCS is the storage management control system of Langchao Group's independent research, the system interface containing CLI and gui interface, User can configure storage by the two interfaces.
In tide MCS, Premium Features need to be activated using license, are not otherwise available.Former automatic test is held It before row, needs whether the license for checking device therefor by platform has activated, if not activating, needs manual entry license Apply for license, the corresponding equipment of reactivation in website.When new equipment quantity is more, which can occupy a large amount of time, And the phenomenon for being easy to appear and taking wrong information, fail to fill in information, activation equipment mistake, influence the execution efficiency of automation.In addition, a large amount of It is automatically exited from after license un-activation needed for detecting Premium Features in script execution and also will affect test plan, Jin Erying Ring testing efficiency.
Summary of the invention
In view of the deficiencies of the prior art, the present invention provides a kind of automatic application method of the license based on MCS and device, To solve the above technical problems.
In a first aspect, the embodiment of the present application provides a kind of automatic application method of the license based on MCS, the method packet It includes:
Creation storage cluster simultaneously initializes cluster according to the cluster IP of generation;
Obtain cluster information;
The cluster information is input to license application web site and obtains license information;
It reads license information and the license information is uploaded to cluster;
License activation is carried out according to the license information.
With reference to first aspect, in the first embodiment of first aspect, the acquisition cluster information includes:
Ssh order is called to log in cluster IP;
Execute MTM value and serial_number value that sainfo lscanister order obtains cluster;
The MTM value and serial_number value are stored to cluster information and record file.
With reference to first aspect, described that cluster information is input to license in second of embodiment of first aspect Application web site obtains license information
It logs in license application web site and crawls the attribute key value of website;
According to the attribute key value of website by license information input to license application web site;
According to the enable command for choosing order generation corresponding function option.
With reference to first aspect, in the third embodiment of first aspect, the reading license information simultaneously will be described License information is uploaded to cluster
Webdriver.page_source order is called to crawl the URL of license information;
It calls URL order to open license message file and crawls the license information in license message file;
Extract the license sequence number in license information;
The license sequence number is verified according to the structure feature of license;
It logs in cluster IP and imports license information in the backup file under specified path.
With reference to first aspect, described to be carried out according to license information in the 4th kind of embodiment of first aspect License is activated
It logs in cluster IP and carries out license activation using activefeature order;
The state of license is checked using lsfeatue order and exports the activation result of license;
By the activation result for analyzing license backup file path information checking license.
Second aspect, the embodiment of the present application provide a kind of license based on MCS and apply for device, described device packet automatically It includes:
Cluster creating unit is configured to creation storage cluster and is initialized according to the cluster IP of generation to cluster;
Cluster acquiring unit is configured to obtain cluster information;
Cluster input unit is configured to for the cluster information to be input to license application web site acquisition license letter Breath;
Information reading unit is configured to read license information and the license information is uploaded to cluster;
Execution unit is activated, is configured to carry out license activation according to the license information.
In conjunction with second aspect, in the first embodiment of second aspect, the cluster acquiring unit includes:
Cluster login module is configured to that ssh order is called to log in cluster IP;
Numerical value obtain module, be configured to carry out sainfo lscanister order obtain cluster MTM value with Serial_number value;
Numerical value memory module is configured to store the MTM value and serial_number value to cluster information record text Part.
In conjunction with second aspect, in second of embodiment of second aspect, the cluster input unit includes:
Attribute crawls module, is configured to log in license application web site and crawls the attribute key value of website;
MIM message input module is configured to license information input to the Shen license according to the attribute key value of website It please website;
Function enables module, is configured to according to the enable command for choosing order generation corresponding function option.
In conjunction with second aspect, in the third embodiment of second aspect, the Information reading unit includes:
Order crawls module, is configured to that webdriver.page_source order is called to crawl license information URL;
Information crawler module is configured to that URL order is called to open license message file and crawls license information License information in file;
Information extraction modules are configured to extract the license sequence number in license information;
Authentication module is extracted, is configured to test the license sequence number according to the structure feature of license Card;
Information back-up module is configured to log in cluster IP and license information is imported to the backup text under specified path In part.
In conjunction with second aspect, in the 4th kind of embodiment of second aspect, the activation execution unit includes:
Active module is configured to log in cluster IP and carries out license activation using activefeature order;
It checks module, be configured to check the state of license using lsfeatue order and export the activation of license As a result;
Correction verification module is configured to the activation knot of analysis license backup file path information checking license Fruit.
The third aspect provides a kind of terminal, comprising:
Processor, memory, wherein
The memory is used to store computer program,
The processor from memory for calling and running the computer program, so that terminal executes above-mentioned end The method for holding terminal.
Fourth aspect provides a kind of computer storage medium, instruction is stored in the computer readable storage medium, When run on a computer, so that computer executes method described in above-mentioned various aspects.
5th aspect, provides a kind of computer program product comprising instruction, when run on a computer, so that Computer executes method described in above-mentioned various aspects.
The beneficial effects of the present invention are,
The automatic application method of license provided by the invention based on MCS and device, by the environment of tide MCS, Automatic acquisition device-dependent message is completed, license application web site is logged in, inserts facility information, choose function items, obtain License information and the function of uploading license copy to storage equipment finally execute license according to license information and swash Living, whole process is all automatically performed.The present invention can be avoided there is automated execution before ancillary cost manpower check each equipment The test crash phenomenon as caused by license un-activation during license state and automated execution, raising execute effect Rate.
In addition, design principle of the present invention is reliable, structure is simple, has very extensive application prospect.
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 the schematic flow chart of the method for the application one embodiment.
Fig. 2 is the schematic block diagram of the device of the application one embodiment.
Fig. 3 is a kind of structural schematic diagram of terminal provided in an 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.
The Key Term occurred in the application is explained below.
Fig. 1 is the schematic flow chart of the method for the application one embodiment.Wherein, Fig. 1 executing subject can be one kind License based on MCS applies for device automatically.
As shown in Figure 1, this method 100 includes:
Step 110, it creates storage cluster and cluster is initialized according to the cluster IP of generation;
Step 120, cluster information is obtained;
Step 130, the cluster information is input to license application web site and obtains license information;
Step 140, it reads license information and the license information is uploaded to cluster;
Step 150, license activation is carried out according to the license information.
Optionally, as the application one embodiment, the acquisition cluster information includes:
Ssh order is called to log in cluster IP;
Execute MTM value and serial_number value that sainfo lscanister order obtains cluster;
The MTM value and serial_number value are stored to cluster information and record file.
Optionally, described that cluster information is input to the acquisition of license application web site as the application one embodiment License information includes:
It logs in license application web site and crawls the attribute key value of website;
According to the attribute key value of website by license information input to license application web site;
According to the enable command for choosing order generation corresponding function option.
Optionally, as the application one embodiment, the reading license information and will be in the license information Reaching cluster includes:
Webdriver.page_source order is called to crawl the URL of license information;
It calls URL order to open license message file and crawls the license information in license message file;
Extract the license sequence number in license information;
The license sequence number is verified according to the structure feature of license;
It logs in cluster IP and imports license information in the backup file under specified path.
Optionally, described to include: according to the progress license activation of license information as the application one embodiment
It logs in cluster IP and carries out license activation using activefeature order;
The state of license is checked using lsfeatue order and exports the activation result of license;
By the activation result for analyzing license backup file path information checking license.
In order to facilitate the understanding of the present invention, below with the original of the automatic application method of license the present invention is based on MCS Reason, in conjunction with the embodiments in process that license is activated automatically, it is automatic to the license provided by the invention based on MCS Application method is further described.
The automatic application method of license provided in this embodiment based on MCS is to pass through the mirror image side ISO based on MCS system Formula or other way install tide MCS system, and the implementation of this method needs to install 2.7 version of python, downloading installation The python of 2.7 versions, sets, and the library paramiko and the library selenium are installed by way of installation kit or pip. The library Paramiko provides SSH mode and logs in cluster and transmitting order to lower levels, fetches aobvious function, and the library selenium provides calling Web engine opens webpage, crawls webpage information, inputs the functions such as information into webpage.Steps are as follows for specific method:
S1, creation storage cluster simultaneously initialize cluster according to the cluster IP of generation.
User's manual is stored according to tide, creates storage cluster, and the IP of record clustering, the service IP of each node is recordable It can not record, the scene that uses with specific reference to the automatized script determines.
Web browser is opened, the IP that cluster is inputted in address field clicks carriage return, into GUI login interface, according to mentioning Show, the operation initialized after initialization, exits gui interface.
S2, cluster information is obtained.
It calls the SSH order in paramiko to log in cluster IP, executes sainfo lscanister order, check and remember The MTM value and serial_number value of cluster are recorded, the two values are call parameters when applying for license, if the not ginseng Number, the license of application can not be activated on cluster.
S3, the cluster information is input to license application web site acquisition license information.
Call the other similar orders such as webdriver.IE or the webdriver.chrome in selenium that script is set The browser type of calling after being provided with, reuses the application net that license is opened in webdriver.get (URL) order It stands, to ensure information security, which should be internal address, and close anti-crawler setting.It reuses Webdriver.page_source order crawls web page contents, finds out the key value and option tick boxes of each parameter input frame Key value, key value are used for the input of license information.
The cluster information found in step S2 is inserted in corresponding parameter input frame key using send_keys order, it should Parameter is required item.In addition, needing choosing to fill out applicant's relevant information and email address, also convenient for directly receiving license mail.
The position for needing mouse to click has at two: 1 is to choose function items to select frame;2 be to click " generation " key.Function items choosing Frame is check box, needs to apply the license sequence number of which kind of function, just chooses the prefunctional box, can be with multiselect.It is " raw At " key is located at license application page bottom, when page every terms of information filling complete and function selection after the completion of, click The key can enter the product process of license, and license file is html file, after the completion of generation, will pop up one Web subpage frame, the path URL and the download option in subpage frame comprising license.
S4, it reads license information and the license information is uploaded to cluster.
The webdriver.page_source order in selenium is called to crawl the URL in step S3 in subpage frame, so It calls webdriver.get (URL) order to open license file afterwards, calls webdriver.page_source to crawl again License information in the page is extracted according to the permanent order of function choosing-item frame in the fixed format of license and step S3 The license sequence number of each function.It after the completion of extraction, is verified according to the structure feature of license, if the information read It is not inconsistent with the architectural characteristic of license, then shows error information, export related positioning auxiliary, prompts script execution personnel It goes to position.
It calls the SSH order in paramiko to log in cluster IP, creates a text under specified path using mkdir order Part, the license information that will acquire is written in this document, as backup.
S5, license activation is carried out according to the license information.
It calls the SSH order in paramiko to log in cluster IP, activates corresponding function using activefeature order Can, it disposably can also all be activated according to test needs, some function of single activation.It is checked using lsfeatue order The state of license exports the activation result of license, meanwhile, reuse find command lookup license backup file Path will export after routing information and specified routing information comparison.If activation failure, exports related positioning auxiliary, Prompt script execution personnel go to position.
If Fig. 2 shows, which includes:
Cluster creating unit 210, the cluster creating unit 210 is for creating storage cluster and the cluster IP according to generation Cluster is initialized;
Cluster acquiring unit 220, the cluster acquiring unit 220 is for obtaining cluster information;
Cluster input unit 230, the cluster input unit 230 are used to the cluster information being input to the Shen license It please website acquisition license information;
Information reading unit 240, the Information reading unit 240 is for reading license information and by the license Information is uploaded to cluster;
Execution unit 250 is activated, the activation execution unit 250 is used to carry out license according to the license information Activation.
Optionally, as the application one embodiment, the cluster acquiring unit includes:
Cluster login module is configured to that ssh order is called to log in cluster IP;
Numerical value obtain module, be configured to carry out sainfo lscanister order obtain cluster MTM value with Serial_number value;
Numerical value memory module is configured to store the MTM value and serial_number value to cluster information record text Part.
Optionally, as the application one embodiment, the cluster input unit includes:
Attribute crawls module, is configured to log in license application web site and crawls the attribute key value of website;
MIM message input module is configured to license information input to the Shen license according to the attribute key value of website It please website;
Function enables module, is configured to according to the enable command for choosing order generation corresponding function option.
Optionally, as the application one embodiment, the Information reading unit includes:
Order crawls module, is configured to that webdriver.page_source order is called to crawl license information URL;
Information crawler module is configured to that URL order is called to open license message file and crawls license information License information in file;
Information extraction modules are configured to extract the license sequence number in license information;
Authentication module is extracted, is configured to test the license sequence number according to the structure feature of license Card;
Information back-up module is configured to log in cluster IP and license information is imported to the backup text under specified path In part.
Optionally, as the application one embodiment, the activation execution unit includes:
Active module is configured to log in cluster IP and carries out license activation using activefeature order;
It checks module, be configured to check the state of license using lsfeatue order and export the activation of license As a result;
Correction verification module is configured to the activation knot of analysis license backup file path information checking license Fruit.
Fig. 3 is a kind of structural schematic diagram of terminal installation 300 provided in an embodiment of the present invention, which can be with For executing the method provided by the embodiments of the present application for updating heat dissipation policing parameter.
Wherein, which may include: processor 310, memory 320 and communication unit 330.These components It is communicated by one or more bus, it will be understood by those skilled in the art that the structure of server shown in figure is not The restriction to the application is constituted, it is also possible to hub-and-spoke configuration either busbar network, can also include more than illustrating Or less component, perhaps combine certain components or different component layouts.
Wherein, which can be used for executing instruction for storage processor 310, and memory 320 can be by any class The volatibility or non-volatile memories terminal or their combination of type are realized, such as static random access memory (SRAM), electricity Erasable Programmable Read Only Memory EPROM (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.When executing instruction in memory 320 When being executed by processor 310, so that terminal 300 some or all of is able to carry out in following above method embodiment step.
Processor 310 is the control centre for storing terminal, utilizes each of various interfaces and the entire electric terminal of connection A part by running or execute the software program and/or module that are stored in memory 320, and calls and is stored in storage Data in device, to execute the various functions and/or processing data of electric terminal.The processor can be by integrated circuit (Integrated Circuit, abbreviation IC) composition, such as the IC that can be encapsulated by single are formed, can also be by more of connection The encapsulation IC of identical function or different function and form.For example, processor 310 can only include central processing unit (Central Processing Unit, abbreviation CPU).In the application embodiment, CPU can be single operation core, can also To include multioperation core.
Communication unit 330, for establishing communication channel, so that the storage terminal be allow to be led to other terminals Letter.It receives the user data of other terminals transmission or sends user data to other terminals.
The application also provides a kind of computer storage medium, wherein the computer storage medium can be stored with program, the journey Sequence may include step some or all of in each embodiment provided by the present application when executing.The storage medium can for magnetic disk, CD, read-only memory (English: read-only memory, referred to as: ROM) or random access memory (English: Random access memory, referred to as: RAM) etc..
Therefore, the application is by the environment of tide MCS, completing automatic acquisition device-dependent message, logging in license Application web site inserts facility information, chooses function items, obtaining license information and upload license copy to storage equipment Function, finally executes license activation according to license information, and whole process is all automatically performed.The present invention can be avoided out Ancillary cost manpower checks each equipment license state and automated execution in the process due to license before existing automated execution Test crash phenomenon caused by un-activation, improves execution efficiency, and the attainable technical effect of the present embodiment institute may refer to above In description, details are not described herein again.
It is required that those skilled in the art can be understood that the technology in the embodiment of the present application can add by software The mode of general hardware platform realize.Based on this understanding, the technical solution in the embodiment of the present application substantially or Say that the part that contributes to existing technology can be embodied in the form of software products, which is stored in Such as USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory in one storage medium The various media that can store program code such as (RAM, Random Access Memory), magnetic or disk, including it is several Instruction is used so that a terminal (can be personal computer, server or second terminal, the network terminal etc.) is held Row all or part of the steps of the method according to each embodiment of the present invention.
Same and similar part may refer to each other between each embodiment in this specification.Implement especially for terminal For example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring in embodiment of the method Explanation.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
Although by reference to attached drawing and combining the mode of preferred embodiment to the present invention have been described in detail, the present invention It is not limited to this.Without departing from the spirit and substance of the premise in the present invention, those of ordinary skill in the art can be to the present invention Embodiment carry out various equivalent modifications or substitutions, and these modifications or substitutions all should in covering scope of the invention/appoint What those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, answer It is included within the scope of the present invention.Therefore, protection scope of the present invention is answered described is with scope of protection of the claims It is quasi-.

Claims (10)

1. a kind of automatic application method of license based on MCS, which is characterized in that the described method includes:
Creation storage cluster simultaneously initializes cluster according to the cluster IP of generation;
Obtain cluster information;
The cluster information is input to license application web site and obtains license information;
It reads license information and the license information is uploaded to cluster;
License activation is carried out according to the license information.
2. the method according to claim 1, wherein the acquisition cluster information includes:
Ssh order is called to log in cluster IP;
Execute MTM value and serial_number value that sainfo lscanister order obtains cluster;
The MTM value and serial_number value are stored to cluster information and record file.
3. the method according to claim 1, wherein described be input to license application web site for cluster information Obtaining license information includes:
It logs in license application web site and crawls the attribute key value of website;
According to the attribute key value of website by license information input to license application web site;
According to the enable command for choosing order generation corresponding function option.
4. the method according to claim 1, wherein the reading license information and the license is believed Breath is uploaded to cluster and includes:
Webdriver.page_source order is called to crawl the URL of license information;
It calls URL order to open license message file and crawls the license information in license message file;
Extract the license sequence number in license information;
The license sequence number is verified according to the structure feature of license;
It logs in cluster IP and imports license information in the backup file under specified path.
5. the method according to claim 1, wherein described carry out license activation packet according to license information It includes:
It logs in cluster IP and carries out license activation using activefeature order;
The state of license is checked using lsfeatue order and exports the activation result of license;
By the activation result for analyzing license backup file path information checking license.
6. a kind of license based on MCS applies for device automatically, which is characterized in that described device includes:
Cluster creating unit is configured to creation storage cluster and is initialized according to the cluster IP of generation to cluster;
Cluster acquiring unit is configured to obtain cluster information;
Cluster input unit is configured to for the cluster information to be input to license application web site acquisition license information;
Information reading unit is configured to read license information and the license information is uploaded to cluster;
Execution unit is activated, is configured to carry out license activation according to the license information.
7. device according to claim 6, which is characterized in that the cluster acquiring unit includes:
Cluster login module is configured to that ssh order is called to log in cluster IP;
Numerical value obtains module, is configured to carry out MTM value and serial_ that sainfo lscanister order obtains cluster Number value;
Numerical value memory module is configured to store the MTM value and serial_number value to cluster information record file.
8. device according to claim 6, which is characterized in that the cluster input unit includes:
Attribute crawls module, is configured to log in license application web site and crawls the attribute key value of website;
MIM message input module is configured to license information input to license application net according to the attribute key value of website It stands;
Function enables module, is configured to according to the enable command for choosing order generation corresponding function option.
9. device according to claim 6, which is characterized in that the Information reading unit includes:
Order crawls module, is configured to the URL for calling webdriver.page_source order to crawl license information;
Information crawler module is configured to that URL order is called to open license message file and crawls license message file In license information;
Information extraction modules are configured to extract the license sequence number in license information;
Authentication module is extracted, is configured to verify the license sequence number according to the structure feature of license;
Information back-up module is configured to log in cluster IP and imports license information in the backup file under specified path.
10. device according to claim 6, which is characterized in that the activation execution unit includes:
Active module is configured to log in cluster IP and carries out license activation using activefeature order;
It checks module, be configured to check the state of license using lsfeatue order and export the activation knot of license Fruit;
Correction verification module is configured to the activation result of analysis license backup file path information checking license.
CN201811329210.XA 2018-11-09 2018-11-09 A kind of automatic application method of license based on MCS and device Pending CN109525425A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811329210.XA CN109525425A (en) 2018-11-09 2018-11-09 A kind of automatic application method of license based on MCS and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811329210.XA CN109525425A (en) 2018-11-09 2018-11-09 A kind of automatic application method of license based on MCS and device

Publications (1)

Publication Number Publication Date
CN109525425A true CN109525425A (en) 2019-03-26

Family

ID=65773468

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811329210.XA Pending CN109525425A (en) 2018-11-09 2018-11-09 A kind of automatic application method of license based on MCS and device

Country Status (1)

Country Link
CN (1) CN109525425A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113364770A (en) * 2021-06-03 2021-09-07 上海天旦网络科技发展有限公司 Permission verification method and system based on cluster characteristics

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040153416A1 (en) * 2003-01-31 2004-08-05 Hitachi, Ltd. Method for managing license of software program in storage system
CN1713103A (en) * 2004-06-21 2005-12-28 佳能株式会社 Image forming apparatus, license managing method for applications program
CN103220166A (en) * 2013-03-21 2013-07-24 汉柏科技有限公司 License management method of server cluster
CN107908930A (en) * 2017-11-14 2018-04-13 郑州云海信息技术有限公司 A kind of method and system of encapsulation License
CN108108594A (en) * 2017-12-15 2018-06-01 北京月新时代科技股份有限公司 A kind of license management method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040153416A1 (en) * 2003-01-31 2004-08-05 Hitachi, Ltd. Method for managing license of software program in storage system
CN1713103A (en) * 2004-06-21 2005-12-28 佳能株式会社 Image forming apparatus, license managing method for applications program
CN103220166A (en) * 2013-03-21 2013-07-24 汉柏科技有限公司 License management method of server cluster
CN107908930A (en) * 2017-11-14 2018-04-13 郑州云海信息技术有限公司 A kind of method and system of encapsulation License
CN108108594A (en) * 2017-12-15 2018-06-01 北京月新时代科技股份有限公司 A kind of license management method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113364770A (en) * 2021-06-03 2021-09-07 上海天旦网络科技发展有限公司 Permission verification method and system based on cluster characteristics
CN113364770B (en) * 2021-06-03 2022-12-27 上海天旦网络科技发展有限公司 Permission verification method and system based on cluster characteristics

Similar Documents

Publication Publication Date Title
CN110297774A (en) A kind of automatic interface testing method based on python
CN109189684A (en) Automatic interface testing method based on Python
CN107526676B (en) Cross-system test method and device
CN109408390A (en) A kind of BMC login user stability test method, apparatus, terminal and storage medium
CN107015804A (en) A kind of method and system by the quick exploration project of provisioning API
CN110069297A (en) Abnormality eliminating method, device, computer equipment and storage medium based on Spring MVC
CN109800029A (en) Batch sets method, apparatus, terminal and the storage medium of server B IOS parameter
CN109992504A (en) A kind of server Redfish test method, system, terminal and storage medium
CN109491860A (en) Method for detecting abnormality, terminal device and the medium of application program
CN109510742A (en) A kind of server network interface card remote test method, device, terminal and storage medium
CN106649164A (en) Hardware interface management method
CN107451060A (en) A kind of across mobile terminal automated test frame system
CN109918246A (en) A kind of disk state detection method, system, terminal and storage medium
CN109726830A (en) Equipment routing inspection method, apparatus, electronic equipment and storage medium
CN109684166A (en) Method, apparatus, terminal and the storage medium of automatic test Sensor log normalization
CN106909325A (en) Daily record Method of printing and device and daily record print system
CN105516337B (en) Web site based on dynamic load mechanism docks analytic method
CN111679982A (en) Automatic testing method for REST API (representational State transfer) interface software
CN109933524A (en) Interface test method, device, computer equipment and storage medium
CN110399727A (en) A kind of BMC permission automatic test approach, system, terminal and storage medium
CN109446097A (en) A kind of regression test case selection method, device, terminal and storage medium
CN109525425A (en) A kind of automatic application method of license based on MCS and device
CN107273250A (en) The method of testing and device of electronic declaration form automatic cover system
CN117370203B (en) Automatic test method, system, electronic equipment and storage medium
CN110019076A (en) Construction method, device, equipment and the readable storage medium storing program for executing of multisystem daily record data

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: 20190326