소개
이 문서에서는 Expressway에서 호스팅되는 하이브리드 서비스에 영향을 줄 수 없는 Management Connector의 실패 상태를 식별하고 수정하는 방법에 대해 설명합니다.
사전 요구 사항
요구 사항
다음 주제에 대한 지식을 보유하고 있으면 유용합니다.
- Webex 조직.
- Webex 하이브리드 달력
- Cisco Expressway입니다.
사용되는 구성 요소
이 문서의 정보는 다음 소프트웨어 및 하드웨어 버전을 기반으로 합니다.
이 문서의 정보는 특정 랩 환경의 디바이스를 토대로 작성되었습니다. 이 문서에 사용된 모든 디바이스는 초기화된(기본) 컨피그레이션으로 시작되었습니다. 현재 네트워크가 작동 중인 경우 모든 명령의 잠재적인 영향을 미리 숙지하시기 바랍니다.
배경
Expressway 펌웨어를 업그레이드한 후 관리 커넥터가 관리 커넥터 및 모든 하이브리드 서비스가 Control Hub에서 오프라인으로 호스팅되는 상태를 유지할 수 없습니다.
제어 허브에서 오류 발생
관리자 계정에서 admin.webex.com > Services(서비스) > Hybrid(하이브리드) > Hybrid Calendar with Exchange(Exchange가 있는 하이브리드 달력) > Resources(리소스) > View All(모두 보기)에 로그인합니다.
제어 허브 오류
영향을 받는 클러스터 및 노드를 선택하고 오프라인 상태를 확인합니다.
오프라인 상태
Expressway GUI 오류
Expressway login(Expressway 로그인) > Status(상태) > Alarms(경보)로 이동합니다. 관리 서비스에 대한 애플리케이션 실패 경보를 찾습니다.
경보
"Several unexpected software errors were detected in /opt/c_mgmt/bin/c_mgmt.sh /var/run/c_mgmt/c_mgmt.pid: 1. This service will not be restarted automatically."
로깅스냅샷에서 경보 추출...텍스트
2025-06-30T21:53:48.354-04:00 ccnp-expressway-hybrid1 supervisor: Level="ERROR" Event="Alarm Raised" Id="15019" UUID="1a18bfa6-f822-11e1-b0db-c35cb1b8e3e5" Severity="error" Detail="Application failed: Several unexpected software errors were detected in /opt/c_mgmt/bin/c_mgmt.sh /var/run/c_mgmt/c_mgmt.pid: 1. This service will not be restarted automatically." UTCTime="2025-07-01 01:53:48,353"
문제 해결
Expressway 로그를 수집하는 3가지 알려진 방법이 있습니다. 이 경보에는 Diagnostic Logging(진단 로깅)이 가장 좋습니다. Expressway 로그인 > 유지 관리 > 진단 > 하이브리드 서비스 로그 레벨로 이동합니다. 하이브리드 서비스 로그 수준이 DEBUG로 설정되어 있는지 확인합니다.
로그 레벨
문제가 복제되는 동안 진단 로깅을 활성화합니다.
Expressway login(Expressway 로그인) > Maintenance(유지 관리) > Diagnostics(진단) > Diagnostic logging(진단 로깅) > Start new log(새 로그 시작)로 이동합니다. 로그가 수집되면 로깅스냅샷...을 엽니다.txt 파일 및 Permission Denied를 검색합니다.
2025-06-30T21:53:09.102-04:00 ccnp-expressway-hybrid1 _c_mgmt: File "./cafedynamic/cafemanager.py", line 128, in _initialise_filesystem_to_full
2025-06-30T21:53:09.102-04:00 ccnp-expressway-hybrid1 _c_mgmt: File "./cafedynamic/cafemanager.py", line 187, in _create_template_dir
2025-06-30T21:53:09.102-04:00 ccnp-expressway-hybrid1 _c_mgmt: File "./cafedynamic/cafemanager.py", line 181, in _create_template_dir
2025-06-30T21:53:09.102-04:00 ccnp-expressway-hybrid1 _c_mgmt: File "./cafedynamic/cafexutil.py", line 387, in make_path
2025-06-30T21:53:09.102-04:00 ccnp-expressway-hybrid1 _c_mgmt: File "./cafedynamic/cafexutil.py", line 401, in makedirs
2025-06-30T21:53:09.102-04:00 ccnp-expressway-hybrid1 _c_mgmt: File "", line 225, in makedirs
2025-06-30T21:53:09.102-04:00 ccnp-expressway-hybrid1 _c_mgmt: PermissionError: [Errno 13] Permission denied: '/mnt/harddisk/current/fusion/template'
2025-06-30T21:53:09.102-04:00 ccnp-expressway-hybrid1 _c_mgmt:
2025-06-30T21:53:09.102-04:00 ccnp-expressway-hybrid1 _c_mgmt: During handling of the above exception, another exception occurred:
2025-06-30T21:53:09.102-04:00 ccnp-expressway-hybrid1 _c_mgmt:
2025-06-30T21:53:09.102-04:00 ccnp-expressway-hybrid1 _c_mgmt: Traceback (most recent call last):
2025-06-30T21:53:09.102-04:00 ccnp-expressway-hybrid1 _c_mgmt: File "", line 11, in
2025-06-30T21:53:09.102-04:00 ccnp-expressway-hybrid1 _c_mgmt: File "./managementconnector/managementconnectormain.py", line 40, in main
2025-06-30T21:53:09.102-04:00 ccnp-expressway-hybrid1 _c_mgmt: File "./managementconnector/applicationrunner.py", line 41, in launch
2025-06-30T21:53:09.102-04:00 ccnp-expressway-hybrid1 _c_mgmt: File "./managementconnector/mgmtconnector.py", line 98, in start
2025-06-30T21:53:09.102-04:00 ccnp-expressway-hybrid1 _c_mgmt: File "./cafedynamic/cafemanager.py", line 98, in start
2025-06-30T21:53:09.102-04:00 ccnp-expressway-hybrid1 _c_mgmt: File "./cafedynamic/cafemanager.py", line 73, in _initialise_filesystem
2025-06-30T21:53:09.102-04:00 ccnp-expressway-hybrid1 _c_mgmt: File "./cafedynamic/cafemanager.py", line 138, in _initialise_filesystem_to_full
2025-06-30T21:53:09.102-04:00 ccnp-expressway-hybrid1 _c_mgmt: Exception: [Errno 13] Permission denied: '/mnt/harddisk/current/fusion/template'
전체 시스템 스냅샷을 생성합니다.
Expressway 로그인 > 유지 관리 > 진단 > 시스템 스냅샷 > 전체 스냅샷 생성으로 이동합니다. hybrid_services를 엽니다.로그 파일 및 Permission Denied를 검색합니다.
Webex에 로그를 보냅니다.
Expressway login(Expressway 로그인) > Applications(애플리케이션) > Hybrid Services(하이브리드 서비스) > Connector Logging(커넥터 로깅) > Send(보내기)로 이동합니다.
경고: 커넥터가 오프라인 상태이므로 옵션을 사용할 수 없습니다.
솔루션
SSH를 통해 로그인
SSH를 통해 루트 계정으로 영향을 받는 노드에 로그인합니다. 유형:
ls -la /mnt/harddisk/current/
SSH
정상 작동 중인 Connector에는 다음과 같은 파일 시스템 권한이 있습니다.
drwxr-xr-x 8 root root 4096 Apr 29 21:53 .
drwxr-xr-x 13 root root 4096 Jun 30 21:52 ..
drw------- 3 root root 4096 Apr 29 21:05 clusterdb
drwxr-xr-x 2 root root 4096 Apr 29 21:06 debug
drwxr-xr-x 6 root root 4096 Apr 29 21:54 fusion
drwxr-xr-x 7 root root 4096 Apr 29 21:54 opt
drwxr-xr-x 5 root root 4096 Apr 29 21:09 persistent
drwxr-xr-x 3 root root 4096 Jun 8 08:07 tbl
모드는 읽기(r), 쓰기(w) 또는 실행(x)입니다. 첫 번째 필드에는 다음 특성을 참조하는 10자가 포함됩니다.
Character What it means
1 "d" if a directory, "-" if a file
2 "r" if file is readable to user, "-" if not
3 "w" if file is writable to user, "-" if not
4 "x" if file is executable to user, "-" if not
5-7 same as 2-4, with reference to group
8-10 same as 2-4, with reference to everyone on the system
영향을 받는 노드에 Fusion 파일 시스템에 대한 올바른 권한 집합이 없습니다.
drwxr-x--- 6 root root 4096 Apr 29 21:54 fusion
파일의 권한을 변경하려면 다음과 같은 구문을 사용하여 chmod 명령(변경 모드의 약어)을 사용합니다.
chmod 755 /mnt/harddisk/current/fusion
퓨전
Unix 표현 drwxr-xr-x는 숫자 표기법으로 해석됩니다. 755
참고: Fusion만 영향을 받을 수 있으므로 모든 디렉터리에 대한 올바른 권한을 확인하십시오.
커넥터 관리 확인
Expressway GUI
Expressway login(Expressway 로그인) > Applications(애플리케이션) > Hybrid Services(하이브리드 서비스) > Connector Management(커넥터 관리) > Restart connector(커넥터 재시작) 버튼으로 이동합니다.
커넥터 다시 시작
커넥터 관리를 시작했습니다.
성공
근본 원인
하이브리드 서비스에 사용된 하나 이상의 파일 시스템 권한이 수정되어 Hybrid Management Connector를 올바르게 시작할 수 있게 되었습니다. Cisco는 아직 그 이유를 결론짓기 위해 조사 중입니다.
관련 정보