CN106325953A - Weblogic cluster one-key automatic deployment method - Google Patents

Weblogic cluster one-key automatic deployment method Download PDF

Info

Publication number
CN106325953A
CN106325953A CN201610749496.1A CN201610749496A CN106325953A CN 106325953 A CN106325953 A CN 106325953A CN 201610749496 A CN201610749496 A CN 201610749496A CN 106325953 A CN106325953 A CN 106325953A
Authority
CN
China
Prior art keywords
weblogic
territory
cluster
installation
domain
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
CN201610749496.1A
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 CN201610749496.1A priority Critical patent/CN106325953A/en
Publication of CN106325953A publication Critical patent/CN106325953A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Abstract

The invention discloses a Weblogic cluster one-key automatic deployment method, and relates to the technical field of database installation. The method comprises the following steps of obtaining a Weblogic installation compression package; creating a Weblogic installation directory; decompressing the Weblogic installation compression package; obtaining a Weblogic installation package; opening an operation system management control platform; receiving user input parameters; initializing a configuration file; executing the Weblogic installation; creating and configuring a Weblogic domain; starting Weblogic service; configuring the Weblogic domain; restarting the domain service; verifying whether the standalone version Weblogic installation and domain creation is successful or not. The Weblogic cluster automatic installation is realized; the steps are simple and compact; the work time is greatly saved.

Description

