|
Home > Product >
KSM >
Installation
Requirement: KSM is an UNIX tool written in C. To install KSM, you should have CURL support first. libcurl (v7.12.x above) should be installed before compiling KSM. If the installed libcul is below v7.12.x, the compilation of KSM fails. The installation is very simple. Download KSM tarball and execute: ~> tar xfz ksm.tgz ~/ksm/> cd ksm ~/ksm/> gcc -o ksm ksm.c -lcurl If everything goes smoothly, you get a executable binary file 'ksm'. Now, you can copy the file 'ksm' and 'ksm.conf' to preferred directory, for example '/usr/local/ksm'. To start KSM, you should specify where the configure file is. If not supplied, it shows: ~/ksm/> ./ksm KAAS Server Monitor VX.X (C)Copyright by Patrick (http://www.saintus.com) Usage: ./ksm config_file ~/ksm/> KSM dumps its confuration immediately after successfuly started. You should configure 'ksm.conf' before startup. ~/ksm/> ./ksm ksm.conf KAAS Server Monitor VX.X (C)Copyright by Patrick (http://www.saintus.com) ALOHA_URL=http://127.0.0.1/index.html ALOHA_CMD= ALOHA_CHECK_TRUE= ALOHA_CHECK_FALSE= ALOHA_CHECK_DEFAULT=0 KAAS_START_CMD= KAAS_START_FORK=YES CLIENT_GRACEFUL=0 seconds KAAS_REPORT_FILE= KAAS_REPORT_CMD= KAAS_REPORT_DELAY=0 seconds FAIL_NOTIFY_CMD= FAIL_NOTIFY_EMAIL= FAIL_EMAIL_TITLE=KSM Failure detected FAIL_NOTIFY_URL= PERSISTANT_NOTIFY=NO LOG_FILE= USE_SYSLOG=YES MAX_RETRY=1 SCAN_INTERVAL=5 seconds VERBOSE=NO |