탐색 링크 건너뛰기 | |
인쇄 보기 종료 | |
Oracle VM Server for SPARC 2.2 관리 설명서 Oracle VM Server for SPARC (한국어) |
제1부Oracle VM Server for SPARC 2.2 소프트웨어
1. Oracle VM Server for SPARC 소프트웨어 개요
3. Oracle VM Server for SPARC 보안
제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. Oracle VM Server for SPARC Management Information Base 소프트웨어 사용
16. 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;
멀티캐스트 통신에 지정된 포트 및 그룹 정보를 사용해야 합니다.
다음을 메시지에 포함해야 합니다.
version_no의 유효한 값 - MAC_MULTI_VERSION에 정의된 대로 1입니다.
magic_no의 유효한 값 - MAC_MULTI_MAGIC_NO에 정의된 대로 92792004입니다.
msg_type을 LDMD_DISC_SEND로 설정
다음이 포함된 multicast_msg_t 메시지로 응답해야 합니다.
version_no의 유효한 값
magic_no의 유효한 값
msg_type을 LDMD_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 패킷이 폐기되었는지 확인합니다.