Requirement: write a Linux script
There is an .ear file which connects to multiple legacy systems based on ip/name and port no. We can deploy multiple instances of same .ear with manual modification to allow to start N no. of test instances. Need is to automate this process.
1. ask user to provide :
(a) Enter Test Region Name : Example abctestsystem
(b) Enter Port No: Example 9999
2. ask user if wants to check-out source code from repository (yes/no)
if yes : check-out latest code from svn repository from a defined path into /app/test/pj/01 directory
else if no : use the code already available under /app/test/pj/01 directory
3. make changes as required : few examples mentioned below
- update test_region_name in [login to view URL]
- update port_no. in config,properties
---- similarly, there are some such small changes we may need in java and properties files to avoid duplicate instance error while we deploy multiple ears on same jboss server. This to be taken care via script.
4. run maven install to create .ear file giving the absolute path to [login to view URL]
5. copy the ear file from /target and paste into another directory /app/test/pj/02 and rename
Example : if ear is create as [login to view URL] then rename to [login to view URL]
6. later we will add code to auto deploy newly create .ear on jboss i.e unmanaged deployment.
Thanks
Lz
Professional in Maven
I can create a simple [login to view URL] to create a .ear file out of your java project.
and can write this simple Linux Script for the user interface.
$30 USD w 1 dzień
5,0 (4 opinii)
1,5
1,5
11 freelancerzy składają oferty o średniej wysokości $26 USD dla tej pracy
Hey there,
Your project appears to be an engaging project and I've got exceptional linux skills to make this project a success.
Please checkout my profile and you will see lots of Linux system administration related projects that I've completed with great reviews from clients. I've close to 200 projects completed here, and I'm well versed in Linux System Administration and top 5% of Linux expert here.
Please feel free to ask if you've any questions, I'm pretty sure it will be wonderful experience working with you.
Thank you
Hi User,
I have worked on linux for past 5 years and worked on deployment and automation of various projects using automation tools , perl , ruby and shell scripting.
hi. Im a embedded systems engineer working at NXP semiconductors. I have several years experience working with Linux and bash scripting. I can do what you need in a day or two. Id like to talk to you about the details. regards