PowerFlex: SDS MD_cache 상태가 결과 보류 중입니다.
Summary: PD(Protection Domain)에서 MD_cache를 설정하고 활성화하면 SDS의 FGL 메타데이터 캐시 상태가 "보류 중인 결과"로 표시됩니다.
Symptoms
MD_cache 구성 및 활성화에 대한 공식 설명서에서 누락된 두 가지 시나리오는 위의 내용을 보여주지 못합니다.
시나리오 1: PD가 생성 > 되고 SDS가 추가 > MD_cache 구성 및 활성화됩니다.
MD_cache 구성하고 활성화하기 전에 새로 생성된 SDS를 새로 생성된 PD에 추가하면 FGL 메타데이터 캐시 상태가 "보류 중인 결과"로 설정되며, MD_cache 적용하려면 사용자가 "MD_cache를 성공적으로 구성하고 활성화하는 단계"의 해결 섹션에 설명된 절차를 실행해야 합니다.
시나리오 2: SDS MD_cache가 있는 기존 PD > 가 구성되고 활성화됨
기존 SDS가 있는 기존 PD에서 MD_cache가 구성되고 활성화되면 SDS의 FGL 메타데이터 캐시 상태가 "보류 중인 결과"로 설정되며, MD_cache 적용하려면 사용자가 "MD_cache 성공적으로 구성하고 활성화하는 단계"의 해결 섹션에 설명된 절차를 실행해야 합니다.
Cause
Resolution
MD_cache를 성공적으로
구성하고 활성화하는 단계주의: 기존 SDS를 사용하는 PD에서 MD_cache를 비활성화하고 활성화하면 성능에 영향을 미칠 수 있습니다.
1) 다음 명령을 실행하여 보호 도메인
의 각 SDS에서 MD_cache가 사용하는 메모리를 할당합니다. 참고: SDS당 할당할 수 있는 최대 메모리양은 32GiB입니다.
scli --set_default_fgl_metadata_cache_size (--protection_domain_id <ID> | --protection_domain_name <NAME>) --metadata_cache_size_mb <SIZE>
2) 다음 명령을 실행하여 보호 도메인에서 MD_cache 활성화합니다.
scli --enable_fgl_metadata_cache (--protection_domain_id <ID> | --protection_domain_name <NAME>)
3) 다음 명령을 실행하여 PD의 각 SDS에 대한 MD_cache 크기를 구성합니다.
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) 다음 명령을 실행하여 보호 도메인에서 MD_cache 비활성화합니다.
scli --disable_fgl_metadata_cache (--protection_domain_id <ID> | --protection_domain_name <NAME>)
5) 다음 명령을 실행하여 보호 도메인에서 MD_cache 활성화합니다.
scli --enable_fgl_metadata_cache (--protection_domain_id <ID> | --protection_domain_name <NAME>)
Additional Information
예:
[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