O PowerScale InsightIQ 5.x mostra o último registro de data e hora de atualização como 2020 ou 2021 após a importação do 4.x
Summary: A WebUI do InsightIQ 5.x mostra um registro de data e hora incorreto da última atualização devido a uma tabela desatualizada no banco de dados.
Symptoms
Cause
Isso se deve a um system_workload Tabela no banco de dados que não é mais atualizada ou usada desde 2020 ou 2021. Isso só é visto em datastores importados mais antigos.
Resolution
Corrija o system_workload Problema de atraso na recuperação de dados de 2020.
Verifique onde o banco de dados está sendo armazenado:
# kubectl get pvc -A | grep storage
Vá para a seção correta com base no tipo de armazenamento:
Armazenamento local:
# kubectl get pods -A | grep ha-cmo
# kubectl exec -it postgres-ha-cmo1-xxxx-x -n atlantic -- psql
# \l
# \c clustername_guid <<<< get the clustername_guid from \l above for the cluster in question >>>>>>
# SELECT api, time FROM data_time WHERE resolution = 5 AND api NOT LIKE 'cluster_%%%%' order by time;
# delete from data_time where api='system_workload';
# SELECT api, time FROM data_time WHERE resolution = 5 AND api NOT LIKE 'cluster_%%%%' order by time;
# \q
Atualize a tela após cerca de 5 a 10 minutos e verifique se a data está normal. Se a data não estiver normal, verifique novamente as tabelas para verificar system_workload não recriou:
# kubectl exec -it postgres-ha-cmo1-xxxx-x -n atlantic -- psql
# \l
# \c clustername_guid <<<< get the clustername_guid from \l above for the cluster in question >>>>>>
# SELECT api, time FROM data_time WHERE resolution = 5 AND api NOT LIKE 'cluster_%%%%' order by time;
Armazenamento NFS (Network File System):
# kubectl get pods -A | grep iiqsm
# kubectl exec -it iiqsm-psql-XXXX-xxxx -n atlantic -- psql -U iiqsm -h localhost -d postgres
# \l
# \c clustername_guid <<<< get the clustername_guid from \l above for the cluster in question >>>>>>
# SELECT api, time FROM data_time WHERE resolution = 5 AND api NOT LIKE 'cluster_%%%%' order by time;
# delete from data_time where api='system_workload';
# SELECT api, time FROM data_time WHERE resolution = 5 AND api NOT LIKE 'cluster_%%%%' order by time;
# \q
Atualize a tela após cerca de 5 a 10 minutos e verifique se a data está normal. Se a data não estiver normal, verifique novamente as tabelas para verificar system_workload não recriou.
# kubectl exec -it iiqsm-psql-XXXX-xxxxx -n atlantic -- psql -U iiqsm -h localhost -d postgres
# \l
# \c clustername_guid <<<< clustername_guid from \l above >>>>>>
# SELECT api, time FROM data_time WHERE resolution = 5 AND api NOT LIKE 'cluster_%%%%' order by time;