Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
orchard
/
CSCS
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
0d20eb19
authored
Nov 08, 2018
by
jajapi
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
fixed kpf_local_check.sh
parent
ae323133
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
GuestPM/kpf_local/kpf_local_check.sh
GuestPM/kpf_local/kpf_local_check.sh
View file @
0d20eb19
...
...
@@ -60,9 +60,9 @@ function DMESG_CHECK()
UXEN_MAIN_VERSION
=
0
function
KPF_VERSION_CHECK
()
function
KPF_
LOCAL_
VERSION_CHECK
()
{
UXEN_MAIN_VERSION
=
`
cat
/home/orchard/uxen
_new
/docs/VERSION
`
UXEN_MAIN_VERSION
=
`
cat
/home/orchard/uxen/docs/VERSION
`
}
# xl info 명령에서 메모리 정보를 가져오는 함수
...
...
@@ -224,11 +224,11 @@ function GET_SYSTEM_LOG()
REFINE_AUTH_LOG
}
function
KPF_UXEN_LOG
()
function
KPF_
LOCAL_
UXEN_LOG
()
{
SECOND_UXEN2_API_LOG
=
/
var/www
/uxen/var/log/uxenapi.log
*
SECOND_GUNICORN_LOG
=
/
var/www
/uxen/var/log/gunicorn-uxen-error.log
SECOND_UXEN2_API_LOG
=
/
home/orchard
/uxen/var/log/uxenapi.log
*
SECOND_GUNICORN_LOG
=
/
home/orchard
/uxen/var/log/gunicorn-uxen-error.log
ENTIRE_UXEN2_API_LOG
=
/tmp/entire_uxenapi.log
# ENTIRE_UXEN2_API_LOG와 ENTIRE_UXEN3_API_LOG의 경로는 같지만 직관적으로 이해하기 쉽도록 변수를 별도로 선언함
REFINED_UXEN2_API_LOG
=
/tmp/refined_uxenapi.log
# REFINED_UXEN2_API_LOG와 REFINED_UXEN3_API_LOG의 경로는 같지만 직관적으로 이해하기 쉽도록 변수를 별도로 선언함
...
...
@@ -270,7 +270,7 @@ function KPF_UXEN_LOG()
function
GET_UXEN_LOG
()
{
KPF_UXEN_LOG
# REFINE_UXEN_LOG 함수에서 UXEN_MAIN_VERSION 변수를 사용함.
KPF_
LOCAL_
UXEN_LOG
# REFINE_UXEN_LOG 함수에서 UXEN_MAIN_VERSION 변수를 사용함.
}
...
...
@@ -300,7 +300,7 @@ function MAIN()
KPF_CHECK_PROCESS
KPF_RUN_DSTAT
GET_VM_LIST
KPF_VERSION_CHECK
KPF_
LOCAL_
VERSION_CHECK
GET_XL_INFO
VCPUS_RATIO_CHECK
CHECK_BONDING
...
...
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