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=
4. Add certification of management server into each other's management server's trusted certification list
#ovcert -exporttrusted -ovrg server -file ./
#ovcert -importtrusted -ovrg server -file ./
5. Add certification of management server into each other's management node's trusted certification list
#ovcert -exporttrusted -file ./
#ovcert -importtrusted -file ./
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