执行场景检查结果:
[gbase@gbase8c ~]$ gs_check -e inspect
Parsing the check items config file successfully
The below items require root privileges to execute:[CheckBlockdev
CheckIOrequestqueue CheckIOConfigure CheckMTU CheckRXTX CheckMultiQueue
CheckFirewall CheckSshdService CheckSshdConfig CheckCrondService
CheckMaxProcMemory CheckBootItems CheckFilehandle CheckNICModel
CheckDropCache]
Please enter root privileges user[root]:root
Please enter password for user[root]:
Check root password connection successfully
Distribute the context file to remote hosts successfully
Start to health check for the cluster. Total Items:57 Nodes:1
Checking...
[=========================] 57/57
Start to analysis the check result
CheckClusterState...........................OK
The item run on 1 nodes.
success: 1
CheckDBParams...............................OK
The item run on 1 nodes.
success: 1
GBase 8c 管理员指南
南大通用数据技术股份有限公司
20
CheckDebugSwitch............................OK
The item run on 1 nodes.
success: 1
CheckDirPermissions.........................NG
The item run on 1 nodes.
ng: 1
The ng[gbase8c_5_124] value:
AppPath directory(/home/gbase/gbase_db/app) permissions 700
: Normal
Tmp directory(/home/gbase/gbase_db/tmp) permissions 700
: Normal
Log directory(/home/gbase/gbase_db/log) permissions 700
: Normal
ToolPath directory(/home/gbase/gbase_db/om) permissions 775
:
Abnormal reason: Directory permission can not exceed 750.
DN directory(/home/gbase/data/dn1/dn1_1) permissions 700
: Normal
DN Xlog directory(/home/gbase/data/dn1/dn1_1/pg_xlog) permissions 700 : Normal
CheckReadonlyMode...........................OK
The item run on 1 nodes.
success: 1
CheckEnvProfile.............................OK
The item run on 1 nodes.
success: 1
(consistent)
The success on all nodes value:
GAUSSHOME
/home/gbase/gbase_db/app
LD_LIBRARY_PATH
/home/gbase/gbase_db/app/lib
PATH
/home/gbase/gbase_db/app/bin
CheckBlockdev...............................OK
The item run on 1 nodes.
success: 1
CheckCurConnCount...........................OK
The item run on 1 nodes.
success: 1
CheckCursorNum..............................OK
The item run on 1 nodes.
success: 1
CheckPgxcgroup..............................OK
The item run on 1 nodes.
success: 1
CheckDiskFormat.............................OK
The item run on 1 nodes.
success: 1
GBase 8c 管理员指南
南大通用数据技术股份有限公司
21
CheckSpaceUsage.............................OK
The item run on 1 nodes.
success: 1
CheckInodeUsage.............................OK
The item run on 1 nodes.
success: 1
CheckSwapMemory.............................NG
The item run on 1 nodes.
ng: 1
The ng[gbase8c_5_124] value:
SwapMemory(8455712768) must be 0.
MemTotal: 8201502720.
CheckLogicalBlock...........................OK
The item run on 1 nodes.
success: 1
CheckIOrequestqueue.........................OK
The item run on 1 nodes.
success: 1
CheckMaxAsyIOrequests...................WARNING
The item run on 1 nodes.
warning: 1
The warning[gbase8c_5_124] value:
Asy IO requests 65536
expectedScheduler 104857600.
CheckIOConfigure............................OK
The item run on 1 nodes.
success: 1
CheckMTU....................................OK
The item run on 1 nodes.
success: 1
(consistent)
The success on all nodes value:
1500
CheckPing...................................OK
The item run on 1 nodes.
success: 1
CheckRXTX...................................OK
The item run on 1 nodes.
success: 1
CheckNetWorkDrop............................OK
The item run on 1 nodes.
success: 1
GBase 8c 管理员指南
南大通用数据技术股份有限公司
22
CheckMultiQueue..........................ERROR
The item run on 1 nodes.
error: 1
The error[gbase8c_5_124] value:
string indices must be integers
CheckEncoding...............................OK
The item run on 1 nodes.
success: 1
(consistent)
The success on all nodes value:
LANG=en_US.UTF-8
CheckFirewall...............................OK
The item run on 1 nodes.
success: 1
CheckKernelVer..............................OK
The item run on 1 nodes.
success: 1
(consistent)
The success on all nodes value: