Omitir para ir al contenido principal
  • Hacer pedidos rápida y fácilmente
  • Ver pedidos y realizar seguimiento al estado del envío
  • Cree y acceda a una lista de sus productos
  • Administre sus sitios, productos y contactos de nivel de producto de Dell EMC con Administración de la empresa.

Dell Unity: SP 유지 보수 작업 중 쓰기 캐시를 올바르게 관리하는 방법(사용자 수정 가능)

Resumen: 이 문서에서는 쓰기 캐시 관리(비활성화, 활성화, 확인, 플러싱)와 관련된 Unity SP 유지 보수 작업에 대한 모범 사례를 제공합니다. 아래에 설명된 단계는 Unity OS 5.3 이하에 적용됩니다. OS 5.4 이상을 실행하는 Unity 어레이에서 SP가 서비스 모드로 전환되면 쓰기 캐시가 자동으로 비활성화됩니다.

Es posible que este artículo se traduzca automáticamente. Si tiene comentarios sobre su calidad, háganoslo saber mediante el formulario en la parte inferior de esta página.

Contenido del artículo


Instrucciones

예약된 SP 하드웨어 유지 보수 작업을 수행하기 전에 쓰기 캐시를 비활성화하는 것이 좋습니다. 이는 유지 보수 작업을 수행하는 동안 피어 SP에서 드문 2차 문제가 발생할 경우 발생할 수 있는 잠재적인 영향을 방지하기 위한 것입니다.

SP 하드웨어 유지 보수 작업은 다음 부품 목록 중 하나를 교체하는 것으로 정의됩니다.
 
부품
DIMM
SFP
SP
BBU
I/O 모듈
M.2 SATA
DPE 섀시
메자닌
DPE PSU - 전원 공급 장치

또한 다음 작업도 영향을 받는 하드웨어 유지 보수 작업으로 간주되므로 쓰기 캐시를 사용하지 않도록 설정하는 것이 좋습니다.
 
활동
DIP(Data-In-Place) 업그레이드

TSE는 이 Dell 기술 자료 문서의 내부 메모에 있는 작업 오더 생성 지침을 검토하고 따라야 합니다.

3개의 새 스위치를 포함하도록 svc_cache 명령이 업데이트되었습니다. --get, --disable, 및 --enable. 이 업데이트는 Dell 기술 지원 또는 공인 서비스 공급업체에서 Unity 시스템에 로드해야 합니다. 이는 루트 셸 없이 캐시 업데이트를 수행하고 더 높은 수준의 지원을 받을 수 있다는 이점입니다.

업데이트: 
svc_cache 명령 업데이트는 이제 Unity OE 릴리스 5.2 이상에 번들로 제공됩니다. 따라서 Unity 어레이가 업데이트된 OE 코드로 업그레이드되면 수동으로 설치할 필요가 없습니다.

아래에 설명된 단계는 Unity OS 5.3 이하에 적용됩니다.  OS 5.4 이상을 실행하는 Unity 어레이에서 SP가 서비스 모드로 전환되면 쓰기 캐시가 자동으로 비활성화됩니다.
 
참고:
사용하는 브라우저에 따라 글꼴이 명령, 특히 굵은 줄에서 --(이중 하이픈)를 왜곡할 수 있습니다.

svc_cache 명령 뒤에는 매개변수 앞에 단일 -가 아닌 --(이중 하이픈)가 옵니다.
굵게 표시된 명령을 이 KB에서 메모장으로 복사하면 이중 하이픈이 더 정의됩니다.

새 명령이 여기에 나열되고 아래에 자세히 설명되어 있습니다.
svc_cache --force-enableCacheOperations
svc_cache --get
svc_cache --disable
svc_cache --enable
svc_cache --disableCacheOperations

업데이트된 svc_cache 명령이 이미 설치되어
있는지 확인새 명령 중 하나를 실행하면 패키지가 설치되어 있는지 여부를 확인할 수 있습니다. svc_cache 명령이 이미 새 명령으로 확장되었는지 여부에 따라 다르게 응답합니다. 이를 테스트하기 위해 svc_cache --get 명령을 사용합니다.

패키지가 아직 설치되지 않은 경우:
   svc_cache --get 명령을 실행하면 다음 명령의 사용법이 반환됩니다.
 
19:44:58 service@APM00123456789 spa:~/user# svc_cache --get
This script displays and clears the Cache Dirty or Cache Lost LUNs(CDCA) on this system.
Usage: svc_cache [<qualifiers>]
  이 경우 Dell 기술 지원 부서 또는 공인 서비스 공급업체에 문의하여 이 Dell 기술 자료 문서 ID를 인용하십시오.
 
