CN106339468A - Oracle RAC (Real Application Cluster) one-key automatic deployment method - Google Patents

Oracle RAC (Real Application Cluster) one-key automatic deployment method Download PDF

Info

Publication number
CN106339468A
CN106339468A CN201610749490.4A CN201610749490A CN106339468A CN 106339468 A CN106339468 A CN 106339468A CN 201610749490 A CN201610749490 A CN 201610749490A CN 106339468 A CN106339468 A CN 106339468A
Authority
CN
China
Prior art keywords
deployment
key
virtual machine
oracle
mono
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
CN201610749490.4A
Other languages
Chinese (zh)
Inventor
杭聪
黄连月
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangxi Power Grid Co Ltd
Original Assignee
Guangxi Power Grid 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 Guangxi Power Grid Co Ltd filed Critical Guangxi Power Grid Co Ltd
Priority to CN201610749490.4A priority Critical patent/CN106339468A/en
Publication of CN106339468A publication Critical patent/CN106339468A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Auxiliary Devices For And Details Of Packaging Control (AREA)

Abstract

The invention disclsoes an Oracle RAC (Real Application Cluster) one-key automatic deployment method and relates to the technical field of database installation. Oracle RAC one-key deployment is realized, steps are simple and operation is easy to carry out; the automaticity is high, deployment time is saved and the efficiency is high. The Oracle RAC one-key automatic deployment method is characterized by comprising: acquiring an Oracle RAC one-key deployment product by a platform to be deployed; operating the Oracle RAC one-key deployment product; selecting two sets of virtual machines and inputting parameters of each virtual machine; operating a pre-installed script of a one machine by each virtual machine; after operating the pre-installed script of the one machine by each virtual machine, closing each virtual machine; hooking a shared magnetic disc on each virtual machine and starting up each virtual machine; operating an Oracle RAC one-key deployment script on any one virtual machine; carrying out automatic equivalent synchronization between the virtual machines in the platform to be deployed, so as to realize the Oracle RAC one-key deployment of the platform to be deployed. The Oracle RAC one-key automatic deployment method provided by the invention is mainly used for Oracle RAC one-key automatic deployment.

Description

