Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qa-deploy-utils
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QA
qa-deploy-utils
Commits
20480363
Commit
20480363
authored
Jan 09, 2017
by
QA-甘 盛聪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
b0043155
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
java_start.sh
sh-utils/worker/java_start.sh
+2
-2
other_restart.sh
sh-utils/worker/other_restart.sh
+2
-2
No files found.
sh-utils/worker/java_start.sh
View file @
20480363
...
@@ -5,7 +5,7 @@ worker_host=$2
...
@@ -5,7 +5,7 @@ worker_host=$2
re_load_config
=
$3
re_load_config
=
$3
use_public_ip
=
$4
use_public_ip
=
$4
public_ip
=
"139.198.2.95"
public_ip
=
"139.198.2.95"
basic_no
=
"3"
#
basic_no="3"
echo
"java_start parameter: module_name:
${
module_name
}
, worker_host:
${
worker_host
}
, re_load_config:
${
re_load_config
}
, use_public_ip:
${
use_public_ip
}
"
echo
"java_start parameter: module_name:
${
module_name
}
, worker_host:
${
worker_host
}
, re_load_config:
${
re_load_config
}
, use_public_ip:
${
use_public_ip
}
"
...
@@ -13,7 +13,7 @@ echo "cd /home/quant_group/${module_name}/"
...
@@ -13,7 +13,7 @@ echo "cd /home/quant_group/${module_name}/"
cd
/home/quant_group/
${
module_name
}
/
cd
/home/quant_group/
${
module_name
}
/
if
[[
"
${
re_load_config
}
"
=
true
]]
;
then
if
[[
"
${
re_load_config
}
"
=
true
]]
;
then
web_no
=
$((${
worker_host
:10
}))
web_no
=
$((${
worker_host
:10
}))
#
basic_no=$((${worker_host:10}))
basic_no
=
$((${
worker_host
:10
}))
mysql_no
=
$((${
worker_host
:10
}))
mysql_no
=
$((${
worker_host
:10
}))
echo
"java_start Run
${
module_name
}
start.sh on
${
worker_host
}
, basic_no is
${
basic_no
}
, mysql_no is
${
mysql_no
}
"
echo
"java_start Run
${
module_name
}
start.sh on
${
worker_host
}
, basic_no is
${
basic_no
}
, mysql_no is
${
mysql_no
}
"
...
...
sh-utils/worker/other_restart.sh
View file @
20480363
...
@@ -3,13 +3,13 @@ source ~/.bash_profile
...
@@ -3,13 +3,13 @@ source ~/.bash_profile
module_name
=
$1
module_name
=
$1
worker_host
=
$2
worker_host
=
$2
re_load_config
=
$3
re_load_config
=
$3
basic_no
=
"3"
#
basic_no="3"
echo
"[params] module_name:
$1
, worker_host:
$2
, re_load_config:
$3
"
echo
"[params] module_name:
$1
, worker_host:
$2
, re_load_config:
$3
"
utils_path
=
"/home/quant_group/qa-deploy-utils"
utils_path
=
"/home/quant_group/qa-deploy-utils"
#
basic_no=$((${worker_host:10}))
basic_no
=
$((${
worker_host
:10
}))
mysql_no
=
$((${
worker_host
:10
}))
mysql_no
=
$((${
worker_host
:10
}))
mkdir
-p
/home/quant_group/remote_backup/
${
module_name
}
mkdir
-p
/home/quant_group/remote_backup/
${
module_name
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment