1 of 1 people found this helpful
Typically you would model this as multiple SoftwareInstances(http://discovery.bmc.com/confluence/display/83/Software+Instance+Node) in a BusinessApplicationInstance (BAI) (http://discovery.bmc.com/confluence/display/83/Business+Application+Instance+Node).
To map an application see http://discovery.bmc.com/confluence/display/83/Application+mapping. When you say "inside the applciation mapping" I'll assume you have read all that and are trying to map a BAI by creating "functional component definitions" in the UI (http://discovery.bmc.com/confluence/display/83/Creating+functional+components). If not then let me know!
I think what you're after is to create two separate functional components definitions, both starting from a different SoftwareInstance and then set BOTH of their types to be REQUIRED.
Hi Tim / All
- You wrote : I think what you're after is to create two separate functional components definitions, both starting from a different SoftwareInstance and then set BOTH of their types to be REQUIRED.
And that what I exactly did ,
ON each host where one of the software found, the Addm created a Hosted Application: software-group (that include Anti-virus + Data protection agent),
On the application mapping: I created two Functional Component Definition (Trend Micro Office Scan Client)
that include 28 software instance,
and also other Functional Component Definition (Data Protection Agent) that include 29 software instance,
on both of them, type was set to = Require
but even where there is no Trend Micro, the software create Hosted Application = software-group (on each one of the servers where at list one software found)
Did I miss anything here? Any other ideas?
Attached the cam export file,
I was not able to do the export inside the customer environment, so I did something very similar,
In this example I created new Application Mapping Group= Software-Group,
that include two software instance (SQL-Server & MacAfee VirusScan)
Both of them type is = Require
(Please look inside attached file => 1-require-two-software-instance.jpg)
I also attached a print screen that show a host where a Software-Group was created => 2-host-software group was created.jpg,
but that is not OK because this host doesn't have SQL-Server
Please see attached print screen => 3-only Mcafee virusscan, no Sql-Server.jpg
Please advise if I'm doing something wrong?
Thanks a lot
Thanks for the export - I see the problem now.
What you have defined there is essentially a "singleton" application containing 2 functional components, one containing ALL McAfee SIs in the system and the other ALL the SQL Server SIs, regardless of Host. No matter which Host the SI lives on that triggers your generated pattern, the same 2 functional components and one BAI will be created/confirmed.
I've attached a modified definition which has 2 changes:
1) I've made the McAfee functional component now start from the SQL Server one and traverse via the Host. That way we will trigger on discovery of SQL Server SI and only pick up the McAfee SI hosted on the same machine.
2) I've added an identity Named Value. I used the Host name. That way there will be different instances of the functional components and BAIs per Host.
ideas why the import failed?
received error reading file
attached the print-screen error)
tried couple of times to import, but still the same error
also tried to delete the software_group application-mapping, and then to import,
still with no success
Error-Tim-cam-import.jpg 102.4 K
Hmm - I generated that export on our next version of ADDM currently under development (Xenolith). It *should* have been compatible with older ADDM versions but doesn't appear to be - I'll look into that but in the meantime I've attached an export I did from ADDM 8.3.
That software-group is good if we have two software instance, But I need to built a Software-group (kind of baseline) only if I have 3 - (or 4) software instance on the same host.
Can we do it? (I attached a .cam file that I try with 3 software instance)
If we can do it.. how do you recommend to start the logic?
for example the Sql have 47 installations, the MacAfee have 10 installations, and the IIS Service have 39 installations
Does the order is important?
Thanks a lot,
Do you have any problems with what you've done because it looks fine to me? The key thing is you've created functional component definitions which all start (apart from the first one) by traversing from the previous one, and you've marked them all as "Required".
As for ordering, it doesn't really matter - the generated pattern will only trigger on one functional component definition anyway so there will always be a timing issue on the initial scan of a Host, where not all requried SoftwareInstances are yet created. After a couple of scans you should have all required SoftwareInstances created and the BAI will be created too.
1. If I
search for the third software (in this example IIS) then before I choose IIS, I
was able to see Microsoft IIS Service , but after I choose IIS…
And then search nothing been found (see attached
2-no results found.jpg)
2. So I
generate the TPL, and run discovery (few times…) but the Software-Group didn't been created on
the host (see attached 4- software instance on the same host.jpg)
attached the TPL again, and also the 1-software-application-mapping, 3-no-software-group
how to solve this issue?
very important for my company solve this and to succeeded with the application-mapping
want to thanks you very much with your assistance
In attachment 2 (screenshot of your Functional Component Definition) you have a condition where you say "Instance contains word 'Microsoft IIS Service'".
You probably want that to look like
"Name contains word 'Microsoft IIS Service'".
The Instance attribute of a SoftwareInstance is the optional name that a piece of software uses to identify itself. Often it is not supplied.
Thanks for everything - It works well