A kind of Weblogic cluster one key automatic deployment method
Technical field
The present invention relates to mounting technique field, Computer Data storehouse, particularly relate to a kind of Weblogic cluster one key automatic Dispositions method.
Background technology
Weblogic is a kind of middleware based on J2E framework, be used for developing, integrated, dispose and manage large-scale distributed Web application, network application and the Java application server of database application, be J2EE application clothes main on current commercial market One of business device software, is widely used in every profession and trade.When user needs to use Weblogic, first download Weblogic and journey is installed Sequence, is installed on user terminal secondly by Weblogic installation script, after installation, then creates Weblogic territory, i.e. Can use.
Existing Weblogic installation script realizes the installation of Weblogic installation procedure, i.e. Weblogic installation process bag Include: (1) opens WebLogic installation procedure;(2) enter the welcome interface that WebLogic installs, click the Next button; (3) select middleware master catalogue, click the Next button;(4) registration security updates, and clicks the Next button;(5) Select Setup Type, click the Next button;(6) select product installation directory, click the Next button;(7) choosing Select shortcut position, click " completing " button, after installation, create Weblogic territory: (1) enters configuration wizard, choosing Select " creating new WebLogic territory ";(2) select source, territory is installed;(3) Name & Location of specified domain;(4) Configuration Management Officer Username and password;(5) configuration service device start-up mode and JDK;(6) choose whether to carry out advanced configuration (7) configuration management Server (8) configures managed server configures cluster configuration computer;(9) configuration of WebLogic territory, Weblogic are checked Install, created, can use.
It will be apparent that above-mentioned Weblogic installation process and Weblogic territory establishment process steps are complicated, especially Under cluster environment, when there is multiple servers, every station server is required for installing according to above-mentioned steps, and workload is huge Greatly, the extensive work time is expended;And often step is respectively provided with the Next button, is i.e. not fully complete current procedures and cannot be introduced into next step Suddenly, installation script autonomy is poor.Create in each step in Weblogic territory, need the corresponding configuration information of the most progressively input, The establishment time is long, expends the working time, poor user experience.
Summary of the invention
A kind of Weblogic cluster one key automatic deployment method that the present invention provides, it is achieved that lower Weblogic cluster is automatic Installing, step is succinct, is greatly saved the working time;Without the corresponding configuration information of the most progressively input, improve user Experience.
For reaching above-mentioned purpose, the present invention adopts the following technical scheme that
A kind of Weblogic cluster one key automatic deployment method, including:
(1) obtain Weblogic and compressed package is installed;
(2) Weblogic installation directory is created;
(3) decompress described Weblogic and compressed package is installed, obtain Weblogic installation kit;
(4) opening operation System Management Console, receives user and inputs parameter, and described user input data includes pacifying weblogic Management console password, weblogic domain name claim, install multiple host name host of virtual machine of weblogic, installation The corresponding multiple IP addresses of virtual machine of weblogic, the cluster name at the virtual machine place of weblogic is installed, described installation The virtual machine IP address of weblogic;
(5) initial configuration file;
(6) perform weblogic to install;
(7) weblogic territory is created;
(8) weblogic service is started;
(9) configuration weblogic territory;
(10) packing weblogic domain information, is packaged into domain.Jar by territory configuration packages good for above-mentioned configuration, in cluster Other main frames use;
(11) copy domain information, other the main frame that domain.Jar packed in previous step is copied in cluster, and transport Row domain.Jar so that it is his main frame completes territory configuration, completes cluster configuration
(12) weblogic service is restarted;
(13) checking cluster version weblogic is installed and territory creates the most successful.
Further, it is 3 that described user inputs the virtual machine installed in parameter, and the virtual machine IP address of its correspondence is 3 Individual IP address.
Further, described initialization territory configuration file comprises the following steps:
(1) judging whether territory configuration file exists, if existing, deleting;
(2) create territory configuration file, extract described user and input parameter, in the territory configuration file that write creates, form new territory Configuration file.
Further, described execution weblogic installs, and comprises the following steps:
(1) installation path is created;
(2) create and configure virtual memory;
(3) weblogic is installed and relies on environment JDK;
(4) configuration system host;
(5) identify that weblogic installs version, if version is not inconsistent, point out version error, need update contruction bag version;
(6) configuration verification environment variable;
(7) weblogic installation kit is run with Installation Modes of mourning in silence, it is intended that mourn in silence the configuration file silent_xml needed for installing;
(8) initialising subscriber group, user and password, arrange corresponding authority;
(9) whether checking user and corresponding authority configure correctly.
Further: described establishment weblogic territory, comprise the following steps:
(1) OS Type is identified;
(2) the territory configuration file domain.cfg of correspondence is quoted according to OS Type;
(3) domain name in reading field configuration file domain.cfg claim, masterplate path, the information such as administrator password believing according to those Breath creates territory.
Further: described configuration weblogic territory, comprise the following steps:
(1) whether checking weblogic service has started;
(2) product pattern is enabled;
(3) configuration territory root, port, domain name claim, the information such as password, respective hosts title and host ip.
A kind of Weblogic cluster one key automatic deployment method that the present invention provides, including: obtain Weblogic and pressure is installed Contracting bag;Create Weblogi installation directory;Decompression Weblogic installs compressed package, obtains Weblogic installation kit;Run auto_ Install.sh script;Determining main frame, and configure cluster information on the host, compared to prior art, the present invention realizes Time Weblogic cluster is installed automatically, and step is succinct, is greatly saved the working time, and the present invention is without the most defeated Entering corresponding configuration information, the common artificial cluster installation separate unit installation Weblogic time is 90 minutes, and the present invention one Disposing installation to have only to 65 minutes, separate unit installation effectiveness improves 27.78%, simultaneously Consumer's Experience, improves Consumer's Experience.
Accompanying drawing explanation
In order to be illustrated more clearly that technical scheme, the required accompanying drawing used in embodiment being described below It is briefly described.
Fig. 1 is a kind of Weblogic cluster one key automatic deployment method schematic flow sheet in the embodiment of the present invention.
Detailed description of the invention
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 Describe wholely.Obviously, described embodiment is only a part of embodiment of the present invention rather than whole embodiments.Based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under not making creative work premise Embodiment, broadly falls into the scope of protection of the invention.
Embodiment
The embodiment of the present invention provides a kind of Weblogic cluster one key automatic deployment method, as it is shown in figure 1,
A kind of Weblogic cluster one key automatic deployment method, including:
101, obtain Weblogic and compressed package is installed;
102, Weblogic installation directory is created;
103, decompress described Weblogic and compressed package is installed, obtain Weblogic installation kit;
104, opening operation System Management Console, receives user and inputs parameter, and described user input data includes peace Weblogic management console password, weblogic domain name claim, install multiple host name host of virtual machine of weblogic, peace Fill the corresponding multiple IP addresses of virtual machine of weblogic, the cluster name at the virtual machine place of weblogic is installed, described peace The virtual machine IP address of dress weblogic;
105, initial configuration file;
106, perform weblogic to install;
107, weblogic territory is created;
108, weblogic service is started;
109, configuration weblogic territory;
110, packing weblogic domain information, is packaged into domain.Jar by territory configuration packages good for above-mentioned configuration, in cluster Other main frames use;
111, copy domain information, other main frames that above-mentioned packed domain.jar is copied in cluster, and run Domain.jar so that it is his main frame completes territory configuration, completes cluster configuration;
112, weblogic service is restarted;
113, checking cluster version weblogic is installed and territory creates the most successful.
It is 3 that described user inputs the virtual machine installed in parameter, and the virtual machine IP address of its correspondence is 192.168.1.101、192.168.1.102、192.168.1.103。
Described initialization territory configuration file comprises the following steps:
(1) judging whether territory configuration file exists, if existing, deleting;
(2) create territory configuration file, extract described user and input parameter, in the territory configuration file that write creates, form new territory Configuration file.
Described execution weblogic installs, and comprises the following steps:
(1) installation path is created;
(2) create and configure virtual memory;
(3) weblogic is installed and relies on environment JDK;
(4) configuration system host;
(5) identify that weblogic installs version, if version is not inconsistent, point out version error, need update contruction bag version;
(6) configuration verification environment variable;
(7) weblogic installation kit is run with Installation Modes of mourning in silence, it is intended that mourn in silence the configuration file silent_xml needed for installing;
(8) initialising subscriber group, user and password, arrange corresponding authority;
(9) whether checking user and corresponding authority configure correctly.
Described establishment weblogic territory, comprises the following steps:
(1) OS Type is identified;
(2) the territory configuration file domain.cfg of correspondence is quoted according to OS Type;
(3) domain name in reading field configuration file domain.cfg claim, masterplate path, the information such as administrator password believing according to those Breath creates territory.
Described configuration weblogic territory, comprises the following steps:
(1) whether checking weblogic service has started;
(2) product pattern is enabled;
(3) configuration territory root, port, domain name claim, the information such as password, respective hosts title and host ip.
A kind of Weblogic cluster one key automatic deployment method that the present invention provides, including: obtain Weblogic and pressure is installed Contracting bag;Create Weblogi installation directory;Decompression Weblogic installs compressed package, obtains Weblogic installation kit;Run auto_ Install.sh script;Determining main frame, and configure cluster information on the host, compared to prior art, the present invention realizes Time Weblogic cluster is installed automatically, and step is succinct, is greatly saved the working time;Without the most progressively inputting correspondence Configuration information, improves Consumer's Experience.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited thereto, and any Those familiar with the art in the technical scope that the invention discloses, the change that can readily occur in or replacement, all answer Contain within protection scope of the present invention.Therefore, protection scope of the present invention should be with described scope of the claims Accurate.

