PowerProtect Data Manager 보고서에 데이터가 표시되지 않음
Summary: PowerProtect Data Manager 보고서에는 데이터가 표시되지 않지만 보고서 엔진은 Ready 상태입니다.
Symptoms
이 문제는 PowerProtect Data Manager 19.14 및 19.15에서 나타납니다.
PowerProtect Data Manager 보고서에 데이터가 표시되지 않습니다.
보고 엔진에서 다음 오류는 /var/log/dellemc/agent/dpaagent.log (또는 PowerProtect Data Manager 지원 번들: \var\log\reporting\logs\agent\dpaagent.log):
INFO 3345.3484 20240219:150901 com.emc.dpa.agent.mo - authenticate(): Attempting CREDS token, as the certificate based token generation is failed. WARN 3345.3484 20240219:150902 com.emc.dpa.agent.mo - obtainAccessToken(): Failed to login to xxx.xxx.com with user admin: HTTP post status: 423 INFO 3345.3490 20240219:151406 com.emc.dpa.agent.mo - authenticate(): Certificates are being setup... INFO 3345.3490 20240219:151511 com.emc.dpa.agent.mo - authenticate(): Using authType CERT INFO 3345.3490 20240219:151511 com.emc.dpa.agent.mo - authenticate(): Attempting CREDS token, as the certificate based token generation is failed. WARN 3345.3490 20240219:151511 com.emc.dpa.agent.mo - obtainAccessToken(): Failed to login to xxx.xxx.com with user admin: HTTP post status: 401
Cause
보고 IP 허용 목록이 만료되었을 수 있습니다(기본값은 365일로 설정됨). 이를 확인하려면 PowerProtect Data Manager CLI에서 admin 사용자로 다음 명령을 실행합니다.
./ppcp rest --uri whitelist
위 명령의 출력에서 보고 노드 IP를 볼 수 없는 경우 보고 IP가 허용 목록에 없는 것입니다. 다음 출력은 에 대한 예입니다. reporting IP is currently not whitelisted:
admin@ppdm:~/bin> ./ppcp rest --uri whitelist
===========================================================
PPCP : 0.44
PPDM : 19.14.0-20
Date : 18 Dec 2023 10:41 CST
===========================================================
URL : GET https://localhost:8443/api/v2/whitelist?page=1&pageSize=100 [localhost]
{
"content": [],
"page":
{ "number": 1, "size": 0, "totalElements": 0, "totalPages": 0 }
}
Resolution
1단계: 다음 명령을 실행합니다. 교체 10.xxx.xxx.xxx 고객이 노드 IP를 보고하고 expiresAt 값.
./ppcp rest https://10.xxx.xxx.xx:8443 --uri whitelist
2단계: 라는 파일을 만듭니다. payload.txt 고객 PowerProtect Data Manager 사용 /home/admin 다음 명령을 사용합니다.
vi payload.txt
다음 내용을 복사합니다. payload.txt 파일에 정의된 대로 사용하는 것이 중요합니다. 이 단계에서는 expiresAt 만료일로부터 3년의 값을 입력하고 고객의 보고 IP로 IP 주소를 지정하고 파일을 저장합니다.
{
"expiresAt": "2027-02-27T12:57:10.389Z",
"ip": "10.xxx.xxx.xxx",
"roleId": "2bc98750-7675-0136-29e9-5bbd3ce729b0",
"state": "APPROVED"
}
3단계: 다음을 실행합니다. ppcp 명령을 보고 노드 IP로 바꿉니다.
./ppcp rest --method POST https://10.xxx.xxx.xxx:8443 --uri whitelist --input payload.txt
위의 단계를 수행한 후 보고 노드에서 인증서를 다시 생성합니다. 동일한 작업을 수행하려면 다음 단계를 따르세요.
Step 01: Make sure a single entry in crontab is present to generate certificates. crontab -l crontab -e Step 02: remove old certificates from /opt/emc/dpa/agent/data/ppdm/rs directory. rm -rf /opt/emc/dpa/agent/data/ppdm/rs Step 03: DPA agent restart regenerate the certificates. /opt/emc/dpa/services/bin/dpa.sh agent restart Step 04: run below command /opt/emc/dpa/services/bin/dpa.sh svc restart