Unsolved
This post is more than 5 years old
37 Posts
0
3740
Getting attributes on an OI server from AM-PM Domain
There are some attributes which are available only on AM-PM domain server. For eg, ReadCommunity.
Is it possible to get this attributes on an OI server?
-Arun
FredericMeunier_0588be
143 Posts
0
August 20th, 2009 14:00
Hi ArunDeva,
Not directly, you will have to sync them from IP to OI (in fact subscribe in OI from IP) using the DXA :
- in : /opt/InChargeX/SAM/smarts/conf/ics/dxa-oi.conf (or the one currently used)
- in section (ex.) :
class ICIM_UnitaryComputerSystem
attr Certification
attr DisplayName
attr Description
attr Location
attr Model
attr PrimaryOwnerContact
attr Type
attr Vendor
rel ConnectedVia
simply add the needed attribute, reload, et voila. Ex:
attr ReadCommunity
HTH,
--Fred
ArunDeva
37 Posts
0
August 20th, 2009 20:00
ArunDeva
37 Posts
0
August 21st, 2009 00:00
Hi Fred,
Its not working.
I edited the file using sm_edit and added teh attribute ReadCommunity and then restarted the OI server. But still it is not pulling the ReadCommunity attribute from the underlying AM-domina server.
My AM domain server is using dxa-sysip.conf file. So I did the same activity in that file as well. Still it is not working.
-Arun
FredericMeunier_0588be
143 Posts
0
August 21st, 2009 09:00
Hi ArunDeva,
my mistake, I didn't check that the ReadCommunity is not available in the default UnitaryComputerSystem class within OI. So, in this case where the attribute is not defined in the default class within the domain, you will have to add it using DynModel (refine the existing class). The rest stays the same (subscribe using the DXA).
--Fred
ArunDeva
37 Posts
0
August 22nd, 2009 00:00
Hi Fred,
I thought of getting the attributes without using Dynamic Model.
Anyways, using Dynamic Model, I am able to add the ReadCommunity to the OI server. But the conf file that needs to be edited is at the location
,Basedir>/conf/icoi/
We have to check which dxa file is being used by the OI server for the AM-PM domain as you suggested.
Once again thank you Fred.
Regards
Arun