The VMware adapter
provides a SAS data table that enables you to provide memory specifications
for the hosts in your environment. This table is located by default
in the SASHELP library, and contains no data. If you want to use
this table to provide memory information, perform the following steps:
-
Locate, or create, the
IT data mart that you want to use for staging VMware data.
-
Locate the
Administrative
folder. Right-click the library within
that folder. (The library is called
Admin nnnnn, where
nnnnn is a random number that was generated when
the IT data mart was created.)
-
Select the entire LIBNAME
statement in the displayed box. Then right-click the LIBNAME statement
and select
Copy.
-
Launch an interactive
session of SAS. Use the
Paste function to
paste the LIBNAME statement into an
Editor window.
-
Submit the LIBNAME statement.
-
In the
Explorer window, locate the SAS data table called ITMS_VMware_HostMemory
by drilling down into the SASHELP library.
-
Use the
Copy and
Paste functions to
copy this table to the
Admin nnnnn library.
-
Now you can edit the
table that you copied to the
Admin nnnnn library. To do so, use VIEWTABLE
to add and update rows. (To access VIEWTABLE, double-click the table
in the
Explorer window.)
The ITMS_VMware_HostMemory
lookup table has the following six columns:
-
-
-
the total amount of
physical RAM in the ESX host machine that is seen by VMware ESX.
-
the total amount of
RAM that is allocated to the VMkernel. This amount does not include
virtualization overhead. This amount is the fixed amount of RAM that
is available based on the host's total RAM.
-
EsxHostVirtualMachinesRam
the total amount of
RAM that is configured for the Service Console.
-
the amount of physical
memory that is remaining for virtualization. This value is calculated
by subtracting the Service Console memory and the System Memory from
the total amount of RAM in the host.
The value in the cluster
column should be the name of the cluster and the value in the host
column should be the name of the host for this observation. (Case
does matter. The names in the
Host column
should match the names in vCenter up to the first period. For example,
Machine.abcdefg.company.com should be listed as Machine.) You can
also update this table programmatically if it has the correct columns,
as described previously.
When this table is populated
and you run the staging code, the columns
EsxHostTotalRam,
EsxHostSystemRam,
EsxHostVirtualMachinesRam, and
EsxHostServiceConsoleRam in the HostSystem
staged table will have with the correct values from the lookup table.
If values for the memory metrics are not provided for a cluster and
host, then those variables are set to missing values for that cluster
and host. If the lookup table does not exist in the ADMIN library
or is empty, then all values for the four mentioned memory variables
are set to missing.
Note: If the lookup table does
not exist in the ADMIN library or is empty, the HA and DRS supplied
reports that depend on the
EsxHostTotalRam,
EsxHostSystemRam,
EsxHostVirtualMachinesRam, and
EsxHostServiceConsoleRam metrics will
not provide useful reports.