Hyperic HQ 4.1.2 on Mac OS X 10.5.7 Installation Task

来源:互联网 发布:免费网络代理服务器 编辑:程序博客网 时间:2024/06/06 06:32

今天在mac os x 10.5.7上部署了一个监控系统,类似ibm tivoli monitering 以及itcam。以下是安装过程

jaminwmdemacbook:hyperic-hq-installer jianmingxu$ ./setup.sh
Initializing Hyperic HQ 4.1.2 Installation...
Loading taskdefs...
Taskdefs loaded
Choose which software to install:
1: Hyperic HQ Server
2: Hyperic HQ Agent
You may enter multiple choices, separated by commas.
HQ server installation path [default '/home/hyperic']:
/home/hyperic
server.installdir does not exist: /home/hyperic
HQ server installation path [default '/home/hyperic']:
/Applications/hyperic
Enter the fully qualified domain name of the SMTP server that HQ will use to send email messages [default 'jaminwmdemacbook.local']:

Loading install configuration...
Install configuration loaded.
Preparing to install...
Validating server install configuration...
Checking server webapp port...
Checking server secure webapp port...
Checking server JRMP port...
Checking server JNP port...
Verifying admin user properties
Validating server DB configuration...
Installing the server...
Unpacking server to: /Applications/hyperic/server-4.1.2...
Creating server configuration files...
Copying binaries and libraries to server installation...
Copying server configuration file...
Copying server control file...
Copying server binaries...
Copying server libs...
Setting up server database...
Setting up JDBC driver...
Copying database files...
Configuring database...
Starting repopulation of configuration table...
Waiting for built-in database to start (on port 9432)...
Starting built-in database...
Preparing database...
Waiting for server to stop...
Stopping built-in database...
Built-in database stopped.
Setting permissions on server binaries...
Fixing line endings on text files...
--------------------------------------------------------------------------------
Installation Complete:
  Server successfully installed to: /Applications/hyperic/server-4.1.2
--------------------------------------------------------------------------------


 You can now start your HQ server by running this command:

  /Applications/hyperic/server-4.1.2/bin/hq-server.sh start

 Note that the first time the HQ server starts up it may take several minutes
 to initialize.  Subsequent startups will be much faster.

 Once the HQ server reports that it has successfully started, you can log in
 to your HQ server at:

  http://jaminwmdemacbook.local:7080/
  username: hqadmin
  password: hqadmin

 To change your password, log in to the HQ server, click the "Administration"
 link, choose "List Users", then click on the "hqadmin" user.


Setup completed.
A copy of the output shown above has been saved to:
  /Users/jianmingxu/Desktop/hyperic-hq-installer/installer-4.1.2/./hq-install.log

jaminwmdemacbook:hyperic-hq-installer jianmingxu$


jaminwmdemacbook:bin jianmingxu$ pwd
/Applications/hyperic/server-4.1.2/bin
jaminwmdemacbook:bin jianmingxu$ hq-server.sh start
-bash: hq-server.sh: command not found
jaminwmdemacbook:bin jianmingxu$ ls -al
total 184
drwxr-xr-x   2 jianmingxu  admin    510  6 10 22:03 .
drwxr-xr-x  10 jianmingxu  admin    374  6 10 22:03 ..
-rwxr-xr-x   1 jianmingxu  admin   8837  6 10 22:03 ant
-rwxr-xr-x   1 jianmingxu  admin   4217  6 10 22:03 ant.bat
-rwxr-xr-x   1 jianmingxu  admin   2687  6 10 22:03 ant.cmd
-rwxr-xr-x   1 jianmingxu  admin   3263  6 10 22:03 antenv.cmd
-rwxr-xr-x   1 jianmingxu  admin    577  6 10 22:03 db-archive.sh
-rwxr-xr-x   1 jianmingxu  admin    221  6 10 22:03 db-createdb.sh
-rwxr-xr-x   1 jianmingxu  admin    219  6 10 22:03 db-dropdb.sh
-rwxr-xr-x   1 jianmingxu  admin    222  6 10 22:03 db-psql.sh
-rwxr-xr-x   1 jianmingxu  admin    478  6 10 22:03 db-start.sh
-rwxr-xr-x   1 jianmingxu  admin    239  6 10 22:03 db-stop.sh
-rwxr-xr-x   1 jianmingxu  admin  24576  5  7 06:47 hq-server.exe
-rwxr-xr-x   1 jianmingxu  admin  10204  5  7 06:47 hq-server.sh
-rwxr-xr-x   1 jianmingxu  admin    327  5  7 06:47 hq-threaddump.sh
jaminwmdemacbook:bin jianmingxu$ ./hq-server.sh
Usage: ./hq-server.sh {start|stop}
jaminwmdemacbook:bin jianmingxu$ ./hq-server.sh start
Starting HQ server...
Initializing HQ server configuration...
Checking jboss jndi port...
Checking jboss mbean port...
Starting HQ built-in database...
HQ built-in database started.
Booting the HQ server (Using JAVA_OPTS=-XX:MaxPermSize=192m -Xmx512m -Xms512m)...
HQ server booted.
Login to HQ at: http://127.0.0.1:7080/
jaminwmdemacbook:bin jianmingxu$

