Vm_lun_info, Vm_statistics_info – Brocade Network Advisor SAN + IP User Manual v12.3.0 User Manual
Page 2661
Brocade Network Advisor SAN + IP User Manual
2589
53-1003155-01
Views
I
VM_VIRTUAL_MACHINE.HOSTNAME as VM_HOSTNAME,
VM_VIRTUAL_MACHINE.BOOT_TIME as VM_BOOT_TIME,
VM_VIRTUAL_MACHINE.DATASTORE_NAME,
VM_VIRTUAL_MACHINE.DATASTORE_LOCATION,
VM_VIRTUAL_MACHINE.NODE_WWN as VM_NODE_WWN
from
VM_DATA_CENTER,
VM_HOST
left join VM_VIRTUAL_MACHINE
on VM_HOST.DEVICE_ENCLOSURE_ID = VM_VIRTUAL_MACHINE.HOST_ID
where
VM_DATA_CENTER.ID = VM_HOST.VM_DATACENTER_ID;
VM_LUN_INFO
create or replace view VM_LUN_INFO as
select
VM_STORAGE.HOST_ID,
VM_STORAGE.ID as LUN_ID,
VM_STORAGE.NAME as LUN_NAME,
VM_STORAGE.TARGET_NODE,
VM_STORAGE.VENDOR,
VM_STORAGE.MODEL,
VM_STORAGE.SERIAL_NUMBER,
VM_STORAGE.TYPE,
VM_STORAGE.CAPACITY,
VM_STORAGE.STATUS as LUN_STATUS,
VM_STORAGE.PATH_POLICY,
VM_STORAGE.ISCSI_TARGET_ADDRESS,
VM_STORAGE.ISCSI_TARGET_PORT,
VM_STORAGE.NAS_REMOTE_HOST,
VM_STORAGE.NAS_REMOTE_PATH,
VM_PATH.FS_TYPE,
VM_PATH.ID as PATH_ID,
VM_PATH.VM_ID as PATH_VM_ID,
VM_PATH.NAME as PATH_NAME,
VM_PATH.FABRIC_ID,
VM_PATH.HBA_PORT,
VM_PATH.VM_PORT_WWN,
VM_PATH.TARGET_PORT,
VM_PATH.HBA_NODE,
VM_PATH.VM_NODE_WWN,
VM_PATH.TARGET_NODE as PATH_TARGET_NODE,
VM_PATH.HBA_NAME,
VM_PATH.USAGE as PATH_USAGE,
VM_PATH.ENABLED as PATH_ENABLED,
VM_PATH.ACTIVE as PATH_ACTIVE,
VM_PATH.PREFERRED as PATH_PREFERRED
from
VM_STORAGE join VM_PATH on VM_STORAGE.ID = VM_PATH.STORAGE_ID;
VM_STATISTICS_INFO
This view gets the FC port statistics for the VM Connectivity data.
create or replace view VM_STATISTICS_INFO as
select distinct
DEVICE_PORT.SWITCH_PORT_WWN,