ITPUB论坛 » Tivoli » 下载Omnibus v7.1实验手册
新一届的微软MVP评选已经开始,欢迎各位推荐!
2008-7-1 15:21 karenzz
下载Omnibus v7.1实验手册

实验练习帮助我学习Tivoli Netcool Omnibus!分享给大家!

[[i] 本帖最后由 karenzz 于 2008-7-2 13:25 编辑 [/i]]

2008-7-7 15:20 karenzz
做了3天练习,基本把实验手册上的做完了,但好象对于某些自己的答案觉得不是很正确,贴上来大家一起探讨。

Unit4:

Exercise 3 – Changing ObjectServer
properties
___ 1. Configure the ObjectServer PRIMARY properties using the Configuration
Manager so that:
– The ObjectServer refreshes its clients every 55 seconds.
– The Security level is increased.
– The MessageLevel is increased to debug.


[color=blue]Answer:
$OMNIHOME/etc/NCOSM.props

Granularity : 60
AlertSecurityModel : 0(缺省,安全最低,disable)
MessageLevel: ‘warn’[/color]

___ 2. Look in the ObjectServer log file to see what extra logging you get.

[color=blue]Answer:
MessageLog 所指示的位置即为Log file [/color]

___ 3. Enable profiling on PRIMARY.

[color=blue]Answer:
将Profile TRUE (缺省是False)[/color]

___ 4. Make a note of extra log files produced in $OMNIHOME/log.
–        Notice the sort of information you see in the log files that is of value.

2008-7-7 15:21 karenzz
Unit 6:

Exercise 1 – Using Unidirectional Gateways
Create and run a unidirectional ObjectServer gateway. Use the steps given:
___ 1. Create a unidirectional gateway from your PRIMARY ObjectServer to your
NCOMS ObjectServer.
___ 2. Run through the procedure for creating a unidirectional gateway, reading events
from your new ObjectServer and writing to the ObjectServer next in line.
___ 3. Run your NCOMS and PRIMARY ObjectServer.
___ 4. Run an Event List and connect to the NCOMS ObjectServer.
___ 5. Run your new gateway.
___ 6. Start your Simnet probe and connect it to your PRIMARY ObjectServer.
If everything has been configured correctly, the events should pass through for your
PRIMARY ObjectServer and pass through the gateway to your NCOMS ObjectServer.

[color=blue]Answer:
Add the unidirectional gateway to the interfaces file by running nco_xigen
Server         UI_GATE   
Hostname        netcool1
Port                 4308
# cp $OMNIHOME/gates/objserv_uni/objserv_uni.props  $OMNIHOME/etc/UNI_GATE.props
# cp $OMNIHOME/gates/objserv_uni/objserv_uni.map  $OMNIHOME/etc/UNI_GATE.map
# cp $OMNIHOME/gates/objserv_uni/objserv_uni.startup.cmd  $OMNIHOME/etc/UNI_GATE.startup.cmd,       


# vi $OMNIHOME/etc/UNI_GATE.props files to point to the second ObjectServer:
修改
Gate.MapFile                        ‘$OMNIHOME/etc/UNI_GATE.map’
Gate.StartupCmdFile        ‘$OMNIHOME/etc/UNI_GATE.startup.cmd’
Gate.Reader.Server:    ‘PRIMARY’
Gate.Writer.Server:                ‘NCOMS’


启动
$OMNIHOME/bin/nco_g_objserv_uni –name UNI_GATE& [/color]

2008-7-7 15:22 karenzz
Uni6 :

Exercise 2 – Using Bidirectional Gateways
___ 1. Create a bidirectional gateway between the PRIMARY and BACKUP
ObjectServers on your machine.
– All fields and tables must be the same in each ObjectServer.
___ 2. Ensure the Simnet probe is running against the PRIMARY ObjectServer.
– Open a desktop to the BACKUP and PRIMARY ObjectServers.
– You should see no events in the BACKUP ObjectServer.
___ 3. Start the gateway and see events appear in the BACKUP ObjectServer. The
number of events should be the same in each.

