VxRail: How to Resolve CloudIQ not Reporting Correct Last Contact Dates for DYNAMIC_NODE Clusters

Summary: How to resolve CloudIQ not reporting correct Last Contact dates for DYNAMIC_NODE clusters on 7.0.400+.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

Cluster is DYNAMIC_NODE.
VxRail version is 7.0.400+.
ADC is below 1.5.306 (future release with fix)

CIQ last arrival date has not been updated.
CIQ last arrival date not being updated

Cause

The cluster tag changed in 7.0.400+ from 'COMPUTE' to 'DYNAMIC_NODE' and the change was not picked up in ADC.

Resolution

Use KB 000019890 Dell VxRail: How to upgrade ADC manually to upgrade to the latest ADC code.

If the ADC version is below 1.5.306, manually change the scripts:

  • Change to tcserver
vcluster101-vxrm:/home/mystic # su tcserver

 

  • Check if scripts contain 'COMPUTE'
tcserver@vcluster101-vxrm:/home/mystic> grep "'COMPUTE'" /mystic/telemetry/DCManager/ADC/plugins/*.py
/mystic/telemetry/DCManager/ADC/plugins/collect_privileges.py:                    if 'COMPUTE' in cluster_type() and get_cluster_moid_from_config_service() == cluster.entity._moId:
/mystic/telemetry/DCManager/ADC/plugins/collectutil.py:    if 'COMPUTE' in cluster_type():  # compute cluster is supported after AS
/mystic/telemetry/DCManager/ADC/plugins/collectutil.py:    if 'COMPUTE' in cluster_type():  # compute cluster is supported after AS
tcserver@vcluster101-vxrm:/home/mystic>

 

  • Check if the ADC is running and stop it
tcserver@vcluster101-vxrm:/home/mystic> /mystic/telemetry/DCManager/bin/status.sh
adc:adc-api                      RUNNING   pid 2894, uptime 21:33:10
adc:adc-framework                RUNNING   pid 2893, uptime 21:33:10
datapolicy                       RUNNING   pid 2861, uptime 21:33:15
update                           RUNNING   pid 2936, uptime 21:33:04
tcserver@vcluster101-vxrm:/home/mystic> /mystic/telemetry/DCManager/bin/manual_stop.sh
current VXM version +7.0.410
stoping DP......
datapolicy: stopped
stopping ADC......
adc:adc-framework: stopped
adc:adc-api: stopped
7.0.410 >= 7.0.350
current no support DT, since Magnus
stopping UPDATE......
update: stopped
tcserver@vcluster101-vxrm:/home/mystic>

 

  • Make backup of current files to be changed
tcserver@vcluster101-vxrm:/home/mystic> cp /mystic/telemetry/DCManager/ADC/plugins/collect_privileges.py /mystic/telemetry/DCManager/ADC/plugins/collect_privileges.py.bak
tcserver@vcluster101-vxrm:/home/mystic> cp /mystic/telemetry/DCManager/ADC/plugins/collectutil.py /mystic/telemetry/DCManager/ADC/plugins/collectutil.py.bak

 

  • Replace COMPUTE with DYNAMIC_NODE
tcserver@vcluster101-vxrm:/home/mystic> sed -i "s/COMPUTE/DYNAMIC_NODE/g" /mystic/telemetry/DCManager/ADC/plugins/collect_privileges.py
tcserver@vcluster101-vxrm:/home/mystic> sed -i "s/COMPUTE/DYNAMIC_NODE/g" /mystic/telemetry/DCManager/ADC/plugins/collectutil.py

 

  • Check if changed
tcserver@vcluster101-vxrm:/home/mystic> grep DYNAMIC_NODE /mystic/telemetry/DCManager/ADC/plugins/*.py
/mystic/telemetry/DCManager/ADC/plugins/collect_privileges.py:                    if 'DYNAMIC_NODE' in cluster_type() and get_cluster_moid_from_config_service() == cluster.entity._moId:
/mystic/telemetry/DCManager/ADC/plugins/collectutil.py:    if 'DYNAMIC_NODE' in cluster_type():  # compute cluster is supported after AS
/mystic/telemetry/DCManager/ADC/plugins/collectutil.py:    if 'DYNAMIC_NODE' in cluster_type():  # compute cluster is supported after AS
/mystic/telemetry/DCManager/ADC/plugins/collectutil.py:        logger.info('[Collect Utils] Check cluster in vc: cluster type is DYNAMIC_NODE, moid: {}, cluster_moid: {}'.format(
/mystic/telemetry/DCManager/ADC/plugins/collectutil.py:            '[Collect Utils] Check cluster in vc: cluster type is not DYNAMIC_NODE, vsanid: {}, cluster_id {}'.format(
tcserver@vcluster101-vxrm:/home/mystic>

 

  • Start ADC
tcserver@vcluster101-vxrm:/home/mystic> /mystic/telemetry/DCManager/bin/manual_start.sh
environment checking...
initialize database...
Checking supervisor.....
supervisor started!
No config updates to processes
Restarted supervisord
Check python version
Python version is 3+
File replace completed
current VXM version +7.0.410
Starting DP.....
datapolicy: started
Starting ADC.....
adc:adc-framework: started
adc:adc-api: started
7.0.410 >= 7.0.350
Don't support DT anymore for Magnus and Magnus+
Starting UPDATE.....
update: started
tcserver@vcluster101-vxrm:/home/mystic>


Wait for 1+ hour and check if CIQ shows an update (can take longer depending on backend processing).
 

Affected Products

VxRail
Article Properties
Article Number: 000211280
Article Type: Solution
Last Modified: 07 رمضان 1447
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.