A kind of oracle rac mono- key automatic deployment method
Technical field
The present invention relates to installing DB technical field, more particularly, to a kind of oracle rac mono- key automatic deployment method.
Background technology
Oracle rac is the new technology adopting in oracle new edition database, wherein rac(real Application clusters), it is Real Application Clusters, oracle rac is one kind of high availability, be also oracle number Support the core technology of grid computing environment according to storehouse.
The deployment process of existing oracle rac mainly has the following step: configures the ocfs (oracle of each node Cluster file system), and various environmental variance;Oui (oracle universial installer) is called to pacify Dress crs;Call oui that oracle rdbms product is installed again, when rdbms installs end, carry out joining of virtual interface Put;Dbca is called to create database.
The deploying step of above-mentioned oracle rac needs constantly interact with node each in cluster, the required letter of input Breath, size amounts to the configuration of hundreds of step, and step is various, not easy to operate;Those skilled in the art are typically also required to 10 hours about Time just can complete the deployment of oracle rac, workload is big, expends man-hour.
Content of the invention
The present invention provide a kind of oracle rac mono- key automatic deployment method it is achieved that oracle rac mono- key deployment, Step is succinct, easy to operate;Automaticity is strong, saves deployment time, efficiency high.
For reaching above-mentioned purpose, the present invention adopts the following technical scheme that
A kind of oracle rac mono- key automatic deployment method that the present invention provides, comprising:
Treat that deployment platform obtains oracle rac mono- key deployment product;Wherein, a described key deployment product comprises oracle unit Pre-installation script, oracle rac mono- key deployment script, oracle install compressed package, asm installs compressed package and grid installs pressure Contracting bag;Described treat that deployment platform comprises multiple stage virtual machine;
Described treat that deployment platform runs described oracle rac mono- key and disposes product;
Treat to choose two virtual machines in deployment platform described, and deployment platform will be treated described in each described virtual machine parameter input;
Each described virtual machine runs described unit and pre-installs script;
After each described virtual machine completes described unit pre-installation script operation, close each described virtual machine;
Each described virtual machine mounts shared disk, and starts each described virtual machine;
Described oracle rac mono- key deployment script is run on arbitrary described virtual machine;
Described treat in deployment platform that between each virtual machine, automatic equivalent is synchronous, with this realize described in treat deployment platform oracle rac One key deployment.
In conjunction with above-mentioned, further, described oracle rac mono- key automatic deployment method, runs in each described virtual machine After described unit pre-installation script, comprising:
Check each described virtual machine whether to complete described unit pre-installation script to run.
In conjunction with above-mentioned, further, described oracle rac mono- key automatic deployment method, in arbitrary described virtual machine Upper operation oracle rac mono- key deployment script includes:
Configuration surroundings variable;
Decompress described asm and compressed package is installed, asm is installed automatically;
Decompress described grid and compressed package is installed, grid is installed automatically;
Decompress described oracle and compressed package is installed, described oracle database is installed.
In conjunction with above-mentioned, further, decompressing described grid, compressed package is installed, after automatic installation grid, also includes:
Verify described grid whether installation.
In conjunction with above-mentioned, further, compressed package is installed decompressing described oracle, install described oracle database it Afterwards, also include:
Verify the whether installation of described oracle database.
In conjunction with above-mentioned, further, described oracle rac mono- key automatic deployment method, treats in deployment platform described After automatic equivalent synchronization between each virtual machine, also include:
Verify the installation whether each virtual machine completes described oracle rac mono- key deployment script.
A kind of oracle rac mono- key automatic deployment method that the present invention provides, comprising: treat that deployment platform obtains oracle Rac mono- key disposes product;Run oracle rac mono- key deployment product;Choose two virtual machines, and will be defeated for each virtual machine parameter Enter;Each virtual machine runs unit pre-installation script;After each virtual machine completes unit pre-installation script operation, close each virtual machine; Each virtual machine mounts shared disk, and starts each virtual machine;Oracle rac mono- key portion is run on arbitrary virtual machine Administration's script;Treat that in deployment platform, between each virtual machine, automatic equivalent is synchronous, realize treating deployment platform oracle rac mono- key with this Deployment, compared to prior art, present invention achieves the deployment of oracle rac mono- key, by force, single-set operation completes entirely automaticity Process only needs 4 hours, and compared with artificial deployment, efficiency improves 250%;And step is succinct, easy to operate, greatly improve work Efficiency.
Brief description
In order to be illustrated more clearly that technical scheme, the accompanying drawing of required use in embodiment being described below It is briefly described.
Fig. 1 is a kind of oracle rac mono- key automatic deployment method schematic flow sheet in the embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes.Obviously, described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of not making creative work Embodiment, broadly falls into the scope of protection of the invention.
Embodiment
The embodiment of the present invention provides a kind of oracle rac mono- key automatic deployment method, as shown in Figure 1, comprising:
101st, treat that deployment platform obtains oracle rac mono- key deployment product;Wherein, a described key deployment product comprises oracle Unit pre-installation script, oracle rac mono- key deployment script, oracle install compressed package, asm installs compressed package and grid peace Dress compressed package;Described treat that deployment platform comprises multiple stage virtual machine;
102nd, described treat that deployment platform runs described oracle rac mono- key and disposes product;
103rd, treat to choose two virtual machines in deployment platform described, and will treat that deployment is flat described in each described virtual machine parameter input Platform;
104th, each described virtual machine runs described unit and pre-installs script;
105th, check each described virtual machine whether to complete described unit pre-installation script to run.
106th, after each described virtual machine completes described unit pre-installation script operation, close each described virtual machine;
107th, mount shared disk on each described virtual machine, and start each described virtual machine;
108th, described oracle rac mono- key deployment script is run on arbitrary described virtual machine;
1081st, configuration surroundings variable;
1082nd, the described asm of decompression installs compressed package, automatically installs asm;
1083rd, the described grid of decompression installs compressed package, automatically installs grid;
1084th, verify described grid whether installation.
1085th, the described oracle of decompression installs compressed package, installs described oracle database.
1086th, verify the whether installation of described oracle database.
109th, described treat in deployment platform that between each virtual machine, automatic equivalent is synchronous, with this realize described in treat deployment platform Oracle rac mono- key is disposed.
110th, verify the installation whether each virtual machine completes described oracle rac mono- key deployment script.
A kind of oracle rac mono- key automatic deployment method that the present invention provides, comprising: treat that deployment platform obtains oracle Rac mono- key disposes product;Run oracle rac mono- key deployment product;Choose two virtual machines, and will be defeated for each virtual machine parameter Enter;Each virtual machine runs unit pre-installation script;After each virtual machine completes unit pre-installation script operation, close each virtual machine; Each virtual machine mounts shared disk, and starts each virtual machine;Oracle rac mono- key portion is run on arbitrary virtual machine Administration's script;Treat that in deployment platform, between each virtual machine, automatic equivalent is synchronous, realize treating deployment platform oracle rac mono- key with this Deployment, compared to prior art, present invention achieves oracle rac mono- key is disposed, single-set operation completes whole process and only needs 4 Hour, step is succinct, easy to operate;Automaticity is strong, saves deployment time, efficiency high.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, and any Those familiar with the art the invention discloses technical scope in, the change or replacement that can readily occur in, all answer It is included within the scope of the present invention.Therefore, protection scope of the present invention with described scope of the claims should be Accurate.

