Virtual Machine in the CMDB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2014 09:59 AM
Hi All,
How to Identify the Virtual Machine in the CMDB for Auto discovery.
I've created the script to identify Virtual machine for some server.
Please help me to color code or identify the all Physical (In green color) and Virtual (Light green Color).
Thanks,
Santosh
- Labels:
-
Discovery
-
Service Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2014 01:45 PM
Does it work with the updated business rule?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2014 01:58 PM
Hi,
No, I've tried the updated BR, but still facing the same problem.
Please help me out.
Thanks,
Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2014 04:51 PM
This may or may not work, but try using these lines of code
var model_name=fVMGr.model_id.name.toString().toLowerCase();
if (model_name.indexOf("integrity virtual machine") > -1)
Whenever I use indexOf(), I always try to standardize the case of the input. I've run into too much trouble when I didn't.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2014 11:31 AM
Hi,
Still, unable to upgrade the "IS Virtual" state is "true" for Virtual machine in cmdb database.
Thanks,
Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2014 12:53 PM
Can you post the BR in a text file. The lack of formatting is making it extremely hard to read.