티스토리 뷰

프로그래밍/System

JEUS8

DEV LION 2020. 4. 17. 14:47

 

build-real-server-all.sh

#!/bin/bash

./build-real-server-01.sh
./build-real-server-02.sh

 

build-real-server-01.sh 

#!/bin/bash

ant


ssh msfa@ip주소 '/home/msfa/mtsfa-workspace/stop-server.sh'

ssh msfa@ip주소 '/home/msfa/mtsfa-workspace/delete-cash.sh'

scp ./deploy/mtsfa.war msfa@ip주소:/tmax/lemp/war/
scp -r ./deploy/conf/sql/MTSFA/* msfa@ip주소:/tmax/lemp/conf/sql/MTSFA/

ssh msfa@ip주소 '/home/msfa/mtsfa-workspace/start-server.sh'
rm -r ./deploy/

 

build-real-server-02.sh 

#!/bin/bash

ant

ssh msfa@ip주소 '/home/msfa/mtsfa-workspace/stop-server.sh'

ssh msfa@ip주소 '/home/msfa/mtsfa-workspace/delete-cash.sh'

scp ./deploy/mtsfa.war msfa@ip주소:/tmax/lemp/war/
scp -r ./deploy/conf/sql/MTSFA/* msfa@ip주소:/tmax/lemp/conf/sql/MTSFA/

ssh msfa@ip주소 '/home/msfa/mtsfa-workspace/start-server.sh'
rm -r ./deploy/

 

stop-server.sh

#!/bin/bash


/tmax/jeus8/bin/jeusadmin -host LCSSFAAP01:10000 -u administrator -p password "stopserver sfa2_mt01 -to 120"

 

delete-cash.sh

#!/bin/bash

rm -r /tmax/jeus8/domains/msfa_domain/.downloaded/.applications/sta2_mt02
rm -r /tmax/jeus8/domains/msfa_domain/servers/sfa2_mt02
rm /tmax/lemp/war/mtsfa.war

 

start-server.sh

#!/bin/bash


/tmax/jeus8/bin/jeusadmin -host LCSSFAAP01:10000 -u administrator -p password "startserver sfa2_mt01"

 

반응형
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/12   »
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31
글 보관함