jaminwmdemacbook:hyperic-hq-installer jianmingxu$ ./setup.sh
Initializing Hyperic HQ 4.1.2 Installation...
Loading taskdefs...
Taskdefs loaded
Choose which software to install:
1: Hyperic HQ Server
2: Hyperic HQ Agent
You may enter multiple choices, separated by commas.
2
HQ agent installation path [default '/home/hyperic']:
/Applications/hypericAgent
agent.installdir does not exist: /Applications/hypericAgent
HQ agent installation path [default '/home/hyperic']:
/Applications/hyperic
Loading install configuration...
Install configuration loaded.
Preparing to install...
Validating agent install configuration...
Installing the agent...
Looking for previous installation
Unpacking agent to: /Applications/hyperic/agent-4.1.2...
Setting permissions on agent binaries...
Fixing line endings on text files...
--------------------------------------------------------------------------------
Installation Complete:
  Agent successfully installed to: /Applications/hyperic/agent-4.1.2
--------------------------------------------------------------------------------

 You can now start your HQ agent by running this command:

  /Applications/hyperic/agent-4.1.2/bin/hq-agent.sh start


Setup completed.
A copy of the output shown above has been saved to:
  /Users/jianmingxu/Desktop/hyperic-hq-installer/installer-4.1.2/./hq-install.log

jaminwmdemacbook:hyperic-hq-installer jianmingxu$
jaminwmdemacbook:Applications jianmingxu$ pwd
/Applications
jaminwmdemacbook:Applications jianmingxu$ cd hyperic/
lsjaminwmdemacbook:hyperic jianmingxu$ ls
agent-4.1.2    server-4.1.2
jaminwmdemacbook:hyperic jianmingxu$ cd agent-4.1.2/
jaminwmdemacbook:agent-4.1.2 jianmingxu$ cd bin
jaminwmdemacbook:bin jianmingxu$ ./hq-agent.sh start
-n Starting HQ Agent...

- Unable to load agent token file.  Generating a new one ... Done
[ Running agent setup ]
What is the HQ server IP address: 127.0.0.1
Should Agent communications to HQ always be secure [default=no]: no
What is the HQ server port     [default=7080]: 7080
- Testing insecure connection ... Success
What is your HQ login [default=hqadmin]: hqadmin
What is your HQ password:
What IP should HQ use to contact the agent [default=192.168.1.120]: 192.168.1.120
What port should HQ use to contact the agent [default=2144]: 2144
- Received temporary auth token from agent
- Registering agent with HQ
- HQ gave us the following agent token
    1244643344990-7574237227885028630-8716539742061968876
- Informing agent of new HQ server
- Validating
- Successfully setup agent
jaminwmdemacbook:bin jianmingxu$

jaminwmdemacbook:bin jianmingxu$ ./hq-agent.sh stop
Stopping HQ Agent...
Stopped HQ Agent.
jaminwmdemacbook:bin jianmingxu$ cd ..
jaminwmdemacbook:agent-4.1.2 jianmingxu$ cd ..
jaminwmdemacbook:hyperic jianmingxu$ cd server-4.1.2/
jaminwmdemacbook:server-4.1.2 jianmingxu$ cd bin
jaminwmdemacbook:bin jianmingxu$ ./hq-server.sh stop
Stopping HQ server...
HQ server PID 3116 exited
Stopping HQ built-in database...
server stopped
HQ server is stopped.
jaminwmdemacbook:bin jianmingxu$

以下是hq的几个特点:比ibm tivoli monitering要简单些,我使用的是开源版本

Hyperic HQ自动发现所有软件和硬件的Asset Inventory

  • 正确地模拟和显示硬件,软件和服务的关系
  • Hyperic HQ自动侦测硬件和软件的每一个侧面,包括内存,CPU,磁盘,网络设备,版本和配置信息
  • Hyperic HQ对配置或者被控制资源的关键属性的任何变化而产生事件,用来向IT管理员报警
  • Hyperic HQ通过一个单独的,易于操纵的视图检查硬件和软件资源的健康情况
    

Hyperic HQ监测基础设施的每一层

  • Hyperic HQ不通过侵入的方式,从基础设施中生产的硬件、网络和应用等层中搜集实时的和历史上的数据
  • Hyperic HQ定义智能警报帮助在问题造成损失之前,能够预见问题
  • Hyperic HQ通过定制的指示视图比较和关联不同资源的度量值,帮助你理解他们之间的相互作用关系
  • Hyperic HQ用单一的视图将资源和资源组关键的度量值显示出来,可以快速地评估环境的状态
    

Hyperic HQ跟踪所有日志,配置,安全事件数据

  • 报告由所有被管理资源产生日志事件的实时和历史的详细信息
  • 跟踪所有主机或应用的配置,帮助分析影响和控制变化
  • 加强安全策略,侦测和记录物理的或远程的对环境中任何主机的访问
  • 在环境中的任何地方,可以定义警报去跟踪详细的日志消息
  • Hyperic HQ可以将任何日志事件,配置改变或安全事件与计算环境的可用性相关联
    

Hyperic HQ通过报警和纠正的控制行动等方式管理可用性

  • Hyperic HQ可以定义任意简单或精细的条件产生警报
  • Hyperic HQ可以覆盖从操作系统的故障到服务层的响应时间等所有技术范围
  • Hyperic HQ对于发生在你环境中的所有日志,配置和安全事件等定义警报
  • Hyperic HQ根据需要,可以在设备上执行生产级的控制活动
  • 串行或者并行的地控制资源组合
  • 不必编写代码,就可以将定制的控制脚本集成到HQ
    

Hyperic HQ扩展和定制,最优地管理你特有的环境需求

  • 使用拖拽portlets设置你的操作仪表板,并很容易使用配置控制
  • 创建组,帮助管理和测量大环境的健康
  • Hyperic HQ通过定义应用的方式进行管理,可以将特定应用所涉及到的特定硬件,软件和服务等作为一个整体进行管理
  • 扩展 Hyperic HQ强大的管理portal.可以通过易于描述的XML或任何语言与Hyperic PDK相配合,扩展到管理所有的软件和硬件设备
原创粉丝点击