Claims (6)

1. a kind of oracle rac mono- key automatic deployment method is it is characterised in that include:
Treat that deployment platform obtains oracle rac mono- key deployment product;Wherein, a described key deployment product comprises oracle unit Pre-installation script, oracle rac mono- key deployment script, oracle install compressed package, asm installs compressed package and grid installs pressure Contracting bag;Described treat that deployment platform comprises multiple stage virtual machine;
Described treat that deployment platform runs described oracle rac mono- key and disposes product;
Treat to choose two virtual machines in deployment platform described, and deployment platform will be treated described in each described virtual machine parameter input;
Each described virtual machine runs described unit and pre-installs script;
After each described virtual machine completes described unit pre-installation script operation, close each described virtual machine;
Each described virtual machine mounts shared disk, and starts each described virtual machine;
Described oracle rac mono- key deployment script is run on arbitrary described virtual machine;
Described treat in deployment platform that between each virtual machine, automatic equivalent is synchronous, with this realize described in treat deployment platform oracle rac One key deployment.
2. oracle rac mono- key automatic deployment method according to claim 1 is it is characterised in that in each described virtual machine After running described unit pre-installation script, comprising:
Check each described virtual machine whether to complete described unit pre-installation script to run.
3. oracle rac mono- key automatic deployment method according to claim 2 is it is characterised in that in arbitrary described void Oracle rac mono- key deployment script is run on plan machine include:
Configuration surroundings variable;
Decompress described asm and compressed package is installed, asm is installed automatically;
Decompress described grid and compressed package is installed, grid is installed automatically;
Decompress described oracle and compressed package is installed, described oracle database is installed.
4. oracle rac mono- key automatic deployment method according to claim 3 is it is characterised in that decompressing described grid Compressed package is installed, after automatically grid being installed, also includes:
Verify described grid whether installation.
5. oracle rac mono- key automatic deployment method according to claim 3 is it is characterised in that described in decompression Oracle installs compressed package, after installing described oracle database, also includes:
Verify the whether installation of described oracle database.
6. described, oracle rac mono- key automatic deployment method according to claim 1 is it is characterised in that treat that deployment is flat After automatic equivalent synchronization between each virtual machine in platform, also include:
Verify the installation whether each virtual machine completes described oracle rac mono- key deployment script.
CN201610749490.4A 2016-08-30 2016-08-30 Oracle RAC (Real Application Cluster) one-key automatic deployment method Pending CN106339468A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610749490.4A CN106339468A (en) 2016-08-30 2016-08-30 Oracle RAC (Real Application Cluster) one-key automatic deployment method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610749490.4A CN106339468A (en) 2016-08-30 2016-08-30 Oracle RAC (Real Application Cluster) one-key automatic deployment method

Publications (1)

Publication Number Publication Date
CN106339468A true CN106339468A (en) 2017-01-18

Family

ID=57822794

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610749490.4A Pending CN106339468A (en) 2016-08-30 2016-08-30 Oracle RAC (Real Application Cluster) one-key automatic deployment method

Country Status (1)

