CN108845809A - A kind of method and database mounting device of installation database - Google Patents
A kind of method and database mounting device of installation database Download PDFInfo
- Publication number
- CN108845809A CN108845809A CN201810681904.3A CN201810681904A CN108845809A CN 108845809 A CN108845809 A CN 108845809A CN 201810681904 A CN201810681904 A CN 201810681904A CN 108845809 A CN108845809 A CN 108845809A
- Authority
- CN
- China
- Prior art keywords
- operating system
- database
- installing
- installation
- environment
- 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
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a kind of method of installation database and a kind of installing DB device, this method includes:According to the parameter setting information and operating system monitoring information received, the dispatch command for being used for installation database is sent to operating system, according to the installing DB status information that operating system is fed back, corresponding operation information is generated, until by installing DB to operating system.Accordingly, can automatically installation database, reduce the workload and work step of the administrative staff of database.
Description
Technical field
The present invention relates to information technology field, the method and database mounting device of espespecially a kind of installation database.
Background technique
Database (Database) is the warehouse for coming tissue, storage and management data according to data structure, it result from away from
Before more than 60 years modern, after the development of information technology and market, especially nineteen nineties, data management is no longer
Only storage and management data, and it is transformed into the mode of various data managements required for user.There are many kinds of classes for database
Type, from the simplest table for being stored with various data to being able to carry out the large-scale database system of mass data storage all each
A aspect is widely used.Wherein, HANA is a combination of hardware and software, provides high performance data query function,
User directly can inquire and analyze to a large amount of real time traffic datas.What user took is one equipped with pre-configuration software
Equipment.As for the cloud service of HANA, the height of HANA can be only enjoyed in the case where not buying related hardware for a user
Performance, and the behind of HANA cloud service still needs the hardware support of higher performance.High-end server carries the core of industry
Heart application, is widely used in the crucial application field such as finance, telecommunications, the energy, traffic, and operation is directly related to society, economy
Normal operation.By taking the M13 key applied host machine of Langchao Group as an example, M13 key applied host machine is online trade performance
Strongest high-end server system, towards the very-large database to the high bank of stability and availability, government, large enterprises
Using and design, have mainframe level RAS characteristic (reliability (Reliability), availability (Availability) and
Serviceability (Serviceability)) and the process performance of mainframe shoulder to shoulder, have the ability of carrying mainframe applications,
The K-UX3.0 operating system of M13 minicomputer be China first and be also it is currently the only authenticated by Unix 03 host behaviour
Make system, for the autonomous controllability for improving informatization Grand Equipments, more and more information systems are tended to using autonomous
Product.With the trend of production domesticization, more and more databases (for example, HANA), middleware, application software etc. joined K-UX
In ecological environment, database application is in many large enterprises or work unit.Currently, when installing and deploying database,
Can only manually dispose in the conventional mode, this increases workload and work step to the administrative staff of database.
Summary of the invention
In order to solve the above-mentioned technical problems, the present invention provides a kind of methods of installation database and installing DB to fill
It sets, it being capable of automatic installation database.
On the one hand, the embodiment provides a kind of method of installation database, this method includes:
According to the parameter setting information and operating system monitoring information received, is sent to operating system and be used for installation data
The dispatch command in library,
According to the installing DB status information that operating system is fed back, corresponding operation information is generated, until by database
It is installed to operating system.
Further, in an alternative embodiment, wherein system monitoring information for determine in operating system whether
With installing DB environment;
If not having installing DB environment in operating system, installing DB environment driving packet is called, to grasp
Make installation database installation environment in system.
Further, in an alternative embodiment, it if having installing DB environment in operating system, calls
Database-driven packet, in an operating system by installing DB.
Further, in an alternative embodiment, by installing DB in an operating system after, this method is also
Including:Whether correctly installed using database-driven packet validation database, and feedback validation result.
Further, in an alternative embodiment, this method further includes:
The system resource of monitor operating system and the installation condition of database;
If the installation condition of the system resource and/or database that monitor operating system is wrong, using retract or
Person resets the mode of order to control the progress of installation database, until by installing DB to operating system.
On the other hand, the embodiment provides a kind of installing DB device, which includes:
Dispatch command module, for being to operation according to the parameter setting information and operating system monitoring information received
System sends the dispatch command for being used for installation database,
Operation information module, the installing DB status information for being fed back according to operating system generate corresponding operation
Information, until by installing DB to operating system.
Further, in an alternative embodiment, system monitoring information is for determining in operating system whether have
Installing DB environment;
Dispatch command module is also used to:If system monitoring information, which determines, does not have installing DB ring in operating system
Installing DB environment driving packet is called, then with installation database installation environment in an operating system in border.
Further, in an alternative embodiment, dispatch command module is also used to:If system monitoring information determines
There is installing DB environment in operating system, then call database-driven packet, in an operating system by installing DB.
Further, in an alternative embodiment, which further includes feedback validation module, and feedback validation module is used
In:Dispatch command module by installing DB in an operating system after, using database-driven packet validation database whether
Correct installation, and feedback validation result.
Further, in an alternative embodiment, which further includes:
Monitoring module, monitoring module is for the system resource of monitor operating system and the installation condition of database;If
The installation condition of the system resource and/or database that monitor operating system is wrong, then is ordered using rollback or resetting
Mode controls the progress of installation database, until by installing DB to operating system.
The beneficial effect of the embodiment of the present invention is, the method or database of installation database provided in an embodiment of the present invention
Mounting device passes through according to the parameter setting information and operating system monitoring information received, can know the administrator of database
Member is intended to the operation of database;By obtaining the information of operating system, configured when can be informed in installation database
Mode;In conjunction with the information of these two aspects, dispatch command appropriate is sent to operating system;It is fed back when receiving by operating system
The information about installing DB state when, corresponding operation information can be generated according to installation condition information, therefore, can be with
The method or installing DB device of the installation database provided through the embodiment of the present invention automatically dispose database, reduce pipe
Manage the workload and work step of staffing database.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification
It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention can be by specification, right
Specifically noted structure is achieved and obtained in claim and attached drawing.
Detailed description of the invention
Attached drawing is used to provide to further understand technical solution of the present invention, and constitutes part of specification, with this
The embodiment of application technical solution for explaining the present invention together, does not constitute the limitation to technical solution of the present invention.
Fig. 1 is the flow chart of the method for the installation database that the embodiment of the present invention provides;
Fig. 2 is the block diagram for the installing DB device that the embodiment of the present invention provides.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention
Embodiment be described in detail.It should be noted that in the absence of conflict, in the embodiment and embodiment in the application
Feature can mutual any combination.
Step shown in the flowchart of the accompanying drawings can be in a computer system such as a set of computer executable instructions
It executes.Also, although logical order is shown in flow charts, and it in some cases, can be to be different from herein suitable
Sequence executes shown or described step.
On the one hand, the embodiment provides a kind of methods of installation database, as shown in Figure 1, this method includes
Step S101- step S103.
Step S101 sends to operating system and uses according to the parameter setting information and operating system monitoring information received
In the dispatch command of installation database.
Wherein, parameter setting information is that the administrative staff by database received input;Operating system monitoring information
It is by active scan or the passive information for receiving the operating system obtained.
Step S103 generates corresponding operation information according to the installing DB status information that operating system is fed back, until
By installing DB to operating system.
The beneficial effect of the embodiment of the present invention is that the method for installation database provided in an embodiment of the present invention passes through basis
The parameter setting information and operating system monitoring information received, can know behaviour of the administrative staff for database of database
Work is intended to;By obtaining the information of operating system, the mode configured when can be informed in installation database;In conjunction with this two side
The information in face sends dispatch command appropriate to operating system;When receive by operating system feedback about installing DB
When the information of state, can generate corresponding operation information according to installation condition information therefore can be through the embodiment of the present invention
The method of the installation database of offer automatically disposes database, reduces workload and job step that administrative staff dispose database
Suddenly.
In an alternative embodiment, the above method can be developed using JAVA language, pass through websphere middleware
Deployment, installation and deployment are as follows:
1) websphere middleware is installed and configured on K-UX;
2) this implementing procedure packet is deployed on websphere middleware;
3) start tool HTTP transfer function and transmission port;
4) file transfer conveyance is connected by HTTP transport protocol with this tool;
5) installing DB file, database-driven packet are transmitted on this tool;
6) installation and the verification operation of tool are executed.
In an alternative embodiment, it installs automatically and the method for verifying HANA database is opened based on JAVA language
Hair is disposed to realize by Tomcat middleware, to realize cross-platform characteristic, the reality of this method using B/S mode development
It can be attached by HTTP standard agreement between alms giver's body and file transfer conveyance.
In an alternative embodiment, the files such as HANA database, driving packet are stored in advance in the subject of implementation of this method,
And after the completion of HANA installing DB, HANA database is attached and is verified, and is finally completed HANA database
It is automatic installation and verifying work.
It in an alternative embodiment, include the ginseng of foundation parameter management module for the dispatch command of installation database
Number, system-monitoring module monitoring data, database control module status information, database authentication module verification information generate
The operational order of K-UX operating system, these instructions are sent directly to K-UX operating system by interface, and K-UX operating system connects
It receives and instructs and execute related command operation, including create user, creation user group, design-model box permission, setting system parameter, hold
Row installation, database connection, database authentication etc..
In an alternative embodiment, this method includes:Stored HANA database file and K-UX is detected to operate
The compatibility of system, while the execution result information that the instruction interface for receiving K-UX operating system is fed back, if implementing result
There are exceptions, then send instruction, and the process of installation is instructed the information such as to retract, re-execute.
In an alternative embodiment, this method includes:
1) resource information of operating system is obtained;
2) configuration information of operating system is obtained;
3) file basis information is obtained;
4) send by database administrative staff be arranged system environments, user environment, database parameter;
5) installing DB instruction is sent.
Further, in an alternative embodiment, system monitoring information is for determining in operating system whether have
Installing DB environment;
If not having installing DB environment in operating system, installing DB environment driving packet is called, to grasp
Make installation database installation environment in system.
Further, in an alternative embodiment, it if having installing DB environment in operating system, calls
Database-driven packet, in an operating system by installing DB.
Further, in an alternative embodiment, by installing DB in an operating system after, method is also wrapped
It includes:Whether correctly installed using database-driven packet validation database, and feedback validation result.
Further, in an alternative embodiment, this method further includes:
The system resource of monitor operating system and the installation condition of database;
If the installation condition of the system resource and/or database that monitor operating system is wrong, using retract or
Person resets the mode of order to control the progress of installation database, until by installing DB to operating system.
Specifically, in terms of monitoring mechanism may include following two:
1) it in the case of data exception, analyzes data exception and is handled;
2) it under network abnormal situation, prompts Network Abnormal information and diagnoses connection.
On the other hand, the embodiment provides a kind of installing DB devices, as shown in Fig. 2, the device includes
Dispatch command module 201 and operation information module 203.
Dispatch command module 201 is used for according to the parameter setting information and operating system monitoring information received, to operation
System sends the dispatch command for being used for installation database,
Operation information module 203 is used for the installing DB status information fed back according to operating system, generates corresponding behaviour
Make information, until by installing DB to operating system.
Further, in an alternative embodiment, system monitoring information is for determining in operating system whether have
Installing DB environment;
Dispatch command module 201 is also used to:If system monitoring information, which determines, does not have installing DB in operating system
Environment calls installing DB environment driving packet, then with installation database installation environment in an operating system.
The beneficial effect of the embodiment of the present invention is that installing DB device provided in an embodiment of the present invention passes through basis and connects
The parameter setting information and operating system monitoring information received, can know operation of the administrative staff for database of database
It is intended to;By obtaining the information of operating system, the mode configured when can be informed in installation database;In conjunction with these two aspects
Information, send dispatch command appropriate to operating system;When receive by operating system feedback about installing DB shape
When the information of state, therefore can generate corresponding operation information according to installation condition information can mention through the embodiment of the present invention
The installing DB device of confession automatically disposes database, reduces workload and work step that administrative staff dispose database.
Further, in an alternative embodiment, dispatch command module 201 is also used to:If system monitoring information
Determining has installing DB environment in operating system, then database-driven packet is called, by installing DB in operating system
In.
It further, in an alternative embodiment, further include feedback validation module.
Feedback validation module is used for:Dispatch command module by installing DB in an operating system after, using data
Whether library driving packet validation database is correctly installed, and feedback validation result.
Further, in an alternative embodiment, which further includes monitoring module.
Monitoring module is for the system resource of monitor operating system and the installation condition of database;If monitoring operation
The system resource of system and/or the installation condition of database are wrong, then are controlled by the way of retracting or resetting order
The progress of installation database, until by installing DB to operating system.
Although disclosed herein embodiment it is as above, above-mentioned content only for ease of understanding the present invention and use
Embodiment is not intended to limit the invention.Technical staff in any fields of the present invention is taken off not departing from the present invention
Under the premise of the spirit and scope of dew, any modification and variation, but the present invention can be carried out in the form and details of implementation
Scope of patent protection, still should be subject to the scope of the claims as defined in the appended claims.
Claims (10)
1. a kind of method of installation database, which is characterized in that including:
According to the parameter setting information and operating system monitoring information received, send to operating system for installation database
Dispatch command,
According to the installing DB status information that the operating system is fed back, corresponding operation information is generated, until by database
It is installed to operating system.
2. according to the method described in claim 1, wherein, the system monitoring information for determine in the operating system whether
With installing DB environment;
If not having installing DB environment in operating system, installing DB environment driving packet is called, in the behaviour
Make that the installing DB environment is installed in system.
3. according to the method described in claim 2, wherein, if having installing DB environment in operating system, calling number
It drives and wraps according to library, by the installing DB in the operating system.
4. according to the method described in claim 3, after by the installing DB in the operating system, the method
Further include:Verify whether the database is correctly installed using the database-driven packet, and feedback validation result.
5. method described in any one of -4 according to claim 1, further includes:
Monitor the system resource of the operating system and the installation condition of the database;
If the installation condition of the system resource and/or the database that monitor the operating system is wrong, use back
The mode of order is moved back or reset to control the progress of installation database, until by installing DB to operating system.
6. a kind of installing DB device, which is characterized in that including:
Dispatch command module, for being sent out to operating system according to the parameter setting information and operating system monitoring information received
The dispatch command for installation database is sent,
Operation information module, the installing DB status information for being fed back according to the operating system generate corresponding operation
Information, until by installing DB to operating system.
7. device according to claim 6, wherein the system monitoring information for determine in the operating system whether
With installing DB environment;
The dispatch command module is also used to:If the system monitoring information, which determines, does not have database in the operating system
Installation environment calls installing DB environment driving packet, then to install the installing DB environment in the operating system.
8. device according to claim 7, the dispatch command module is also used to:Described in if system monitoring information determines
There is installing DB environment in operating system, then database-driven packet is called, by the installing DB in the operation
In system.
9. device according to claim 8 further includes feedback validation module, the feedback validation module is used for:Described
Dispatch command module by the installing DB in the operating system after, using the database-driven packet verifying described in
Whether database is correctly installed, and feedback validation result.
10. the device according to any one of claim 6-9, further includes:
Monitoring module, the monitoring module are used to monitor the system resource of the operating system and the installation shape of the database
State;If the installation condition of the system resource and/or the database that monitor the operating system is wrong, using rollback
Or the mode of resetting order controls the progress of installation database, until by installing DB to operating system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810681904.3A CN108845809A (en) | 2018-06-27 | 2018-06-27 | A kind of method and database mounting device of installation database |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810681904.3A CN108845809A (en) | 2018-06-27 | 2018-06-27 | A kind of method and database mounting device of installation database |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108845809A true CN108845809A (en) | 2018-11-20 |
Family
ID=64199941
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810681904.3A Pending CN108845809A (en) | 2018-06-27 | 2018-06-27 | A kind of method and database mounting device of installation database |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108845809A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8276133B1 (en) * | 2007-12-11 | 2012-09-25 | Nvidia Corporation | System, method, and computer program product for determining a plurality of application settings utilizing a mathematical function |
CN106385456A (en) * | 2016-09-26 | 2017-02-08 | 郑州云海信息技术有限公司 | Method and device for deploying tuxedo middleware on K-UX operating system |
CN107066261A (en) * | 2017-03-09 | 2017-08-18 | 郑州云海信息技术有限公司 | The system and method for data-base cluster are built in a kind of K UX operating systems |
CN107315803A (en) * | 2017-06-23 | 2017-11-03 | 郑州云海信息技术有限公司 | A kind of automatic building method of data-base cluster and system |
CN107544830A (en) * | 2017-09-21 | 2018-01-05 | 郑州云海信息技术有限公司 | A kind of method and device of automatic installation database |
-
2018
- 2018-06-27 CN CN201810681904.3A patent/CN108845809A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8276133B1 (en) * | 2007-12-11 | 2012-09-25 | Nvidia Corporation | System, method, and computer program product for determining a plurality of application settings utilizing a mathematical function |
CN106385456A (en) * | 2016-09-26 | 2017-02-08 | 郑州云海信息技术有限公司 | Method and device for deploying tuxedo middleware on K-UX operating system |
CN107066261A (en) * | 2017-03-09 | 2017-08-18 | 郑州云海信息技术有限公司 | The system and method for data-base cluster are built in a kind of K UX operating systems |
CN107315803A (en) * | 2017-06-23 | 2017-11-03 | 郑州云海信息技术有限公司 | A kind of automatic building method of data-base cluster and system |
CN107544830A (en) * | 2017-09-21 | 2018-01-05 | 郑州云海信息技术有限公司 | A kind of method and device of automatic installation database |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6069339B2 (en) | Oracle Rewind: Metadata Driven Undo | |
KR101574366B1 (en) | Synchronizing virtual machine and application life cycles | |
US6871223B2 (en) | System and method for agent reporting in to server | |
US10656971B2 (en) | Agile framework for vertical application development and delivery | |
US20130247136A1 (en) | Automated Validation of Configuration and Compliance in Cloud Servers | |
US20150212812A1 (en) | Declarative and pluggable business logic for systems management | |
US7133894B2 (en) | Method, apparatus, and program for synchronous remote builds | |
CN106469068B (en) | Application program deployment method and system | |
CN110096424B (en) | Test processing method and device, electronic equipment and storage medium | |
US11223615B2 (en) | Provisioning initial keystore for multi-tenant, microservice architecture-based integration service in a cloud computing environment setup | |
WO2020015191A1 (en) | Business rule releasing and managing method, electronic device and readable storage medium | |
US11489729B2 (en) | Agentless access control system for profile management | |
US9459859B2 (en) | Template derivation for configuration object management | |
US7716663B2 (en) | Method, system and program product for controlling native applications using open service gateway initiative (OSGi) bundles | |
WO2022267407A1 (en) | Automated operation and maintenance tool-based proxy deployment method and apparatus | |
CN110945504A (en) | Delivering configuration-based workflows | |
AU2021204593A1 (en) | Methods and apparatuses for installing device application | |
US10430232B2 (en) | Controllable workflow in software configuration automation | |
US10649808B2 (en) | Outcome-based job rescheduling in software configuration automation | |
CN109992295B (en) | Version management method and server | |
CN113296795A (en) | Application deployment method, device, equipment, storage medium and program product | |
US20180121370A1 (en) | System and method for unified secure remote configuration and management of multiple applications on embedded device platform | |
CN108845809A (en) | A kind of method and database mounting device of installation database | |
US7257613B2 (en) | Methods to develop remote applications with built in feedback ability for use in a distributed test framework | |
CN110609763B (en) | Method, electronic device, and computer-readable medium for managing and executing data backup jobs |
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: 20181120 |
|
RJ01 | Rejection of invention patent application after publication |