Datastore relationship tables

ServiceNow provides tables that contain the relationships between an ESXi host and its datastore and the specific disks to which the datastore is connected.

ServiceNow Discovery establishes the relationships between a datastore, the disks attached to the datastore, and the ESXi server that hosts the virtual machines using that datastore. From the perspective of the ESXi host, iSCSI and fibre channel disks connected to the datastore are treated as physical disks. Discovery does not show the direct relationship of the storage disks to the ESXi host.

Note: Storage can be hosted on computers that are not discovered by Discovery. ESXi hosts are discovered through vCenter, and storage is discovered separately through CIM. The system can only establish the relationship between the two when storage is discovered before ESXi.
Table 1. Datastore tables
Table Description
cmdb_ci_vcenter_datastore_disk Stores the relationship of the physical disk to the datastore.
vcenter_datastore_hostmount Stores the relationship between the datastore and the ESXi server to which it is connected.
cmdb_ci_disk Contains the physical disks connected directly to the datastore. This table also contains a reference to the ESXi host.
cmdb_ci_fc_disk Contains the fibre channel disks in a storage area network (SAN) connected to the datastore. This table also contains a reference to the ESXi host.
cmdb_ci_iscsi_disk Contains the iSCSI disks in an IP network connected to the datastore. This table also contains a reference to the ESXi host.