JavaScript is required to for searching.
탐색 링크 건너뛰기
인쇄 보기 종료
Oracle VM Server for SPARC 3.0 관리 설명서     Oracle VM Server for SPARC (한국어)
search filter icon
search icon

문서 정보

머리말

제1부Oracle VM Server for SPARC 3.0 소프트웨어

1.  Oracle VM Server for SPARC 소프트웨어 개요

2.  소프트웨어 설치 및 사용

3.  Oracle VM Server for SPARC 보안

4.  서비스 및 컨트롤 도메인 설정

5.  게스트 도메인 설정

6.  I/O 도메인 설정

7.  가상 디스크 사용

8.  가상 네트워크 사용

9.  도메인 마이그레이션

10.  리소스 관리

11.  도메인 구성 관리

12.  기타 관리 작업 수행

제2부선택적 Oracle VM Server for SPARC 소프트웨어

13.  Oracle VM Server for SPARC Physical-to-Virtual 변환 도구

14.  Oracle VM Server for SPARC Configuration Assistant(Oracle Solaris 10)

15.  전원 관리 사용

16.  Oracle VM Server for SPARC Management Information Base 소프트웨어 사용

17.  Logical Domains Manager 검색

Logical Domains Manager를 실행 중인 시스템 검색

멀티캐스트 통신

메시지 형식

서브넷에서 실행 중인 Logical Domains Manager를 검색하는 방법

18.  Logical Domains Manager에서 XML 인터페이스 사용

용어집

색인

Logical Domains Manager를 실행 중인 시스템 검색

멀티캐스트 통신

이 검색 방식은 ldmd 데몬에서 사용된 것과 동일한 멀티캐스트 네트워크를 사용하여 MAC 주소를 자동으로 지정할 때 충돌을 감지합니다. 멀티캐스트 소켓을 구성하려면 다음 정보를 제공해야 합니다.

#define    MAC_MULTI_PORT        64535
#define    MAC_MULTI_GROUP        "239.129.9.27"

기본적으로, 멀티캐스트 패킷 컴퓨터가 연결된 서브넷에 전송할 수 있습니다. ldmd 데몬에 ldmd/hops SMF 등록 정보를 설정하여 동작을 변경할 수 있습니다.

메시지 형식

검색 메시지는 다른 메시지와 혼동되지 않도록 명확히 표시해야 합니다. 다음 멀티캐스트 메시지 형식은 검색 수신 프로세스에서 검색 메시지를 구별할 수 있습니다.

#include <netdb.h> /* Used for MAXHOSTNAMELEN definition */
#define    MAC_MULTI_MAGIC_NO    92792004
#define    MAC_MULTI_VERSION    1

enum {
    SEND_MSG = 0,
    RESPONSE_MSG,
    LDMD_DISC_SEND,
    LDMD_DISC_RESP,
};

typedef struct {
    uint32_t    version_no;
    uint32_t    magic_no;
    uint32_t    msg_type;
    uint32_t    resv;
    union {
        mac_lookup_t        Mac_lookup;
        ldmd_discovery_t    Ldmd_discovery;
    } payload;
#define    lookup        payload.Mac_lookup
#define    discovery    payload.Ldmd_discovery
} multicast_msg_t;

#define    LDMD_VERSION_LEN    32

typedef struct {
    uint64_t mac_addr;
    char        source_ip[INET_ADDRSTRLEN];
} mac_lookup_t;

typedef struct {
    char        ldmd_version[LDMD_VERSION_LEN];
    char        hostname[MAXHOSTNAMELEN];
    struct in_addr    ip_address;
    int        port_no;
} ldmd_discovery_t;

서브넷에서 실행 중인 Logical Domains Manager를 검색하는 방법

  1. 멀티캐스트 소켓을 엽니다.

    멀티캐스트 통신에 지정된 포트 및 그룹 정보를 사용해야 합니다.

  2. 소켓을 통해 multicast_msg_t 메시지를 전송합니다.

    다음을 메시지에 포함해야 합니다.

    • version_no의 유효한 값 - MAC_MULTI_VERSION에 정의된 대로 1입니다.

    • magic_no의 유효한 값 - MAC_MULTI_MAGIC_NO에 정의된 대로 92792004입니다.

    • msg_typeLDMD_DISC_SEND로 설정

  3. Logical Domains Manager의 응답을 멀티캐스트 소켓에서 수신합니다.

    다음이 포함된 multicast_msg_t 메시지로 응답해야 합니다.

    • version_no의 유효한 값

    • magic_no의 유효한 값

    • msg_typeLDMD_DISC_RESP로 설정

    • ldmd_discovery_t 구조로 구성된 페이로드. 다음 정보를 포함합니다.

      • ldmd_version 시스템에 실행 중인 Logical Domains Manager의 버전

      • hostname 시스템의 호스트 이름

      • ip_address 시스템의 IP 주소

      • port_no 통신을 위해 Logical Domains Manager에서 사용 중인 포트 번호. XMPP 포트 6482여야 합니다.

    Logical Domains Manager에서 응답을 수신할 때 auto-allocation MAC collision-detection 패킷이 폐기되었는지 확인합니다.