The following URL is producing a blank page or HTTP 401 - Unauthorized error message, after entering the Administrator authentication. http://<UMPSERVER>:<port>/nisapi/element/ipelement?id=all
- UIM 9.0.2 HF2
- CA Spectrum product release 10.3.2
- Spectrum UIM Services package version 8.6.7
- spectrumgtw probe 8.67 HF2
- vmware probe 7.14
- Nisapi (nisapi-wasp) probe version 9.03
- ems probe version 10.22
- nas probe version 9.06
- maintenance_mode probe version 9.02
Use the below credentials for nisapi calls being made from Spectrum:
The following information is linked to the /nisapi/element/ipelement?id=all url.
The relationship tree can be queried using the nisapi:
http://(UIM Server Host)/nisapi/relationship/tree?id=(vcenter cs_id).
http://(UIM Server Host)/nisapi/element/ipelement?id=all
http://(UIM Server Host)/nisapi/element/ipelement?id=all&role=vCenter
Spectrum also uses this api and then parses the result to form the hierarchy. Each component knows its immediate parent and children. So, if we want to find the cluster in which a VM is located, then using the relationships first we can find the ESX host where the VM is and then find the clsuter where the ESX is located.
This relationship is stored in UIM database tables.
select * from CM_RELATIONSHIP_CS_CS where target_id = 44
//The source_id of the result will give the cs_id of ESX Host, if target_id is cs_id of a VM
select * from CM_RELATIONSHIP_CI_CS where target_id = 44
// This will give any logical component like resource pool to which this VM belongs.
All of the relationship tree info is contained in these four tables:
Information from KB: https://ca-broadcom.wolkenservicedesk.com/external/article?articleId=107036