패키지가 설치된 경우:
  svc_cache --get 명령을 실행하면 명령의 잠금 해제 여부에 따라 오류가 표시되거나 캐시 상태가 표시됩니다.
  1. 패키지가 설치되었지만 명령이 활성화되지 않은 경우 시스템에서 다음 오류를 반환합니다.
19:44:58 service@APM00123456789 spa:~/user# svc_cache --get

 --- ERROR: This option can only be used after enabling cache operations.
이 경우 다음 명령을 사용하여 명령을 활성화해야 합니다.
 svc_cache --force-enableCacheOperations 
  1. 패키지가 설치되어 있고 명령 집합이 활성화 된 경우svc_cache --get 명령은 예상대로 캐시 상태를 반환합니다. 다음 단계에서 쓰기 캐시 비활성화를 계속합니다.
 
쓰기 캐시 비활성화:
  1. 쓰기 캐시의 상태 가져오기: svc_cache --get(상태 3은 활성화됨, 상태 7은 비활성화 또는 알 수 없음, 상태 8은 비활성화됨).
  2. 쓰기 캐시 비활성화: svc_cache --disable(두 SP 모두에서 캐시를 비활성화하려면 한 SP에서만 명령을 실행하면 됨).
  3. 쓰기 캐시가 비활성화되어 있는지 확인:  svc_cache --get
쓰기 캐시 상태:             3       (활성화됨)
쓰기 캐시 상태:             7       (알 수 없음)
쓰기 캐시 상태:             8(비활성화)
추가 참고 섹션에서 더 자세한 출력 예를 참조하십시오.

목표는 8(사용 안 함) 상태에 도달하는 것입니다. svc_cache --get 의 출력이 7인 경우 더티 페이지가 여전히 플러시되고 있음을 의미합니다. 상태가 8(사용 안 함)이 될 때까지 svc_cache --get cmd를 다시 실행합니다.
비활성화하는 데 시간이 걸리는 경우 메트릭을 사용하여 모든 더티 캐시 페이지가 플러시 또는 플러시되는지 확인할 수도 있습니다.
  • uemcli /metrics/value/rt -path sp.*.blockCache.global.summary.dirtyBytes show -interval 5 -count 5
svc_cache --get에 상태 8이 표시되거나 더티 페이지에 0이 표시되면 활동을 계속할 수 있습니다.


두 SP가 다시 온라인
상태가 되면 쓰기 캐시 활성화:
  1. 쓰기 캐시의 상태 가져오기: svc_cache --get(상태 3은 활성화됨, 상태 7은 비활성화 또는 알 수 없음, 상태 8은 비활성화됨).
  2. 쓰기 캐시 활성화:  svc_cache --enable(두 SP 모두에서 캐시를 활성화하려면 한 SP에서만 명령을 실행해야 함)
  3. 쓰기 캐시가 활성화되었는지 확인: svc_cache --get(상태 3이 활성화됨).  

마지막으로 작업을 마치면 쓰기 캐시 명령을 비활성화해야 합니다.
svc_cache --disableCacheOperations


Información adicional


예제 출력:

명령 세트가 설치되지 않았음을 보여 주는 svc_cache --get:
 
19:44:58 service@APM00123456789 spa:~/user# svc_cache --get
This script displays and clears the Cache Dirty or Cache Lost LUNs(CDCA) on this system.
Usage: svc_cache [<qualifiers>]


명령 집합이 활성화되지 않았음을 보여 주는 svc_cache --get:
 
19:44:58 service@APM00123456789 spa:~/user# svc_cache --get
 
 --- ERROR: This option can only be used after enabling cache operations.



이 경우 다음 명령을 사용하여 명령을 활성화해야 합니다.
svc_cache --force-enableCacheOperations 

svc_cache --get 쓰기 캐시가 활성화된 것으로 표시:
16:28:43 service@APM00123456789 spa:~/user# svc_cache --get
execute sptool -i
sptool -i output: SPA
current SP-A, other SP-B

execute: c4admintool -c get_cache
Get Cache Info.

         SP WWID:       wwn = 06:00:00:00:05:00:00:00:00:00:00:00:00:00:00:02
         SP WWID:       wwn = 06:00:00:00:05:00:00:00:01:00:00:01:01:00:00:02
                  System Cache Information

         Write Cache State:             3       (enabled)
         SP WWID:       wwn = 06:00:00:00:05:00:00:00:00:00:00:00:00:00:00:02
                  System Cache Information

         Write Cache State:             3       (enabled)
         SP WWID:       wwn = 06:00:00:00:05:00:00:00:01:00:00:01:01:00:00:02

 ** c4admintool_main: exit CSX_STATUS_SUCCESS

16:28:48 service@APM00123456789 spa:~/user#


svc_cache --get showing write cache is disabled:
16:29:00 service@APM00123456789 spa:~/user# svc_cache --get
execute sptool -i
sptool -i output: SPA
current SP-A, other SP-B

