Đang Thực Hiện

remove / add host to LVS perl scrip

I need a perl script that will look at the IP address of the local machine and then execute command(s) on a _remote host_ that has a shared SSH key and verify that the commands executed successfully before the script continues.

1. Get Localhost IP address (ie. [url removed, login to view])

2. Via SSH Remove host from LVS Pool (lvs pool should be a variable ie. [url removed, login to view])

a. ipvsadm -e -t [url removed, login to view] -r [url removed, login to view] -w 0 (if the command executed successfully then wait 5 minutes)

3. On Localhost stop tomcat, if tomcat does not stop gracefully kill tomcat

4. Verify no Java or Tomcat processes are running

5. Start tomcat

6. Via SSH Add host to LVS Pool (lvs pool is [url removed, login to view])

a. ipvsadm -e -t [url removed, login to view] -r [url removed, login to view] -w 1

Kĩ năng: Linux, Perl, Quản trị hệ thống

Xem nhiều hơn: shared variable, pool host, perl get, java get ip address, Remove, host, remove script, add address, add key, wait system, admin perl, java command, java ssh, perl admin, perl java, execute ssh, perl system admin, perl timeout unreachable host, add facebook need friends, stop wait, java add, script kill perl processes, pool java, execute ssh commands, tomcat host

Về Bên Thuê:
( 0 nhận xét ) Boca Raton, United States

ID dự án: #1716069

Được trao cho:


Good evening, I'm a Unix SysAdmin and PERL Developer. I can do what you need, very quickly. More details in your PMB.

$65 USD trong 2 ngày
(6 Đánh Giá)

6 freelancer đang chào giá trung bình $110 cho công việc này


I can do this for you. See PM for details.

$100 USD trong 2 ngày
(145 Nhận xét)

Hi. I am Linux expert. I have 7 year's experience in Linux. Thanks.

$150 USD trong 3 ngày
(3 Nhận xét)

Hello, I have more than 5 years of professional Linux/UNIX administration experience, including bash and perl scripting. Please check my PM.

$75 USD trong 2 ngày
(3 Nhận xét)

Hi, I'm expirienced linux administrator and worked with LVS, Perl and other tools before, so I'm sure i can complete this task.

$70 USD trong 2 ngày
(1 Nhận xét)

Custom software development - <b><i>Removed by Admin</i></b>

$250 USD trong 1 ngày
(0 Nhận xét)

Hi, i guess shell script would be better on in this scenario.

$100 USD trong 4 ngày
(0 Nhận xét)