Bomi
分类: 系统运维
2012-02-05 00:54:13
1.记录性能问题:如何使用 dimSTAT 检测数据中心,在出现性能问题时能掌握情况
dimSTAT 是一个免费的监控工具,可以在您离开的情况下监控整个数据中心。
dimSTAT 是一个可以进行常规和/或详细性能分析的工具,还可以监控 Solaris 和 Linux 系统。dimSTAT 是一个可提供飞行记录器类型功能的监控框架。中心站点可以监控许多性能数据节点,并能存储结果以便轻松展示和后期处理。
可以从以下网址下载该软件和相关文档:
dimSTAT - 安装
Code Camp DVD 映像用户可以跳过此部分。已经安装了该软件!
dimSTAT 的安装简单明了。获取最新的版本文件,然后将其解压到您选择的目录:
cd /tmp
tar -xvf
然后使用 /bin/sh 运行 INSTALL.sh,并跟随以下指示:
root@soldevx> sh INSTALL.sh
===========================================
** Starting dim_STAT Server INSTALLATION **
===========================================
HOSTNAME:soldevx
IP:::1
DOMAINE:
Is it correct?(y/n):n
** Hostname [soldevx]:localhost
** IP addres [::1]:
** Domainname []:
** Domainname []:** Domainname []:
** Domainname []:.
**
** ATTENTION!
**
** On your host You have to assign a USER/GROUP pair as owner
** of all dim_STAT modules (default:dim/dim)
User:dim
Group:dim
Is it correct?(y/n):y
**
** WARNING!!!
**
** User dim (group dim) is not created on your host...
** You may do it now by yourself or let me do it during
** installation...
**
May I create this USER/GROUP on your host?(y/n):y
======================================
** dim_STAT Directory Configuration **
======================================
** WebX root directory (5MB):
=> /WebX
=> /opt/WebX
=> /etc/WebX
[/opt/WebX]:
** HOME directory for dim_STAT staff [/apps]:/export/home/dimstat
** TEMP directory :/opt/WebX
=> HOME directory :/export/home/dimstat
=> TEMP directory :/tmp
=> HTTP Server Port :80
=> DataBase Server Port :3306
=> Default STAT-service Port :5000
Is it correct?(y/n):y
** WARNING!!!
** ALL DATA WILL BE DELETED IN:/export/home/dimstat/* !!!
** AS WELL /WebX, /etc/WebX, /opt/WebX !!!
Is it correct?(y/n):y
** Cleanup /export/home/dimstat
** Add User...
** WebX Setup...
** dim_STAT Server extract...
** HTTP Server Setup...
** Database Server Setup...
** ADMIN/Tools Setup...
** TEMP directory...
** Permissions...
** Crontab Setup...
Sun Microsystems Inc. SunOS 5.11 snv_79a January 2008
Warning - Invalid account:'dim' not allowed to execute cronjobs
**
** INSTALLATION is finished!!!
**
May I create now a dim_STAT-Server start/stop script. in /etc/rc*.d?(y/n):y
** ===================================================================
**
** You can start dim_STAT-Server now from /export/home/dimstat/ADMIN:
**
** # cd /export/home/dimstat/ADMIN
** # ./dim_STAT-Server start
**
** and access homepage via Web browser -
**
** To collect stats from any Solaris-SPARC/x86 or Linux-x86 machines
** just install & start on them [STAT-service] package...
**
** Enjoy!;-)
**
** -Dimitri
** ===================================================================
root@soldevx>
安装完成后,请继续在您选择的节点上安装 STAT 服务:
cd dimSTAT
pkgadd -d dimSTAT-Solx86.pkg
注意:dimSTAT STAT 服务需要安装在您希望监控并记录性能数据的所有节点上。
[ 本帖最后由 云杉上的蝴蝶 于 2008-6-10 20:44 编辑 ]