Configuring storage devices refresh time

Unified Compute Platform (UCP) Advisor Administration Guide

Version
4.6.x
Audience
anonymous
Part Number
MK-92UCP119-15
ft:lastEdition
2024-09-24

The storage device information is automatically refreshed every hour, by default. However, you can configure the refresh time.

  1. Using the SSH protocol, log on to the UCP Advisor VM as ucpadmin.
  2. Open the porcelain-config-properties config map in edit mode. Enter:
    kubectl -n ucp edit configmap porcelain-config-properties -n ucp -oyaml
  3. Set the cron_refresh_all_storagesystems parameter to a value for which you want to refresh the storage device information.

    The default setting is configured as 0 0 * * * *.

    Each numerical position in this configuration represents seconds, minutes, hour, day, month, and year, respectively. The asterisk (*) symbolizes every instance.

    For example, in the cron expression 0 0 * * * *:
    • The first field (0) represents the second.
    • The second field (0) represents the minute.
    • The third field (*) represents the hour.
    • The fourth field (*) represents the day of the month.
    • The fifth field (*) represents the month.
    • The sixth field (*) represents the year.
    So, the cron expression 0 0 * * * * implies that the storage device information will be refreshed at the start of every hour.
  4. Exit the Edit mode. Press the Esc key.
  5. Save the changes. Enter:
    :wq