execute: c4admintool -c get_cache
Get Cache Info.

         SP WWID:       wwn = 06:00:00:00:05:00:00:00:00:00:00:00:00:00:00:02
         SP WWID:       wwn = 06:00:00:00:05:00:00:00:01:00:00:01:01:00:00:02
                  System Cache Information

         Write Cache State:             8       (disabled)
         SP WWID:       wwn = 06:00:00:00:05:00:00:00:00:00:00:00:00:00:00:02
                  System Cache Information

         Write Cache State:             8       (disabled)
         SP WWID:       wwn = 06:00:00:00:05:00:00:00:01:00:00:01:01:00:00:02

 ** c4admintool_main: exit CSX_STATUS_SUCCESS

16:31:30 service@APM00123456789 spa:~/user#



svc_cache --비활성화:
16:28:48 service@APM00123456789 spa:~/user# svc_cache --disable
execute sptool -i
sptool -i output: SPA
current SP-A, other SP-B

execute: c4admintool -c set_cache -o disable -t write
currentArg 3 argc 7
currentArg 3 argc 7
Set Write Cache Disabled SP A(0).
#:2022-03-04 16:29:00.035 GMT :U:( 1:1):00007f7168fd0280:25459:Unknown:: TLDflarecons:TLDconfig.cpp   :09584=>TLDconfig_SetCacheBuildTree Enable 0, Type 2, SP = 0
#:2022-03-04 16:29:00.035 GMT :U:( 1:1):00007f7168fd0280:25459:Unknown:: TLDconfig:  :TLDconfig.cpp   :09592=>Set cache state to disabled - 8

         SP WWID:       wwn = 06:00:00:00:05:00:00:00:00:00:00:00:00:00:00:02
         SP WWID:       wwn = 06:00:00:00:05:00:00:00:01:00:00:01:01:00:00:02
c4admintool: -TAG_REQUEST(0x10016)
c4admintool: --TAG_OPERATION(0x10017)
<snip>
c4admintool: -------TAG_WRITE_CACHE(0x102ca)
c4admintool: --------TAG_STATE(0x10079) - 8

 ** c4admintool_main: exit CSX_STATUS_SUCCESS

16:29:00 service@APM00123456789 spa:~/user#



svc_cache --enable:
16:32:43 service@APM00123456789 spa:~/user# svc_cache --enable
execute sptool -i
sptool -i output: SPA
current SP-A, other SP-B

execute: c4admintool -c set_cache -o enable -t write
currentArg 3 argc 7
currentArg 3 argc 7
Set Write Cache Enabled SP A(0).
#:2022-03-04 16:32:47.905 GMT :U:( 0:1):00007f8011b49280:09830:Unknown:: TLDflarecons:TLDconfig.cpp   :09584=>TLDconfig_SetCacheBuildTree Enable 1, Type 2, SP = 0
#:2022-03-04 16:32:47.905 GMT :U:( 0:1):00007f8011b49280:09830:Unknown:: TLDconfig:  :TLDconfig.cpp   :09589=>Set cache state to enabled - 3

         SP WWID:       wwn = 06:00:00:00:05:00:00:00:00:00:00:00:00:00:00:02
         SP WWID:       wwn = 06:00:00:00:05:00:00:00:01:00:00:01:01:00:00:02
c4admintool: -TAG_REQUEST(0x10016)
c4admintool: --TAG_OPERATION(0x10017)
<snip>
c4admintool: -------TAG_WRITE_CACHE(0x102ca)
c4admintool: --------TAG_STATE(0x10079) - 3

 ** c4admintool_main: exit CSX_STATUS_SUCCESS

16:32:48 service@APM00123456789 spa:~/user#



svc_cache --get 쓰기 캐시가 활성화된 것으로 표시:
16:33:43 service@APM00123456789 spa:~/user# svc_cache --get
execute sptool -i
sptool -i output: SPA
current SP-A, other SP-B

execute: c4admintool -c get_cache
Get Cache Info.

         SP WWID:       wwn = 06:00:00:00:05:00:00:00:00:00:00:00:00:00:00:02
         SP WWID:       wwn = 06:00:00:00:05:00:00:00:01:00:00:01:01:00:00:02
                  System Cache Information

         Write Cache State:             3       (enabled)
         SP WWID:       wwn = 06:00:00:00:05:00:00:00:00:00:00:00:00:00:00:02
                  System Cache Information

         Write Cache State:             3       (enabled)
         SP WWID:       wwn = 06:00:00:00:05:00:00:00:01:00:00:01:01:00:00:02

 ** c4admintool_main: exit CSX_STATUS_SUCCESS

16:33:48 service@APM00123456789 spa:~/user#

Propiedades del artículo


Producto comprometido

Dell EMC Unity

Fecha de la última publicación

06 may 2024

Versión

24

Tipo de artículo

How To