메인 콘텐츠로 이동
  • 빠르고 간편하게 주문
  • 주문 보기 및 배송 상태 추적
  • 제품 목록을 생성 및 액세스
일부 문서 번호가 변경되었을 수 있습니다. 이 문서가 찾으려는 문서가 아닌 경우 모든 문서를 검색해 보십시오. 문서 검색

Avamar - MCS hotfix times out trying to stop mcserver

요약: When trying to install an MCS hotfix, the task "stopping mcserver" takes too long and eventually times out. The command failing is /usr/local/avamar/bin/mcserver.sh --stop --force.

이 문서는 다음에 적용됩니다. 이 문서는 다음에 적용되지 않습니다. 이 문서는 특정 제품과 관련이 없습니다. 모든 제품 버전이 이 문서에 나와 있는 것은 아닙니다.

증상

  • Avamar Management Console Server (MCS) hotfix workflow fails.
  • Outputs from "the "dpnctl status and "mcserver.sh" commands report that MCS is down.
  • A couple of MCS processes can be seen in the output of the "ps" command.
  • Java utilization might be at 100% (Not necessary) 

원인

The MCS process appears to stop responding when the AVI workflow tries to stop MCS. 

A root case is still under investigation.


See the resolution section for a temporary workaround to bypass this issue.

해결

1. Log in to the Avamar Utility Node.


2. Confirm that MCS is down using dpnctl and mcserver.sh commands:
 
dpnctl status mcs ; mcserver.sh --test
Both outputs should report that MCS is down.


3. Switch to the root user:
 
su -

4. Check the AVI UI or the workflow.log and confirm it reports failing to stop mcserver.sh:
 
tail -20 /data01/avamar/repo/temp/<<<The name of the MCS package>>/tmp/workflow.log

5. Check for the running MCS processes: (Usually three or four processes are in the output)
 
ps -elf | grep mcserver |grep -v grep
Expected output:
 
0 S admin     6754  6743  0  80   0 - 40725 -      12:10 ?        00:00:00 /usr/bin/perl /usr/local/avamar/bin/mcserver.sh --stop --force
0 S admin     7466  6754  0  80   0 - 1594176 -    12:11 ?        00:00:12 /usr/java/latest//bin/java -Xmx3G -XX:+HeapDumpOnOutOfMemoryError -X
0 S admin    <<PID>>   1 99  80   0 - 2116593 -    Dec13 ?        28-02:55:00 /usr/java/latest//bin/java -Xmx3G -XX:+HeapDumpOnOutOfMemoryError
 
The output will likely include two commands trying to stop MCS from the AVI (simultaneously during the workflow duration), and an older MCS process, which is our focus.


6. From the output, kill only the MCS process, not the two processes trying to kill it from AVI.
(The MCS process is mostly the oldest and has +HeapDumpOnOutOfMemoryError in its name.
 
kill <<PID>>
Where <<PID>> is the Process ID as shown in step 5.


7. All MCS processes should disappear. Confirm this by rerunning the following command:
 
ps -elf | grep mcserver |grep -v grep
 
If after a few seconds, the process is still running, repeat the kill command, but this time include the "-9" flag:
 
kill -9 <<PID>>

8. Once the MCS processes are no longer running, retrying the workflow should allow it to proceed and complete successfully.

추가 정보

Familiarize yourself with the following article to ensure that the latest MCS hotfixes are applied to the environment being worked on: 

해당 제품

Avamar
문서 속성
문서 번호: 000194828
문서 유형: Solution
마지막 수정 시간: 03 6월 2024
버전:  6
다른 Dell 사용자에게 질문에 대한 답변 찾기
지원 서비스
디바이스에 지원 서비스가 적용되는지 확인하십시오.