Chinaunix首页 | 论坛 | 博客
  • 博客访问: 89009
  • 博文数量: 71
  • 博客积分: 3000
  • 博客等级: 中校
  • 技术积分: 715
  • 用 户 组: 普通用户
  • 注册时间: 2010-07-07 16:46
文章分类

全部博文(71)

文章存档

2010年(71)

我的朋友

分类:

2010-07-08 23:32:24

1. Need two OVO management servers which have the same hardware, OS, OVO and Patches.
2. Add the two OVO management server to NodeBank of each other.
3. Change the coreid of new created node the same with the origin management server.
#/opt/OV/bin/utils/opcnode -chg_id node_name= id=
4. Add certification of management server into each other's management server's trusted certification list
#ovcert -exporttrusted -ovrg server -file ./.cert
#ovcert -importtrusted -ovrg server -file ./.cert

5. Add certification of management server into each other's management node's trusted certification list
#ovcert -exporttrusted -file ./.cert
#ovcert -importtrusted -file ./.cert

6. Create a file named "allnode.bbc" in the directory "/etc/opt/OV/share/conf/OpC/mgmt_sv/respmgrs"
     The content of this file is below:
#
# Responsible Manager Configurations for a backup server
#
RESPMGRCONFIGS
        RESPMGRCONFIG
        DESCRIPTION "responsible mgrs for agents in ..."
                SECONDARYMANAGERS
                        SECONDARYMANAGER
                        NODE IP 16.157.129.7 "sgdsy201.chn.hp.com" ID "72b2c9de-5527-7523-0029-c6b9d70e6a5b"
                        DESCRIPTION "Primary Server"
                        SECONDARYMANAGER
                        NODE IP 16.157.129.8 "sgdsy202.chn.hp.com" ID "f77dea42-00dd-7524-16b2-a418bf57d2fb"
                        DESCRIPTION "Secondary Server"
                ACTIONALLOWMANAGERS
                        ACTIONALLOWMANAGER
                        NODE IP 16.157.129.7 "sgdsy201.chn.hp.com" ID "72b2c9de-5527-7523-0029-c6b9d70e6a5b"
                        DESCRIPTION "Primary Server"
                        ACTIONALLOWMANAGER
                        NODE IP 16.157.129.8 "sgdsy202.chn.hp.com" ID "f77dea42-00dd-7524-16b2-a418bf57d2fb"
                        DESCRIPTION "Secondary Server"
7. Distribute any template to managed node:
# opcragt -distrib -templates -force

8. After distributed, plz check the following existed or not on agent side in the folder
/var/opt/OV/datafiles/policies/mgrconf
1) a4c90b9a-f15e-11d6-9032-001083fdff5e_data
2) a4c90b9a-f15e-11d6-9032-001083fdff5e_header.xml


Note: "a4c90b9a-f15e-11d6-9032-001083fdff5e_data" 's content should same as allnodes.bbc.

9. Plz check if it is loaded by agent by command "opctemplate", for example:
# opctemplate
* List installed policies for host 'localhost'.

Type              Name                        Status     Version
--------------------------------------------------------------------
mgrconf           "OVO authorization"         enabled    1

10. Run the command to test if one managed node can be access by another management server:
# bbcutil -ping
# opcragt

阅读(377) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~