메인 콘텐츠로 이동
  • 빠르고 간편하게 주문
  • 주문 보기 및 배송 상태 추적
  • 제품 목록을 생성 및 액세스
  • 회사 관리를 사용하여 Dell EMC 사이트, 제품 및 제품 수준 연락처를 관리하십시오.

문서 번호: 000064950


AV/DD Backup Failure with invalid token due to invalid Key Magic

문서 콘텐츠


증상



Avamar with Data Domain integrated backups fail. When the avtar logs are consulted the error appears to be an invalid token:
<snip>
2017-02-21 11:35:50 avtar Info <40058>: - Client connecting to the Avamar Server using authentication, client connecting to the Data Domain system using two-way authentication
2017-02-21 11:35:51 avtar Info <10540>: - Resolved Data Domain Server name "testdd.emc.com" to the IP address "10.241.170.73"
2017-02-21 11:35:51 avtar Info <41236>: - Connecting to Data Domain Server name "testdd.emc.com" with token:5ba93c9db0cff93f52b521d7420e43f6eda2784f
2017-02-21 11:35:51 avtar Error <41439>: Using invalid token:5ba93c9db0cff93f52b521d7420e43f6eda2784f
2017-02-21 11:35:51 avtar Error <10542>: Data Domain server "testdd.emc.com" open failed DDR result code: 4904, desc: Invalid API argument.
2017-02-21 11:35:51 avtar Error <10509>: Problem logging into the DDR server:'', only GSAN communication was enabled.
2017-02-21 11:35:51 avtar FATAL <17964>: Backup is incomplete because file "/ddr_files.xml" is missing
<snip> 

Consultation of /usr/local/avamar/var/ddrmaintlogs/ddrmaint.log shows that the token request failed:
<snip> 
Feb 21 11:35:23 av-un-ge06-adm0 ddrmaint.bin[47285]: Info: request-token:open_ddr:service handle:1 index:1 server:testdd.emc.com user:ddboost duration=1800 expires=2017-02-21 13:05:23
Feb 21 11:35:23 av-un-ge06-adm0 ddrmaint.bin[47285]: Error: request-token::body - Failed to get token. Use token=1:00. Error:5008 Reason:invalid argument
Feb 21 11:35:23 av-un-ge06-adm0 ddrmaint.bin[47285]: Error: <xxxx>Datadomain request token operation failed.  
<snip>

Finally review of the /ddr/var/log/debug/ddfs.info log on the Data Domain reveals that the token encryption failed due to invalid key magic:
1. Login to the Data Domain.
2. Review the ddfs.info log by using the following command:
log view debug/ddfs.info
Alternatively if it is preferred KB 323235 can be used to escape to bash mode to navigate directly to ddfs.info. 
<snip>
02/21 11:35:23.543 (tid 0x7f53bd82d990): ddboost-<testavamar.emc.com-59512>: testavamar.emc.com Local Time: Tue Feb 21 12:35:23 2017
02/21 11:35:23.553 (tid 0x7f53bd8078e0): nfsproc3_ost_get_token_3_svc: ost_build_token
02/21 11:35:23.553 (tid 0x7f53bd8078e0): ost_build_token()
02/21 11:35:23.553 (tid 0x7f53bd8078e0): ost_encrypt_string_with_key() This key has an invalid key magic 9df5c181
02/21 11:35:23.553 (tid 0x7f53bd8078e0): ost_build_token: Token encryption failed with error 5008  
02/21 11:35:23.553 (tid 0x7f53bd8078e0): nfsproc3_ost_get_token_3_svc: ost_build_token failed [DDErrno = 5008 (ost_encrypt_string_with_key() Invalid User Key, Cannot be used to decrypt string)]  
<snip>


If the invalid key magic messages are not present within the ddfs.info log please do not continue using this KB. 

해결

1. Revoke token access from the ddboost user:
ddboost user revoke token-access <ddboost username>

2. Open the Data Doman server in the Avamar Administrator:- In Avamar MCGUI, go to Server > Server Management, select the DD server, click on "Edit Data Domain System icon" and click on OK in the pop-up window.
  a. In Avamar Administrator, click the Server launcher button.
     The Server window appears.

  b. Click the Server Management tab.

  c. Select the Data Domain system to edit.

  d. Select Actions > Edit Data Domain System.
    The Edit Data Domain System dialog box appears.

  e. Click OK.
    There is no need to make any changes to the Data Domain configuration.

3. Restart DDBoost on the Data Domain system:
  a. Log into the Data Domain System.

  b. Enter the following commands in the Data Domain CLI:
     ddboost disable
     ddboost enable

4. Test another backup to ensure this resolved the invalid token issue. 

문서 속성


영향을 받는 제품

Avamar

제품

Avamar, Data Domain

마지막 게시 날짜

23 11월 2020

버전

2

문서 유형

Solution