Generating the KSYS system report

After you add all the required resources to the KSYS configuration, you can generate the KSYS system report that summarizes the entire KSYS environment.

Instead of running different commands to query each resource, you can generate a consolidated report to view all the added resources in the KSYS configuration.
To generate the KSYS system report, run the following command:
ksysmgr report system
An output that is similar to the following example is displayed:
This is the latest KSYS configurations, please run discover to capture any changes
 
KSYS is ready to be issued a command
Ksysmgr version: 1.10.0.0
Ksys version:    1.10.0.0
Status:
Current environment:
====================
Number of sites:2
Number of storage agents:2
Number of HMCs:2
Number of hosts:4
Number of host_groups:1
Number of VIOS:8
Number of VMs:34
Total managed processors: 8.00
Total managed memory: 40960.00 MB
You can also generate an organized report by using the verbose option:
ksysmgr -v report system
An output that is similar to the following example is displayed:
ksysmgr -v report system
This is the latest KSYS configurations, please run discover to capture any changes
KSYS is ready to be issued a command
Ksysmgr version: 1.10.0.0
Ksys version:    1.10.0.0
Status:
Current environment:
====================
Home Site: Austin
    Host_Group: HA_DR_HG
         Active Hosts: rt07
                rt08
         Backup Hosts: rt09
                rt10
    HOST: rt08
         HMC:
              e17vhmc2
         VIOS:
              rt08v2
              rt08v1
         Paired Host:
              none
         Number of Managed VMs: 1
         Managed Processors: 4.00
         Managed Memory: 20480.00 MB
    HOST: rt07
         HMC:
              e17vhmc2
         VIOS:
              rt07v2
              rt07v1
         Paired Host:
              none
         Number of Managed VMs: 1
         Managed Processors: 4.00
         Managed Memory: 20480.00 MB
    Storage Agent:
              storwize11
    Total Managed Processors: 8.00
    Total Managed Memory: 40960.00 MB
Backup Site: India
    HOST: rt10
         HMC:
              e17vhmc3
         VIOS:
              rt10v2
              rt10v1
         Paired Host:
              none
         Number of Managed VMs: 0
         Configurable Processors: 24.00
         Configurable Memory: 1048576.00 MB
    HOST: rt09
         HMC:
              e17vhmc3
         VIOS:
              rt09v2
              rt09v1
         Paired Host:
              none
         Number of Managed VMs: 0
         Configurable Processors: 19.00
         Configurable Memory: 1048576.00 MB
    Storage Agent:
              storwize21
    Total configurable Processors: 43.00
    Total configurable Memory: 2097152.00 MB

Displaying KSYS inventory report

You can display the available memory and processor capacity, and the memory and processor capacity that is already used by hosts, host groups, workgroups, and the site. The report gives you an overview of resources that are used in the current site and also the memory and processor capacity that is needed for an upcoming failover operation. The report is based on number of virtual machines present in the KSYS cluster.
To display the memory and processor usage report, run the following command:
ksysmgr show inventory
An output that is similar to the following screen is displayed:
========== Home Site Configuration :Site1 ==========

Total managed processors: 5.00
Total managed memory: 20480.00 MB
Total free processors: 78.00
Total free memory: 4104704.00 MB

---------- Alternate Site :Site2----------
Total Free processors: 36.00
Total Free memory: 1034496.00 MB

---------- Host Groups in Home Site ----------

**** Host Group: HG1 ****
Managed Processors : 5.00
Managed Memory : 20480.00
Free Processors : 39.00
Free Memory : 2052352.00

**** Host Group: Default_HG ****

---------- Alternate Site :Site2----------

**** Host Group: HG1 ****
Free Processors : 36.00
Free Memory : 1034496.00

**** Host Group: Default_HG ****

---------- Work Groups in Home Site ----------

**** Work Group : Default_WG_2 ****
Managed Processors : 5.00
Managed Memory : 20480.00

---------- Hosts in Home Site ----------

**** Host : eXXboy-XXXX-XXL-XXXXXBA ****
Managed Processors : 24.00
Managed Memory : 1048576.00
Free Processors : 17.00
Free Memory : 1015808.00

**** Host : eXXman-XXXX-XXL-XXXXXA ****
Managed Processors : 24.00
Managed Memory : 1048576.00
Free Processors : 22.00
Free Memory : 1036544.00

========== Backup Site configuration: Site2 ==========

Total managed processors : 0.00
Total managed memory : 0.00 MB
Total Free processors : 36.00
Total Free memory : 1034496.00 MB

---------- Alternate Site :Site1----------
Total free processors: 78.00
Total free memory: 4104704.00 MB

---------- Work Groups in Backup Site ----------

---------- Hosts in Backup Site ----------

**** Host : fXXirtysh-XXXX-XXA-XXXXAXT ****
Managed Processors : 10.00
Managed Memory : 32768.00
Free Processors : 7.00
Free Memory : 9728.00

**** Host : sehX_XXXX-EXD-XXDAFXT ****
Managed Processors : 32.00
Managed Memory : 1048576.00
Free Processors : 29.00
Free Memory : 1024768.00