Country Link
CN (1) CN106339468A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107391640A (en) * 2017-07-11 2017-11-24 郑州云海信息技术有限公司 A kind of method for realizing SQL Server database mirroring pattern automatic deployments
CN107566175A (en) * 2017-09-05 2018-01-09 郑州云海信息技术有限公司 The method of automatic deployment oracle rac environmental variances
CN113572862A (en) * 2021-09-27 2021-10-29 武汉四通信息服务有限公司 Cluster deployment method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101251802A (en) * 2008-03-11 2008-08-27 浪潮电子信息产业股份有限公司 Unattended operation automatic installing method of Oracle RAC
CN104657200A (en) * 2015-03-03 2015-05-27 浪潮电子信息产业股份有限公司 Method for creating shared disk in virtual machine
CN104809015A (en) * 2015-05-05 2015-07-29 浪潮电子信息产业股份有限公司 Method for automatically deploying Oracle rac environment based on Linux system
CN105786564A (en) * 2016-02-22 2016-07-20 上海新炬网络信息技术有限公司 Automatic custom installation and deployment method for Oracle

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101251802A (en) * 2008-03-11 2008-08-27 浪潮电子信息产业股份有限公司 Unattended operation automatic installing method of Oracle RAC
CN104657200A (en) * 2015-03-03 2015-05-27 浪潮电子信息产业股份有限公司 Method for creating shared disk in virtual machine
CN104809015A (en) * 2015-05-05 2015-07-29 浪潮电子信息产业股份有限公司 Method for automatically deploying Oracle rac environment based on Linux system
CN105786564A (en) * 2016-02-22 2016-07-20 上海新炬网络信息技术有限公司 Automatic custom installation and deployment method for Oracle

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
胡昌文: "基于Oracle数据库的MELINETSⅡ双机RAC集群系统的设计与实现", 《图书馆学研究》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107391640A (en) * 2017-07-11 2017-11-24 郑州云海信息技术有限公司 A kind of method for realizing SQL Server database mirroring pattern automatic deployments
CN107391640B (en) * 2017-07-11 2020-12-08 浪潮云信息技术股份公司 Method for realizing automatic deployment of SQL Server database mirror mode
CN107566175A (en) * 2017-09-05 2018-01-09 郑州云海信息技术有限公司 The method of automatic deployment oracle rac environmental variances
CN113572862A (en) * 2021-09-27 2021-10-29 武汉四通信息服务有限公司 Cluster deployment method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN106339468A (en) Oracle RAC (Real Application Cluster) one-key automatic deployment method
CN106933570B (en) Aerospace test, launch and control software platform based on plug-in technology
CN101166321B (en) Software upgrade method for remote RF unit in radio communication system
CN103235725A (en) Linux-based rapid deployment method for Oracle database in cloud computing
CN103367217B (en) A kind of silicon-chip absorption device and absorption method thereof
CN106254127A (en) Automatic deployment method of RabbitMQ cluster service based on virtualization platform
CN105553741A (en) Automatic deployment method for application system based on cloud computing
CN204886222U (en) Realize stake of charging of long -range upgrading of software
CN105407138B (en) Configuration file loading method and device, communication equipment
CN109739616A (en) A kind of cloud platform container mirror image batch making method
CN100556211C (en) A kind of upgrade method of mobile communication network management system
CN105760166A (en) Automatic source code construction implementation method based on layering
CN105005527A (en) Server-side product monitoring method and device
CN110069263A (en) A kind of decoupling method based on electric power dispatch management cloud platform
CN107707671A (en) A kind of method of the unified configuration of MyCat clusters
CN206135772U (en) Photovoltaic dual glass assembly mounting structure and system
CN106020935A (en) Method for running openstack component service across versions
CN104731618A (en) Design method for automatically refreshing firmware based on RACK cabinet node middle plate
CN110430231B (en) Management method and system for ubiquitous power Internet of things intelligent terminal APP
CN106406856A (en) Standalone one-key automatic deployment method for Oracle
CN102946564A (en) Video service system automatic update method
CN112540784B (en) Aircraft-mounted software change control method
CN106155834A (en) A kind of openstack of based on virtual machine snapshot cloud platform automatization recovery technology
CN103607715A (en) Frequency point configuration method and device thereof
CN106909392A (en) The deployment maintenance method of the Codis cluster services based on virtual platform

Legal Events

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

Application publication date: 20170118

RJ01 Rejection of invention patent application after publication