Claims (6)

1. a Weblogic cluster one key automatic deployment method, it is characterised in that including:
(1) obtain Weblogic and compressed package is installed;
(2) Weblogic installation directory is created;
(3) decompress described Weblogic and compressed package is installed, obtain Weblogic installation kit;
(4) opening operation System Management Console, receives user and inputs parameter, and described user input data includes pacifying weblogic Management console password, weblogic domain name claim, install multiple host name host of virtual machine of weblogic, installation The corresponding multiple IP addresses of virtual machine of weblogic, the cluster name at the virtual machine place of weblogic is installed, described installation The virtual machine IP address of weblogic;
(5) initial configuration file;
(6) perform weblogic to install;
(7) weblogic territory is created;
(8) weblogic service is started;
(9) configuration weblogic territory;
(10) packing weblogic domain information, is packaged into domain.Jar by territory configuration packages good for above-mentioned configuration, in cluster Other main frames use;
(11) copy domain information, other the main frame that domain.Jar packed in previous step is copied in cluster, and transport Row domain.Jar so that it is his main frame completes territory configuration, completes cluster configuration
(12) weblogic service is restarted;
(13) checking cluster version weblogic is installed and territory creates the most successful.
A kind of Weblogic cluster one key automatic deployment method the most according to claim 1, it is characterised in that described user The virtual machine installed in input parameter is 3, and the virtual machine IP address of its correspondence is 3 IP addresses.
A kind of Weblogic cluster one key automatic deployment method the most according to claim 1, it is characterised in that described initially Change territory configuration file to comprise the following steps:
(1) judging whether territory configuration file exists, if existing, deleting;
(2) create territory configuration file, extract described user and input parameter, in the territory configuration file that write creates, form new territory Configuration file.
A kind of Weblogic cluster one key automatic deployment method the most according to claim 1, it is characterised in that described execution Weblogic installs, and comprises the following steps:
(1) installation path is created;
(2) create and configure virtual memory;
(3) weblogic is installed and relies on environment JDK;
(4) configuration system host;
(5) identify that weblogic installs version, if version is not inconsistent, point out version error, need update contruction bag version;
(6) configuration verification environment variable;
(7) weblogic installation kit is run with Installation Modes of mourning in silence, it is intended that mourn in silence the configuration file silent_xml needed for installing;
(8) initialising subscriber group, user and password, arrange corresponding authority;
(9) whether checking user and corresponding authority configure correctly.
A kind of Weblogic cluster one key automatic deployment method the most according to claim 1, it is characterised in that: described establishment Weblogic territory, comprises the following steps:
(1) OS Type is identified;
(2) the territory configuration file domain.cfg of correspondence is quoted according to OS Type;
(3) domain name in reading field configuration file domain.cfg claim, masterplate path, the information such as administrator password believing according to those Breath creates territory.
A kind of Weblogic cluster one key automatic deployment method the most according to claim 1, it is characterised in that:
Described configuration weblogic territory, comprises the following steps:
(1) whether checking weblogic service has started;
(2) product pattern is enabled;
(3) configuration territory root, port, domain name claim, the information such as password, respective hosts title and host ip.
CN201610749496.1A 2016-08-30 2016-08-30 Weblogic cluster one-key automatic deployment method Pending CN106325953A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610749496.1A CN106325953A (en) 2016-08-30 2016-08-30 Weblogic cluster one-key automatic deployment method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610749496.1A CN106325953A (en) 2016-08-30 2016-08-30 Weblogic cluster one-key automatic deployment method

