Omnibus系列之 建立ObjectServer並配置

liuzhen_basis發表於2015-05-03

 前面部落格裡已經安裝好了 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部落格 ” ,連結:http://blog.itpub.net/27771627/viewspace-1620918/,如需轉載,請註明出處,否則將追究法律責任。

相關文章