[color=blue]Answer:
Add the unidirectional gateway to the interfaces file by running nco_xigen
Server         BI_GATE   
Hostname        netcool1
Port                 4309
# cp $OMNIHOME/gates/objserv_bi/objserv_bi.props  $OMNIHOME/etc/BI_GATE.props
# cp $OMNIHOME/gates/objserv_bi/objserv_bi.map  $OMNIHOME/etc/BI_GATE.map
# cp $OMNIHOME/gates/objserv_bi/objserv_bi.startup.cmd $OMNIHOME/etc/BI_GATE.startup.cmd,       


# vi $OMNIHOME/etc/BI_GATE.props files to point to the second ObjectServer:
修改
Gate.MapFile                        ‘$OMNIHOME/etc/BI_GATE.map’
Gate.StartupCmdFile        ‘$OMNIHOME/etc/BI_GATE.startup.cmd’
Gate.ObjectServerA.Server:                ‘NCOMS’
Gate.ObjectServerB.Server:                ‘PRIMARY’


启动
$OMNIHOME/bin/nco_g_objserv_bi –name BI_GATE&[/color]

2008-7-7 15:24 karenzz
Exercise 3 – Using Secure Connections
___ 1. Change your existing ObjectServers PRIMARY and BACKUP to run in secure
mode.
___ 2. Change the configuration of the bidirectional and unidirectional gateways to
connect in secure mode.

还没有好的答案~~~

有人告诉我吗?多谢!

2008-7-7 16:23 tivoliilovit
通过nco_xigen配置PRIMARY和BACKUP的SSL端口,然后通过Gateway端的interface file配置相同的SSL端口连接到Object Server

2008-7-7 17:28 karenzz
谢谢 tivoliilovit ,你觉得需要用nco_crypt加密密码吗?

2008-7-7 17:45 tivoliilovit
Sorry, 你说的对,可能是我理解错了,我前面说的是SSL通信。

在安全模式下运行Object Server要求认证Probe、Monitor和Gateway:
所以需要在Probe等的属性文件中设定一下两个属性:
AuthUserName和AuthPassword
且AuthPassword需要用nco_crypt加密

2008-7-7 17:48 tivoliilovit
:right: 实验教材很不错。

2008-7-8 13:09 karenzz
[quote]原帖由 [i]tivoliilovit[/i] 于 2008-7-7 17:45 发表 [url=http://www.itpub.net/redirect.php?goto=findpost&pid=10880812&ptid=1014741][img]http://www.itpub.net/images/common/back.gif[/img][/url]
Sorry, 你说的对,可能是我理解错了,我前面说的是SSL通信。

在安全模式下运行Object Server要求认证Probe、Monitor和Gateway:
所以需要在Probe等的属性文件中设定一下两个属性:
AuthUserName和AuthPassword
且AuthPassword需要用nco_crypt加密 [/quote]

多谢tivoliilovit!

[color=blue]tivoliilovit的Exercise 3 Answer:


1.通过nco_xigen配置PRIMARY和BACKUP的SSL端口
2.通过Gateway端的interface file配置相同的SSL端口连接到Object Server
3.用nco_crypt加密Password,将加密后的字符串写入Gateway属性文件的AuthPassword,AuthUserName

[/color]

[b]SSL,应该是Server和Client的安全通讯方式,感觉这个答案是否有些问题[/b]

我的方法:
1.用nco_objserv启动BACKUP和PRIMARY时带参数-secure
2.但Gateway里面没有AUTH_USER和AUTH_password参数,怎么办呢?

[[i] 本帖最后由 karenzz 于 2008-7-8 15:34 编辑 [/i]]

页: [1]
查看完整版本: 下载Omnibus v7.1实验手册


Powered by ITPUB论坛