Publications (1)

Publication Number Publication Date
CN106325953A true CN106325953A (en) 2017-01-11

Family

ID=57788196

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610749496.1A Pending CN106325953A (en) 2016-08-30 2016-08-30 Weblogic cluster one-key automatic deployment method

Country Status (1)

Country Link
CN (1) CN106325953A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106953859A (en) * 2017-03-17 2017-07-14 郑州云海信息技术有限公司 A kind of ssl protocol collocation method of WebLogic clusters
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
CN107544829A (en) * 2017-09-11 2018-01-05 郑州云海信息技术有限公司 A kind of automatic deployment method of ElasticSearch clusters
CN107634860A (en) * 2017-10-09 2018-01-26 上海新炬网络信息技术股份有限公司 A kind of weblogic clusters patch batch automatically updating method
CN108021474A (en) * 2017-11-30 2018-05-11 郑州云海信息技术有限公司 It is a kind of based on Weblogic using one-touch rollback and the method for incremental update
CN109977659A (en) * 2019-02-18 2019-07-05 平安科技(深圳)有限公司 Weblogic automatically creates method, system, device and the storage medium of local user
CN110825523A (en) * 2019-11-02 2020-02-21 上海新炬网络信息技术股份有限公司 Method for realizing cluster deployment based on Weblogic load balancing
CN111045695A (en) * 2019-12-15 2020-04-21 北京浪潮数据技术有限公司 WebLogic middleware deployment device, method, equipment and medium
CN111966364A (en) * 2020-07-31 2020-11-20 国网福建省电力有限公司 Weblogic automatic environment building method and system based on docker
CN112468313A (en) * 2020-10-28 2021-03-09 北京思特奇信息技术股份有限公司 WebLogic cluster rapid deployment method and system
CN114024842A (en) * 2021-11-02 2022-02-08 中国建设银行股份有限公司 Weblogic domain building method and device, storage medium and electronic equipment
CN110825523B (en) * 2019-11-02 2024-04-26 上海新炬网络信息技术股份有限公司 Method for realizing cluster deployment based on Weblogic load balancing

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104392305A (en) * 2014-11-11 2015-03-04 国家电网公司 Integrated data platform for full-service management of grid planning, design and consultation

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104392305A (en) * 2014-11-11 2015-03-04 国家电网公司 Integrated data platform for full-service management of grid planning, design and consultation

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
下载编辑: "专家级WebLogic_12c安装使用手册", 《HTTP://WWW.2CTO.COM/EBOOK/201510/61059.HTML#DOWNLOAD》 *

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN106953859B (en) * 2017-03-17 2020-06-26 苏州浪潮智能科技有限公司 SSL protocol configuration method of WebLogic cluster
CN106953859A (en) * 2017-03-17 2017-07-14 郑州云海信息技术有限公司 A kind of ssl protocol collocation method of WebLogic clusters
CN107544829A (en) * 2017-09-11 2018-01-05 郑州云海信息技术有限公司 A kind of automatic deployment method of ElasticSearch clusters
CN107634860A (en) * 2017-10-09 2018-01-26 上海新炬网络信息技术股份有限公司 A kind of weblogic clusters patch batch automatically updating method
CN107634860B (en) * 2017-10-09 2021-05-25 上海新炬网络信息技术股份有限公司 Method for automatically upgrading weblogic cluster patches in batches
CN108021474A (en) * 2017-11-30 2018-05-11 郑州云海信息技术有限公司 It is a kind of based on Weblogic using one-touch rollback and the method for incremental update
CN109977659A (en) * 2019-02-18 2019-07-05 平安科技(深圳)有限公司 Weblogic automatically creates method, system, device and the storage medium of local user
CN110825523A (en) * 2019-11-02 2020-02-21 上海新炬网络信息技术股份有限公司 Method for realizing cluster deployment based on Weblogic load balancing
CN110825523B (en) * 2019-11-02 2024-04-26 上海新炬网络信息技术股份有限公司 Method for realizing cluster deployment based on Weblogic load balancing
CN111045695A (en) * 2019-12-15 2020-04-21 北京浪潮数据技术有限公司 WebLogic middleware deployment device, method, equipment and medium
CN111966364A (en) * 2020-07-31 2020-11-20 国网福建省电力有限公司 Weblogic automatic environment building method and system based on docker
CN112468313A (en) * 2020-10-28 2021-03-09 北京思特奇信息技术股份有限公司 WebLogic cluster rapid deployment method and system
CN112468313B (en) * 2020-10-28 2023-07-07 北京思特奇信息技术股份有限公司 WebLogic cluster rapid deployment method and system
CN114024842A (en) * 2021-11-02 2022-02-08 中国建设银行股份有限公司 Weblogic domain building method and device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN106325953A (en) Weblogic cluster one-key automatic deployment method
CN106325951B (en) It is a kind of to support multiple database, the application system Automation arranging method of more middleware types
US9075536B1 (en) Enhanced software application platform
US8544016B2 (en) Rebuilding a first and second image based on software components having earlier versions for one or more appliances and performing a first and second integration test for each respective image in a runtime environment
US9459856B2 (en) Effective migration and upgrade of virtual machines in cloud environments
JP6329547B2 (en) System and method for providing a service management engine for use in a cloud computing environment
US9848277B2 (en) High-speed application for installation on mobile devices for permitting remote configuration of such mobile devices
US9250672B2 (en) Cloning target machines in a software provisioning environment
US20050262501A1 (en) Software distribution method and system supporting configuration management
CN104657174A (en) Method and device for dynamically realizing application function
CN105656646A (en) Deploying method and device for virtual network element
CN106325954A (en) Oracle and Weblogic combined one-key automatic deployment method
CN113312064B (en) Method and device for installing and configuring physical machine and computer readable medium
CN104113430A (en) Cloud computing data center automatic deployment software framework design
CN104754032A (en) Method and device for deploying OpenStack
US10747650B2 (en) Systems and methods for on-demand container-based development environments
CN102447732A (en) Method for intelligent configuration of host computer embedded environment during BMC (Baseboard Management Controller) development
CN107153571A (en) A kind of dispositions method and device of virtual management node
CN105765533A (en) Method and apparatus for firmware virtualization
US20200379742A1 (en) Validation of configurations of factory installations
CN110928554A (en) Deployment method, device, equipment and storage medium
US11586447B2 (en) Configuration after cluster migration
US9830177B1 (en) Computer implemented method and system, and computer program product, for determining compliance with a configuration parameter before deployment of a virtual appliance into a network appliance
WO2016082450A1 (en) Method for upgrading user terminal, and user terminal
CN109783026A (en) A kind of method and device of automatic configuration server RAID

Legal Events

Date Code Title Description
PB01 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: 20170111

RJ01 Rejection of invention patent application after publication