Server CI Cloud Hosted Data

Derek C
Tera Guru

Hi all,

 

We are trying to capture data regarding where a cloud hosted server is hosted. Currently we only have two options (On Prem and Azure). I don't see any OOB fields for this data. 

 

Does anyone have any solutions regarding best practices for capturing this data? My idea was just to create a drop down with out two current options, and then populate that data as needed, but I wanted to make sure there wasn't something out of box I was missing.

 

Thanks!

1 ACCEPTED SOLUTION

SteveMacWWT
Kilo Sage

There are a couple of quick options I can think of, depending on the maturity of your organization. 

 

The first, and the one that I would say is the MOST correct, is to create a datacenter CI, and relate the servers to the data center. The downside to this is the need to use CMDB Query Builder to produce a dataset that can easily be consumed by others (via reports, dashboards, etc.). 

 

The second, and one I've seen used elsewhere (but don't really like), is to use the 'Location' field on the CI. The 'rightness' of this solution is questionable, but for a less mature organization is acceptable in my mind, since it is the location of the CI.

View solution in original post

6 REPLIES 6

Hi @Derek C ,

 

Azure cloud discovery is using the ServiceAccount to discovery the cloud resources basically but here using ACC you are discovering the Azure cloud host in ServiceNow, So that will be populated in Same table only in which on-prem host are populating, there is no difference and no other documenation available as i Know.

 

but if you want to differentiate in Azure and On Prem CI, then you need to add the custom arrtibute to find the partilcular host based on CI type (On-prem,Cloud).

 

As you are here discovering of Azure cloud host  not the cloud resources.

 

I hope, I am able to clarify the same to you

 

 

Please appreciate the efforts of community contributors by marking appropriate response as Mark my Answer Helpful or Accept Solution this may help other community users to follow correct solution in future.

 

Thanks

AJ

Linkedin Profile:- https://www.linkedin.com/in/ajay-kumar-66a91385/

ServiceNow Community Rising Star 2024

CMDB Whisperer
Mega Sage

It depends on the sources of data you are using.  Perhaps the most useful way to answer such questions is by following the WWDD approach ("what would Discovery do?")...

 

In a nutshell, if you're talking about Servers (or an Application or Database Instance that runs on a Server), then it's just about following the trail.  First, anything that's physical is on-prem, and you can tell that because the Model ID field contains the model of a physical device, and the Is Virtual flag is set to false.  If the Is Virtual flag is true, that means it may be in the cloud.  (Some would consider some on-prem virtualized servers to be in a "private cloud" but let's just assume you mean on-prem vs public cloud.)  If it is a virtual server, then you should find a relationship to a VM Instance, whether it is on-prem or in the cloud.  To tell the difference, you should then look for the logical datacenter that the VM Instance is hosted on.  The logical datacenter is provider-specific, based on the sub-class, so if it's an AWS or Azure datacenter, the answer is clear.  If it is a VMWare data center, it's most likely on-prem, but you should be able to further trace the relationships to the physical devices where the VM is hosted. 

 

If you are not running cloud discovery and you are just bringing in the data from an OS-level Service Graph Connector, you may only be able to get OS-level information.  If there is an Object ID this is a good clue that it may be a cloud hosted server, but for a definitive answer you still need to understand what that Object ID maps to, which requires that you have both cloud discovery (or AWS/Azure service graph connectors) so that you have both the OS and cloud perspectives, and use the Object ID to tie them together.


The opinions expressed here are the opinions of the author.