[World War WebSphere] was auto-deployment script (for WEBTOP)

Source: Internet
Author: User
Tags myadmin

Original script/description see http://www.ibm.com/developerworks/websphere/library/samples/SampleScripts.html

My upload http://download.csdn.net/detail/haha7/4306698.

Environment

Os:linux

Script Lang:jacl (uh ....) I know it's not recommended.)

Application:webtop.war


Attention

can only run on Linux, because only the sh file is written

Target server must be in the cluster (currently only tested for Appservers connected to Networkdeployment Deploymentmanager)

only a secrity server was tested, the cluster version was difficult to get, and the existing environment was not changed (seemingly 6.1.0.41 to secrity serverfrom a non-secrity server ). Visual secrity should look like this .

"$WAS _root/bin/wsadmin.sh"-username myadmin-password myadmin-f "$script" Install-pilot false "$configDir" $distDi R

Localized customization

The war/ear package location of the original script is fixed and I add the following code to specify the location

Read-r distdirtemp? " Please enter the deployable path: "
Distdir= ' echo $distDirTemp |tr-s '

Instructions for use

The following documents need to be modified to suit their own environment

webtop_war-pilot.settings

Change the parameters of the enterprise applications. (Applicationname,modulename, etc.)

webtop_war-pilot.targets

Change the parameters of the enterprise Applications target server. (NodeName, ServerName, clustername)

webtop_war-pilot.scripts

Change the target server JVM settings. (Nodename,servername)

deploy.sh

Change Was_root

Change the expected action. For example, do not want to enterprise applications install/update completed after being uninstalled, note/delete

Echo Fourth Uninstall ...
"$WAS _root/bin/wsadmin.sh"-F "$script" Uninstall-pilot true "$configDir" $distDir "



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.