MCCS for Linux 점검 유틸리티 (v.1.0.5)

mCHECKER – ManTech MCCS Health Check Utility
===================================================

📌INTRO
——-
mCHECKER is a tool to check the status of MCCS.

* Version available
MCCS : 4.4.0 ~ 4.4.7

* How to use
!!! When running the utility in MCCS 4.4.6 and earlier versions, the CPU load will temporarily go up.
[Linux] excute command : sh mccs_mchecker_<version>.sh or ./mccs_mchecker_<version>.sh

* Result status
[OK] : All states are normal.
[check!] : Need to check the status of each item. If you have any problems, please call the Mantech Service Center(1833-7790)

📌INSTALLATION
——-
[Linux]
filename : mccs_mchecker_<version>.sh
Copy the file to an arbitrary directory. The recommended directory is the “bin” directory inside the directory where MCCS is installed, by default it is “/opt/MCCS/bin”
After this, execute permission to run the utility.
$ cp -a mccs_mchecker_<version>.sh /opt/MCCS/bin
$ chmod u+x mccs_mchecker_<version>.sh

📌EXAMPLES IN ACTION
——-
[Linux]
Move to the directory where the file is located and enter the following command.
$ sh mccs_mchecker_<version>.sh

1. first screen : Enter the Admin account password of the installed MCCS. If using the default password, press enter.
__ __ _ _ _ _____ ___ ___ _ _ __ __ ___ ___ ___
| \/ | /_\ | \| |_ _| __/ __| || | | \/ |/ __/ __/ __|
| |\/| |/ _ \| .` | | | | _| (__| __ | | |\/| | (_| (__\__ \
|_| |_/_/ \_\_|\_| |_| |___\___|_||_| |_| |_|\___\___|___/
—————————————————— v1.0.x
Enter MCCS Admin Password [default Enter]:


2. second screen: Automatically collect 4 steps of MCCS information.
__ __ _ _ _ _____ ___ ___ _ _ __ __ ___ ___ ___
| \/ | /_\ | \| |_ _| __/ __| || | | \/ |/ __/ __/ __|
| |\/| |/ _ \| .` | | | | _| (__| __ | | |\/| | (_| (__\__ \
|_| |_/_/ \_\_|\_| |_| |___\___|_||_| |_| |_|\___\___|___/
—————————————————— v1.0.x
=== Gathering information ===================================
[1/4] Gathering Resource Group information ——— / [DONE]
[2/4] Gathering Resource information ————— / [DONE]
[3/4] Gathering Node information ——————- / [DONE]
[4/4] Gathering Parallel Resource information —— / [DONE]


3. third screen : Printed the collected results.
__ __ _ _ _ _____ ___ ___ _ _ __ __ ___ ___ ___
| \/ | /_\ | \| |_ _| __/ __| || | | \/ |/ __/ __/ __|
| |\/| |/ _ \| .` | | | | _| (__| __ | | |\/| | (_| (__\__ \
|_| |_/_/ \_\_|\_| |_| |___\___|_||_| |_| |_|\___\___|___/
—————————————————— v1.0.x
|== REPORT =================================================|
|———————————————————–|
| HOSTNAME : <server hostanme> |
| MCCS Version : <mccs version> |
| MCCS Health check date : <excute time> |
|———————————————————–|
| Category | Status List | Result |
|———————————————————–|
| NODE | NodeState | OK |
| |—————————-|
| | PrimaryHB1Status | OK |
| |—————————-|
| | PrimaryHB2Status | OK |
| |—————————-|
| | SecondaryHB | OK |
|———————————————————–|
| Resource Group | RGState | OK |
| \_<Resource name> |—————————-|
| \_Online: <hostname> | LockState | OK |
| |—————————-|
| | TLockState | OK |
|———————————————————–|
| DRBD Mirror | RoleState | OK |
| \_<Resource name> |—————————-|
| \_Primary: <hostname> | ConnectState | OK |
| |—————————-|
| | DiskState | OK |
|———————————————————–|
| If you have any problems, please call the number below. |
| Mantech Service Center : 1833-7790 |
|———————————————————–|
| file: /opt/MCCS/logs/<hostname>_report_<excute time>.txt |
|———————————————————–|

4. The report is saved in /opt/MCCS/logs/<hostname>_report_<excute time>.txt

📌REQUIREMENTS
——-
* The utility has been verified with MCCS 4.4.0 and later versions.
* It is recommended to run under super user(root) account or an account with MCCS execution rights.

📌RELEASE NOTE
——-
* 1.0.3 : support MCCS 4.4.7 More than version
* 1.0.2 : Added report outline format, added MCCS startup precheck
* 1.0.1 : Add Report Outline, Add Resource Parallel Check, Add Account Password Input Screen
* 1.0.0 : MCCS Simple check function

📢KNOWN ISSUE
——-
* When running the utility in MCCS 4.4.6 and earlier versions, the CPU load will temporarily go up.