PowerFlex: SDS MD_cache status is pending result
Summary: Het instellen en inschakelen van MD_cache in een beschermingsdomein (PD) resulteert in de FGL-metadatacachestatus van SDS in 'pending result'.
Symptoms
Twee ontbrekende scenario's in de officiële documentatie voor het configureren en inschakelen van MD_cache laten het bovenstaande niet zien.
Scenario 1: PD wordt gemaakt > SDS'en worden toegevoegd > MD_cache is geconfigureerd en ingeschakeld
Wanneer nieuw gemaakte SDS'en worden toegevoegd aan een nieuw gemaakte SDS-kaart voordat MD_cache is geconfigureerd en ingeschakeld, wordt de status van de FGL-metadatacache ingesteld op "pending result" en om MD_cache toe te passen moet een gebruiker de procedure uitvoeren die hieronder wordt beschreven in de sectie Oplossing onder "Stappen voor het configureren en inschakelen van MD_cache".
Scenario 2: Bestaande PD met SDS-MD_cache > is geconfigureerd en ingeschakeld
Wanneer MD_cache is geconfigureerd en ingeschakeld op een bestaande PD met bestaande SDS-exemplaren, wordt de status van de FGL-metadatacache op de SDS'en ingesteld op 'pending result'. en voor het toepassen van MD_cache moet een gebruiker de procedure uitvoeren die hieronder wordt beschreven in het gedeelte Oplossing onder 'Stappen voor het configureren en inschakelen van MD_cache.
Cause
Resolution
Stappen voor het configureren en inschakelen van MD_cache
Aandacht: Bij het uitschakelen en inschakelen van MD_cache op PD met bestaande SDS-exemplaren, kunnen de prestaties worden beïnvloed.
1) Voer de volgende opdracht uit om het geheugen toe te wijzen dat wordt gebruikt door MD_cache op elke SDS in het beschermingsdomein:
Opmerking: De maximale hoeveelheid geheugen die per SDS kan worden toegewezen is 32 GiB.
scli --set_default_fgl_metadata_cache_size (--protection_domain_id <ID> | --protection_domain_name <NAME>) --metadata_cache_size_mb <SIZE>
2) Voer de volgende opdracht uit om MD_cache in het beschermingsdomein in te schakelen:
scli --enable_fgl_metadata_cache (--protection_domain_id <ID> | --protection_domain_name <NAME>)
3) Voer de volgende opdracht uit om de grootte van de MD_cache voor elke SDS in de PD te configureren:
scli --set_fgl_metadata_cache_size (--sds_id <ID> | --sds_name <NAME> | --sds_ip <IP> [--sds_port <PORT>]) (--metadata_cache_size_mb <SIZE> | --use_protection_domain_default_size)
--metadata_cache_size_mb <SIZE>
Define the default size of the metadata cache for the SDS in MB
--use_protection_domain_default_size
Use the default size of the Protection Domain
4) Voer de volgende opdracht uit om MD_cache in het beschermingsdomein uit te schakelen:
scli --disable_fgl_metadata_cache (--protection_domain_id <ID> | --protection_domain_name <NAME>)
5) Voer de volgende opdracht uit om MD_cache in het beschermingsdomein in te schakelen:
scli --enable_fgl_metadata_cache (--protection_domain_id <ID> | --protection_domain_name <NAME>)
Additional Information
Voorbeeld:
[root@MDM1 ~]# scli --add_protection_domain --protection_domain_name PD1
Successfully created protection domain. Object ID 339ccbae00000000
[root@MDM1 ~]# scli --add_sds --sds_ip 172.1.1.1 --protection_domain_name PD1 --device_name /dev/sdb,/dev/sdc,/dev/sdd --sds_name SDS1 --storage_pool_name SP1
Successfully created SDS SDS1. Object ID 3789dbd500000000
[root@MDM1 ~]# scli --set_default_fgl_metadata_cache_size --protection_domain_name PD1 --metadata_cache_size_mb 32768
Successfully set fine granularity default metadata cache size for Protection Domain
[root@MDM1 ~]# scli --enable_fgl_metadata_cache --protection_domain_name PD1
Successfully enabled fine granularity metadata caching on Protection Domain
[root@MDM1 ~]# scli --query_sds --sds_name SDS1 | grep FGL
FGL metadata cache information:
FGL metadata cache state is pending result <<<
FGL metadata cache size: 32768 MB
[root@MDM1 ~]# scli --set_fgl_metadata_cache_size --sds_name SDS1 --use_protection_domain_default_size
Successfully set fine granularity metadata cache size for SDS
[root@MDM1 ~]# scli --disable_fgl_metadata_cache --protection_domain_name PD1
Successfully disabled fine granularity metadata caching on Protection Domain
[root@MDM1 ~]# scli --query_sds --sds_name SDS1 | grep FGL
FGL metadata cache information:
FGL metadata cache is disabled <<<
FGL metadata cache size: 32768 MB
[root@MDM1 ~]# scli --enable_fgl_metadata_cache --protection_domain_name PD1
Successfully enabled fine granularity metadata caching on Protection Domain
[root@MDM1 ~]# scli --query_sds --sds_name SDS1 | grep FGL
FGL metadata cache information:
FGL metadata cache is enabled <<<
FGL metadata cache size: 32768 MB