ITPub博客

首页 > 应用开发 > IT综合 > Omnibus系列之 创建ObjectServer并配置

Omnibus系列之 创建ObjectServer并配置

原创 IT综合 作者:liuzhen_basis 时间:2015-05-03 18:32:57 0 删除 编辑

 前面博客里已经安装好了 Object Server、Probe、还有gateway组件,接下来进行配置,使各组件运行起来。

首先创建Object server DB,linux和windows版本的操作系统创建的方法如下

    clip_image001

     

    创建object server DB,执行以下命令 NCOMS是系统默认的server名字

    [root@Omnibus bin]# ./nco_dbinit -server NCOMS

    2015-05-03T02:18:14: Information: I-MEM-003-001: Creating '/opt/IBM/tivoli/netcool/omnibus/db/NCOMS/'

    2015-05-03T02:18:14: Information: I-MEM-003-004: Using lock to chain ratio of '32'.

    2015-05-03T02:18:14: Information: I-STO-104-006: Creating internal database persist

    2015-05-03T02:18:14: Information: I-STO-104-015: Creating table persist.restrictions

    2015-05-03T02:18:14: Information: I-STO-104-015: Creating table catalog.connections

    2015-05-03T02:18:14: Information: I-STO-104-015: Creating table catalog.properties

    2015-05-03T02:18:14: Information: I-STO-104-015: Creating table catalog.profiles

    2015-05-03T02:18:14: Information: I-STO-104-015: Creating table catalog.restrictions

    2015-05-03T02:18:14: Information: I-STO-104-015: Creating table catalog.security_permissions

    2015-05-03T02:18:14: Information: I-DBI-003-001: Processing system file: /opt/IBM/tivoli/netcool/omnibus/etc/system.sql

    2015-05-03T02:18:14: Information: I-STO-104-006: Creating internal database security

    2015-05-03T02:18:14: Information: I-STO-104-015: Creating table security.owners

    2015-05-03T02:18:14: Information: I-STO-104-015: Creating table security.users

    2015-05-03T02:18:14: Information: I-STO-104-015: Creating table security.roles

    2015-05-03T02:18:14: Information: I-STO-104-015: Creating table security.role_grants

    2015-05-03T02:18:14: Information: I-STO-104-015: Creating table security.permissions

    2015-05-03T02:18:14: Information: I-STO-104-015: Creating table security.groups

    2015-05-03T02:18:14: Information: I-STO-104-015: Creating table security.group_members

    2015-05-03T02:18:14: Information: I-STO-104-015: Creating table security.restriction_filters

    2015-05-03T02:18:14: Information: I-STO-104-006: Creating internal database transfer

    2015-05-03T02:18:14: Information: I-STO-104-015: Creating table transfer.users

    2015-05-03T02:18:14: Information: I-STO-104-015: Creating table transfer.roles

    2015-05-03T02:18:14: Information: I-STO-104-015: Creating table transfer.role_grants

    2015-05-03T02:18:14: Information: I-STO-104-015: Creating table transfer.permissions

    2015-05-03T02:18:14: Information: I-STO-104-015: Creating table transfer.groups

    2015-05-03T02:18:14: Information: I-STO-104-015: Creating table transfer.group_members

    2015-05-03T02:18:14: Information: I-STO-104-015: Creating table transfer.restrictions

    2015-05-03T02:18:14: Information: I-STO-104-015: Creating table transfer.security_restrictions

    2015-05-03T02:18:14: Information: I-DBI-003-002: Processing application file: /opt/IBM/tivoli/netcool/omnibus/etc/application.sql

    2015-05-03T02:18:14: Information: I-STO-104-005: User root creating database alerts

    2015-05-03T02:18:14: Information: I-STO-104-014: User root creating table alerts.status

    2015-05-03T02:18:14: Information: I-STO-104-014: User root creating table alerts.journal

    2015-05-03T02:18:14: Information: I-STO-104-014: User root creating table alerts.details

    2015-05-03T02:18:14: Information: I-STO-104-014: User root creating table alerts.objclass

    2015-05-03T02:18:14: Information: I-STO-104-014: User root creating table alerts.objmenus

    2015-05-03T02:18:14: Information: I-STO-104-014: User root creating table alerts.objmenuitems

    2015-05-03T02:18:14: Information: I-STO-104-014: User root creating table alerts.resolutions

    2015-05-03T02:18:14: Information: I-STO-104-014: User root creating table alerts.conversions

    2015-05-03T02:18:14: Information: I-STO-104-014: User root creating table alerts.col_visuals

    2015-05-03T02:18:14: Information: I-STO-104-014: User root creating table alerts.colors

    2015-05-03T02:18:14: Information: I-STO-104-014: User root creating table alerts.iduc_messages

    2015-05-03T02:18:14: Information: I-STO-104-014: User root creating table alerts.application_types

    2015-05-03T02:18:14: Information: I-STO-104-005: User root creating database service

    2015-05-03T02:18:14: Information: I-STO-104-014: User root creating table service.status

    2015-05-03T02:18:14: Information: I-STO-104-005: User root creating database tools

    2015-05-03T02:18:14: Information: I-STO-104-014: User root creating table tools.actions

    2015-05-03T02:18:14: Information: I-STO-104-014: User root creating table tools.action_access

    2015-05-03T02:18:14: Information: I-STO-104-014: User root creating table tools.menus

    2015-05-03T02:18:14: Information: I-STO-104-014: User root creating table tools.menu_items

    2015-05-03T02:18:14: Information: I-STO-104-014: User root creating table tools.menu_defs

    2015-05-03T02:18:14: Information: I-STO-104-014: User root creating table tools.prompt_defs

    2015-05-03T02:18:14: Information: I-STO-104-005: User root creating database master

    2015-05-03T02:18:14: Information: I-STO-104-014: User root creating table master.permissions

    2015-05-03T02:18:14: Information: I-STO-104-014: User root creating table master.profiles

    2015-05-03T02:18:14: Information: I-STO-104-014: User root creating table master.servergroups

    2015-05-03T02:18:14: Information: I-STO-104-014: User root creating table master.class_membership

    2015-05-03T02:18:14: Information: I-STO-104-005: User root creating database iduc_system

    2015-05-03T02:18:14: Information: I-STO-104-014: User root creating table iduc_system.channel

    2015-05-03T02:18:14: Information: I-STO-104-014: User root creating table iduc_system.channel_interest

    2015-05-03T02:18:14: Information: I-STO-104-014: User root creating table iduc_system.channel_summary

    2015-05-03T02:18:14: Information: I-STO-104-014: User root creating table iduc_system.channel_summary_cols

    2015-05-03T02:18:14: Information: I-STO-104-014: User root creating table iduc_system.iduc_stats

    2015-05-03T02:18:14: Information: I-STO-104-005: User root creating database custom

    2015-05-03T02:18:14: Information: I-STO-104-005: User root creating database precision

    2015-05-03T02:18:14: Information: I-STO-104-014: User root creating table precision.entity_service

    2015-05-03T02:18:14: Information: I-STO-104-014: User root creating table precision.service_details

    2015-05-03T02:18:14: Information: I-STO-104-014: User root creating table precision.service_affecting_event

    2015-05-03T02:18:14: Information: I-DBI-003-003: Processing desktop file: /opt/IBM/tivoli/netcool/omnibus/etc/desktop.sql

    2015-05-03T02:18:14: Information: I-STO-104-015: Creating table persist.procedures

    2015-05-03T02:18:14: Information: I-STO-104-015: Creating table catalog.procedures

    2015-05-03T02:18:14: Information: I-STO-104-015: Creating table catalog.sql_procedures

    2015-05-03T02:18:14: Information: I-STO-104-015: Creating table catalog.external_procedures

    2015-05-03T02:18:14: Information: I-STO-104-015: Creating table catalog.procedure_parameters

    2015-05-03T02:18:14: Information: I-STO-104-015: Creating table persist.signals

    2015-05-03T02:18:14: Information: I-STO-104-015: Creating table persist.triggers

    2015-05-03T02:18:14: Information: I-STO-104-015: Creating table persist.trigger_groups

    2015-05-03T02:18:14: Information: I-STO-104-015: Creating table catalog.primitive_signals

    2015-05-03T02:18:14: Information: I-STO-104-015: Creating table catalog.primitive_signal_parameters

    2015-05-03T02:18:14: Information: I-STO-104-015: Creating table catalog.triggers

    2015-05-03T02:18:14: Information: I-STO-104-015: Creating table catalog.database_triggers

    2015-05-03T02:18:14: Information: I-STO-104-015: Creating table catalog.signal_triggers

    2015-05-03T02:18:14: Information: I-STO-104-015: Creating table catalog.temporal_triggers

    2015-05-03T02:18:14: Information: I-STO-104-015: Creating table catalog.trigger_groups

    2015-05-03T02:18:14: Information: I-STO-104-015: Creating table catalog.trigger_stats

    2015-05-03T02:18:14: Information: I-DBI-003-004: Processing automation file: /opt/IBM/tivoli/netcool/omnibus/etc/automation.sql

    2015-05-03T02:18:14: Information: I-AUT-005-005: User root creating trigger group system_watch

    2015-05-03T02:18:14: Information: I-AUT-005-005: User root creating trigger group connection_watch

    2015-05-03T02:18:14: Information: I-AUT-005-005: User root creating trigger group security_watch

    2015-05-03T02:18:14: Information: I-AUT-005-005: User root creating trigger group default_triggers

    2015-05-03T02:18:14: Information: I-AUT-005-005: User root creating trigger group compatibility_triggers

    2015-05-03T02:18:14: Information: I-AUT-005-005: User root creating trigger group audit_config

    2015-05-03T02:18:14: Information: I-AUT-005-005: User root creating trigger group iduc_triggers

    2015-05-03T02:18:14: Information: I-AUT-005-005: User root creating trigger group gateway_triggers

    2015-05-03T02:18:14: Information: I-AUT-005-005: User root creating trigger group primary_only

    2015-05-03T02:18:14: Information: I-AUT-005-005: User root creating trigger group sae

    2015-05-03T02:18:14: Information: I-AUT-005-011: User root creating signal trigger system_watch_startup

    2015-05-03T02:18:14: Information: I-AUT-005-011: User root creating signal trigger system_watch_shutdown

    2015-05-03T02:18:14: Information: I-AUT-005-011: User root creating signal trigger connection_watch_disconnect

    2015-05-03T02:18:14: Information: I-AUT-005-011: User root creating signal trigger connection_watch_connect

    2015-05-03T02:18:14: Information: I-AUT-005-011: User root creating signal trigger security_watch_security_failure

    2015-05-03T02:18:14: Information: I-AUT-005-009: User root creating database trigger new_row

    2015-05-03T02:18:14: Information: I-AUT-005-009: User root creating database trigger deduplication

    2015-05-03T02:18:14: Information: I-AUT-005-009: User root creating database trigger state_change

    2015-05-03T02:18:14: Information: I-AUT-005-009: User root creating database trigger deduplicate_details

    2015-05-03T02:18:14: Information: I-AUT-005-009: User root creating database trigger service_insert

    2015-05-03T02:18:14: Information: I-AUT-005-009: User root creating database trigger service_reinsert

    2015-05-03T02:18:14: Information: I-AUT-005-009: User root creating database trigger service_update

    2015-05-03T02:18:14: Information: I-AUT-005-010: User root creating temporal trigger clean_details_table

    2015-05-03T02:18:14: Information: I-AUT-005-010: User root creating temporal trigger clean_journal_table

    2015-05-03T02:18:14: Information: I-AUT-005-010: User root creating temporal trigger delete_clears

    2015-05-03T02:18:14: Information: I-AUT-005-010: User root creating temporal trigger escalate_off

    2015-05-03T02:18:14: Information: I-AUT-005-010: User root creating temporal trigger expire

    2015-05-03T02:18:14: Information: I-AUT-005-010: User root creating temporal trigger flash_not_ack

    2015-05-03T02:18:14: Information: I-STO-104-014: User root creating table alerts.problem_events

    2015-05-03T02:18:14: Information: I-AUT-005-010: User root creating temporal trigger generic_clear

    2015-05-03T02:18:14: Information: I-PRO-007-004: User root creating procedure send_email

    2015-05-03T02:18:14: Information: I-AUT-005-010: User root creating temporal trigger mail_on_critical

    2015-05-03T02:18:14: Information: I-AUT-005-005: User root creating trigger group automatic_backup_system

    2015-05-03T02:18:14: Information: I-STO-104-014: User root creating table alerts.backup_state

    2015-05-03T02:18:14: Information: I-AUT-005-009: User root creating database trigger backup_state_integrity

    2015-05-03T02:18:14: Information: I-AUT-005-010: User root creating temporal trigger automatic_backup

    2015-05-03T02:18:14: Information: I-AUT-005-011: User root creating signal trigger backup_succeeded

    2015-05-03T02:18:14: Information: I-AUT-005-011: User root creating signal trigger backup_failed

    2015-05-03T02:18:14: Information: I-AUT-005-005: User root creating trigger group profiler_triggers

    2015-05-03T02:18:14: Information: I-AUT-005-011: User root creating signal trigger profiler_toggle

    2015-05-03T02:18:14: Information: I-AUT-005-011: User root creating signal trigger profiler_report

    2015-05-03T02:18:14: Information: I-AUT-005-011: User root creating signal trigger profiler_group_report

    2015-05-03T02:18:14: Information: I-AUT-005-005: User root creating trigger group trigger_stat_reports

    2015-05-03T02:18:14: Information: I-AUT-005-011: User root creating signal trigger trigger_stats_report

    2015-05-03T02:18:14: Information: I-STO-104-014: User root creating table master.stats

    2015-05-03T02:18:14: Information: I-STO-104-014: User root creating table master.activity_stats

    2015-05-03T02:18:14: Information: I-AUT-104-001: User root creating primitive signal stats_reset

    2015-05-03T02:18:14: Information: I-AUT-005-005: User root creating trigger group stats_triggers

    2015-05-03T02:18:14: Information: I-AUT-005-015: User root altering trigger group stats_triggers

    2015-05-03T02:18:14: Information: I-AUT-005-009: User root creating database trigger new_status_inserts

    2015-05-03T02:18:14: Information: I-AUT-005-009: User root creating database trigger dedup_status_inserts

    2015-05-03T02:18:14: Information: I-AUT-005-009: User root creating database trigger journal_inserts

    2015-05-03T02:18:14: Information: I-AUT-005-009: User root creating database trigger details_inserts

    2015-05-03T02:18:14: Information: I-AUT-005-010: User root creating temporal trigger statistics_gather

    2015-05-03T02:18:14: Information: I-AUT-005-010: User root creating temporal trigger statistics_cleanup

    2015-05-03T02:18:14: Information: I-AUT-005-011: User root creating signal trigger stats_reset

    2015-05-03T02:18:14: Information: I-STO-104-014: User root creating table alerts.login_failures

    2015-05-03T02:18:14: Information: I-AUT-005-011: User root creating signal trigger disable_user

    2015-05-03T02:18:14: Information: I-AUT-005-011: User root creating signal trigger reset_user

    2015-05-03T02:18:14: Information: I-AUT-005-010: User root creating temporal trigger disable_inactive_users

    2015-05-03T02:18:14: Information: I-AUT-005-010: User root creating temporal trigger webtop_compatibility

    2015-05-03T02:18:14: Information: I-AUT-005-015: User root altering trigger group audit_config

    2015-05-03T02:18:14: Information: I-AUT-005-011: User root creating signal trigger audit_config_create_object

    2015-05-03T02:18:14: Information: I-AUT-005-011: User root creating signal trigger audit_config_alter_object

    2015-05-03T02:18:14: Information: I-AUT-005-011: User root creating signal trigger audit_config_drop_object

    2015-05-03T02:18:14: Information: I-AUT-005-011: User root creating signal trigger audit_config_alter_property

    2015-05-03T02:18:14: Information: I-AUT-005-011: User root creating signal trigger audit_config_permission_denied

    2015-05-03T02:18:14: Information: I-AUT-005-009: User root creating database trigger audit_config_create_class

    2015-05-03T02:18:14: Information: I-AUT-005-009: User root creating database trigger audit_config_alter_class

    2015-05-03T02:18:14: Information: I-AUT-005-009: User root creating database trigger audit_config_drop_class

    2015-05-03T02:18:14: Information: I-AUT-005-009: User root creating database trigger audit_config_create_menu

    2015-05-03T02:18:14: Information: I-AUT-005-009: User root creating database trigger audit_config_alter_menu

    2015-05-03T02:18:14: Information: I-AUT-005-009: User root creating database trigger audit_config_drop_menu

    2015-05-03T02:18:14: Information: I-AUT-005-009: User root creating database trigger audit_config_create_conv

    2015-05-03T02:18:14: Information: I-AUT-005-009: User root creating database trigger audit_config_alter_conv

    2015-05-03T02:18:14: Information: I-AUT-005-009: User root creating database trigger audit_config_drop_conv

    2015-05-03T02:18:14: Information: I-AUT-005-009: User root creating database trigger audit_config_create_col_visual

    2015-05-03T02:18:14: Information: I-AUT-005-009: User root creating database trigger audit_config_alter_col_visual

    2015-05-03T02:18:14: Information: I-AUT-005-009: User root creating database trigger audit_config_drop_col_visual

    2015-05-03T02:18:14: Information: I-AUT-005-009: User root creating database trigger audit_config_create_tool

    2015-05-03T02:18:14: Information: I-AUT-005-009: User root creating database trigger audit_config_alter_tool

    2015-05-03T02:18:14: Information: I-AUT-005-009: User root creating database trigger audit_config_drop_tool

    2015-05-03T02:18:14: Information: I-AUT-005-009: User root creating database trigger audit_config_create_prompt

    2015-05-03T02:18:14: Information: I-AUT-005-009: User root creating database trigger audit_config_alter_prompt

    2015-05-03T02:18:14: Information: I-AUT-005-009: User root creating database trigger audit_config_drop_prompt

    2015-05-03T02:18:14: Information: I-PRO-007-004: User root creating procedure jinsert

    2015-05-03T02:18:14: Information: I-AUT-005-010: User root creating temporal trigger iduc_messages_tblclean

    2015-05-03T02:18:14: Information: I-PRO-007-004: User root creating procedure automation_disable

    2015-05-03T02:18:14: Information: I-PRO-007-004: User root creating procedure automation_enable

    2015-05-03T02:18:14: Information: I-AUT-005-011: User root creating signal trigger backup_counterpart_down

    2015-05-03T02:18:14: Information: I-AUT-005-011: User root creating signal trigger backup_counterpart_up

    2015-05-03T02:18:14: Information: I-AUT-005-011: User root creating signal trigger backup_startup

    2015-05-03T02:18:14: Information: I-AUT-005-011: User root creating signal trigger disconnect_iduc_missed

    2015-05-03T02:18:14: Information: I-AUT-005-011: User root creating signal trigger iduc_stats_insert

    2015-05-03T02:18:14: Information: I-AUT-005-009: User root creating database trigger deduplicate_iduc_stats

    2015-05-03T02:18:14: Information: I-AUT-005-011: User root creating signal trigger iduc_stats_update

    2015-05-03T02:18:14: Information: I-AUT-005-011: User root creating signal trigger pass_deletes

    2015-05-03T02:18:14: Information: I-AUT-005-011: User root creating signal trigger resync_finished

    2015-05-03T02:18:14: Information: I-AUT-005-010: User root creating temporal trigger update_service_affecting_events

    2015-05-03T02:18:14: Information: I-DBI-003-006: Processing security file: /opt/IBM/tivoli/netcool/omnibus/etc/security.sql

    2015-05-03T02:18:14: Information: I-OBJ-100-008: User root creating role CatalogUser

    2015-05-03T02:18:14: Information: I-OBJ-100-008: User root creating role AlertsUser

    2015-05-03T02:18:14: Information: I-OBJ-100-008: User root creating role AlertsProbe

    2015-05-03T02:18:14: Information: I-OBJ-100-008: User root creating role AlertsGateway

    2015-05-03T02:18:14: Information: I-OBJ-100-008: User root creating role ChannelUser

    2015-05-03T02:18:14: Information: I-OBJ-100-008: User root creating role DatabaseAdmin

    2015-05-03T02:18:14: Information: I-OBJ-100-008: User root creating role AutoAdmin

    2015-05-03T02:18:14: Information: I-OBJ-100-008: User root creating role SecurityAdmin

    2015-05-03T02:18:14: Information: I-OBJ-100-008: User root creating role ToolsAdmin

    2015-05-03T02:18:14: Information: I-OBJ-100-008: User root creating role DesktopAdmin

    2015-05-03T02:18:14: Information: I-OBJ-100-008: User root creating role ISQL

    2015-05-03T02:18:14: Information: I-OBJ-100-008: User root creating role ISQLWrite

    2015-05-03T02:18:14: Information: I-OBJ-100-008: User root creating role ChannelAdmin

    2015-05-03T02:18:14: Information: I-OBJ-100-011: User root creating group Probe

    2015-05-03T02:18:14: Information: I-OBJ-100-011: User root creating group Gateway

    2015-05-03T02:18:14: Information: I-OBJ-100-011: User root creating group ISQLWrite

    2015-05-03T02:18:14: Information: I-OBJ-100-011: User root creating group ISQL

    2015-05-03T02:18:14: Information: I-PRO-007-004: User root creating procedure setup_group_conversions

    2015-05-03T02:18:14: Information: I-PRO-007-005: User root dropping procedure setup_group_conversions

     

    新建完成后进行手动启动Object Server,方法如下

     

    执行命令

    [root@Omnibus bin]# ./nco_objserv

    Netcool/OMNIbus Object Server - Version 7.3.1

    (C) Copyright IBM Corp. 1994, 2007

    Server 'NCOMS' initialised - entering RUN state.

     

    使用xigen工具配置omnibus接口

     

    执行./nco_xigen

    clip_image008

     

    报错

    [root@Omnibus bin]# ./nco_xigen

    /opt/IBM/tivoli/netcool/omnibus/platform/linux2x86/bin/nco_xigen: error while loading shared libraries: libXm.so.3: cannot open shared object file: No such file or directory

     

    解决方法

    clip_image009

     

    图形界面如下

    clip_image010

     

    把hostname改成对应机器名,此处都在一台机器上。

    clip_image011

     

    点test进行测试

    clip_image012

     

     

    启动Ominous配置管理器

    执行./nco_config –server NCOMS

    clip_image013

     

    单击next

    clip_image014

     

     

    把需要配置的连接移动到右边

    clip_image016

     

     

    单击finish后出现如下界面

    clip_image017

     

    输入用户名root 密码默认为空

    clip_image018

     

    配置界面可以实现以下配置功能,比如创建数据库,修改表结构,修改配置信息等等。

    clip_image019

     

     

    启动 probe,执行如下命令

    [root@Omnibus probes]# ./nco_p_syslog -server NCOMS

    clip_image020

     

     

    启动图形管理界面conductor,也就是desktop组件

    [root@Omnibus bin]# ./nco

    clip_image021

     

     

    root 密码默认为空

    clip_image022

     

    目前没有事件,list里面都是空的。

    clip_image023

     

    至此,Omnibus基本安装完成,后续可以根据业务需求配置probe进行触发事件,并且可以将事件传送给remedy进行处理。

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/27771627/viewspace-1620918/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2013-07-01

  • 博文量
    83
  • 访问量
    1040670