IBM WebSphere 서버 검색

  • 릴리스 버전: Xanadu
  • 업데이트 날짜 2024년 08월 01일
  • 소요 시간: 7분
  • IBM WebSphere 애플리케이션 서버는 Java 기반 웹 애플리케이션을 호스팅하는 미들웨어를 포함하는 소프트웨어 프레임워크입니다. 검색에서 Windows 또는 Linux 시스템에서 실행하는 WebSphere 애플리케이션 서버 인스턴스를 탐지할 때 CMDB 기록을 생성하거나 업데이트합니다.

    Windows의 Websphere 검색

    검색 요구 사항:

    Windows 시스템에서 실행하는 WebSphere 애플리케이션 서버의 경우 MID 서버에서 PowerShell을 활성화합니다.

    Linux의 Websphere 검색

    검색 요구 사항:
    • WebSphere 애플리케이션 서버에서 SSH를 활성화합니다.
    • 다음 프로브에서 명령을 실행할 수 있도록 실행 권한을 설정합니다.
      • WebSphere - serverindex.xml 가져오기: serverindex .xml 파일에 대한 cat/read 권한
      • WebSphere - cell.xml 가져오기: cell.xml 파일에 대한 cat/read 권한
      • WebSphere - server.xml 가져오기: server.xml 파일에 대한 cat/read 권한

    및 에 필요한 검색 권한 있는 명령 목록은 조직에서 Unix 기반 호스트를 검색하고 매핑하기 위해 승격된 권한이 필요한 명령 목록을 참조하십시오권한이 있는 사용자를 필요로 하는 서비스 매핑 명령.서비스 매핑

    프로브 및 센서

    검색에서 이 프로세스를 사용하여 Linux WebSphere 애플리케이션 서버를 식별합니다.

    1. Unix - 활성 프로세스 프로브는 com.ibm.ws.runtime.WsServer와 일치하는 실행 중인 프로세스를 탐지합니다. 예를 들어 ...com.ibm.ws.bootstrap.WSLauncher com.ibm.ws.runtime.WsServer 프로세스 출력에는 /opt/IBM/WPS/profiles/ccmdb/config localhostNode01Cell ccmdb01 server1의 매개변수가 있습니다. 값은 다음과 같습니다.
      • 마지막 매개변수 = server_name = server1
      • 마지막 매개변수 - 1 = node_name = ccmdb01
      • 마지막 매개변수 - 2 = cell_name = localhostNode01Cell
      • 마지막 매개변수 - 3 = config_path = '/opt/IBM/WPS/profiles/ccmdb/config '
    2. 일치하는 항목이 있으면 IBM Websphere [cmdb_ci_app_server_websphere] 테이블에 기록이 생성됩니다. 다음 프로브가 트리거됩니다.
      • WebSphere - 셀
      • WebSphere - 웹 애플리케이션
      • WebSphere – 웹 서비스
    3. WebSphere Cell 프로브는 실행 중인 프로세스의 매개변수를 사용하여 인스턴스의 cell.xml 파일을 검색한 다음 관련 <config_path>\cells\<cell_name>\ 디렉터리를 검색합니다.
    4. 프로브가 성공적으로 cell.xml 파일을 찾으면 센서는 내용을 읽고 추가 Websphere Cell [cmdb_ci_websphere_cell] 테이블 레코드를 필요에 따라 채웁니다.
    5. 프로브가 성공적으로 serverindex .xml 파일을 찾으면 센서는 내용을 읽고 추가 웹 애플리케이션 [cmdb_ci_web_application] 테이블 레코드를 필요에 따라 채웁니다.
    6. 프로브가 server.xml 파일을 성공적으로 찾으면 센서는 내용을 읽고 추가 웹 서비스 [cmdb_ci_web_service] 테이블 레코드를 필요에 따라 채웁니다.

    검색에서 다음 프로세스를 통하여 Windows WebSphere 애플리케이션 서버를 식별합니다.

    1. Windows - 활성 프로세스 프로브는 com.ibm.ws.runtime.WsServer와 일치하는 실행 중인 프로세스 를 탐지합니다. 예를 들어 ...com.ibm.ws.bootstrap.WSLauncher com.ibm.ws.runtime.WsServer 프로세스 출력에는 /opt/IBM/WPS/profiles/ccmdb/config localhostNode01Cell ccmdb01 server1의 매개변수가 있습니다. 값은 다음과 같습니다.
      • 마지막 매개변수 = server_name = server1
      • 마지막 매개변수 - 1 = node_name = ccmdb01
      • 마지막 매개변수 - 2 = cell_name = localhostNode01Cell
      • 마지막 매개변수 - 3 = config_path = '/opt/IBM/WPS/profiles/ccmdb/config '
    2. 일치하는 항목이 있으면 IBM Websphere [cmdb_ci_app_server_websphere] 테이블에 기록이 생성됩니다. 다음 프로브가 트리거됩니다.
      • Windows - WebSphere - 셀
      • Windows - WebSphere - 웹 애플리케이션
      • Windows - WebSphere – 웹 서비스
    3. Windows - WebSphere - 셀 프로브는 실행 중인 프로세스의 매개변수를 사용한 다음 관련 <config_path>\cells\<cell_name>\ 디렉터리를 검색하여 인스턴스의 cell.xml 파일을 검색합니다.
    4. 프로브가 성공적으로 cell.xml 파일을 찾으면 센서는 내용을 읽고 추가 Websphere Cell [cmdb_ci_websphere_cell] 테이블 레코드를 필요에 따라 채웁니다.
    5. Windows - WebSphere - 웹 애플리케이션 프로브는 실행 중인 프로세스의 매개변수를 사용한 다음 관련 <config_path>\cells\<cell_name>\nodes\<node_name> 디렉터리를 검색하여 인스턴스의 serverindex.xml 파일을 검색합니다.
    6. 프로브가 성공적으로 serverindex .xml 파일을 찾으면 센서는 내용을 읽고 추가 웹 애플리케이션 [cmdb_ci_web_application] 테이블 레코드를 필요에 따라 채웁니다.
    7. Windows WebSphere - 웹 서비스 프로브는 실행 중인 프로세스의 매개변수를 사용한 다음 관련<config_path>\cells\<cell_name>\nodes\<node_name>\servers\<server_name> 디렉터리를 검색하여 인스턴스의 server.xml 파일을 검색합니다.
    8. 프로브가 server.xml 파일을 성공적으로 찾으면 센서는 내용을 읽고 추가 웹 서비스 [cmdb_ci_web_service] 테이블 레코드를 필요에 따라 채웁니다.

    수집된 데이터

    표 1. Windows Websphere 서버에 수집된 데이터
    테이블 필드 소스
    cmdb_ci_app_server_websphere 이름(name) 실행 중인 프로세스
    cmdb_ci_websphere_cell 이름(name) cell.xml
    cmdb_ci_websphere_cell 셀 ID(셀_id) cell.xml
    cmdb_ci_websphere_cell 셀 유형(셀_유형) cell.xml
    cmdb_ci_websphere_cell 셀 검색 프로토콜(셀_검색_프로토콜) cell.xml
    cmdb_ci_web_service 이름(name) server.xml
    cmdb_ci_web_service 서비스 ID(서비스_id) server.xml
    cmdb_ci_web_application 이름(name) serverindex.xml
    표 2. Linux Websphere 서버에 수집된 데이터
    레이블 테이블 이름 필드 이름 소스
    이름 cmdb_ci_websphere_cell name server.xml
    애플리케이션 서버 cmdb_ci_web_service app_server 내부 참조
    이름 cmdb_ci_web_service name server.xml
    이름 cmdb_ci_web_application name serverindex.xml
    애플리케이션 서버 cmdb_ci_web_application app_server serverindex.xml

    관계

    다음의 관계는 CI 관계 [cmdb_rel_ci] 테이블에서 생성됩니다.
    상위 클래스 관계 유형 하위 클래스
    cmdb_ci_app_server_websphere Runs on::Runs cmdb_ci_linux_server
    cmdb_ci_win_server Runs on::Runs cmdb_ci_win_server
    cmdb_ci_app_server_websphere Contains::Contained by cmdb_ci_web_application
    cmdb_ci_web_service Runs on::Runs cmdb_ci_app_server_websphere
    cmdb_ci_websphere_cell Contains::Contained by cmdb_ci_app_server_websphere