탐색 링크 건너뛰기 | |
인쇄 보기 종료 | |
Oracle VM Server for SPARC 3.0 관리 설명서 Oracle VM Server for SPARC (한국어) |
제1부Oracle VM Server for SPARC 3.0 소프트웨어
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)
16. Oracle VM Server for SPARC Management Information Base 소프트웨어 사용
17. Logical Domains Manager 검색
다음은 Logical Domains Manager 리소스 및 이러한 리소스 각각에 대해 정의된 등록 정보입니다. 리소스와 등록 정보는 XML 예제에서 굵게 표시됩니다. 이 예는 바인딩 출력이 아닌 리소스를 보여줍니다. 제약 조건 출력은 Logical Domains Manager 작업에 대한 입력을 만드는 데 사용할 수 있습니다. 이에 대한 예외는 도메인 마이그레이션 출력입니다. 도메인 마이그레이션을 참조하십시오. 각 리소스는 <Section> OVF 섹션에 정의되며 <rasd:OtherResourceType> 태그로 지정됩니다.
예 18-6 ldom_info XML 출력 예
<Envelope> <References/> <Content xsi:type="ovf:VirtualSystem_Type" id="primary"> <Section xsi:type="ovf:ResourceAllocationSection_type"> <Item> <rasd:OtherResourceType>ldom_info</rasd:OtherResourceType> <uuid>c2c3d93b-a3f9-60f6-a45e-f35d55c05fb6</uuid> <rasd:Address>00:03:ba:d8:ba:f6</rasd:Address> <gprop:GenericPropertykey="hostid">83d8baf6</gprop:GenericProperty> <gprop:GenericProperty key="master">plum</gprop:GenericProperty> <gprop:GenericProperty key="failure-policy">reset</gprop:GenericProperty> <gprop:GenericProperty key="extended-mapin-space">on</gprop:GenericProperty> <gprop:GenericProperty key="progress">45%</gprop:GenericProperty> <gprop:GenericProperty key="status">ongoing</gprop:GenericProperty> <gprop:GenericProperty key="source">dt90-319</gprop:GenericProperty> </Item> </Section> </Content> </Envelope>
ldom_info 리소스는 항상 <Content> 섹션 내에 있습니다. ldom_info 리소스 내에 있는 다음 등록 정보는 선택적 등록 정보입니다.
<uuid> 태그 - 도메인의 UUID를 지정합니다.
<rasd:Address> 태그 - 도메인에 지정할 MAC 주소를 지정합니다.
<gprop:GenericPropertykey="extended-mapin-space"> 태그 - 도메인에 대해 extended mapin space를 사용(on) 또는 사용 안함(off)으로 설정할지 여부를 지정합니다. 기본값은 off입니다.
<gprop:GenericPropertykey="failure-policy"> 태그 - 마스터 도메인에서 오류가 발생할 경우 슬레이브 도메인의 작동 방식을 지정합니다. 기본값은 ignore입니다. 유효한 등록 정보 값은 다음과 같습니다.
ignore - 마스터 도메인의 오류를 무시합니다(슬레이브 도메인이 영향을 받지 않음).
panic으로 설정하면 마스터 도메인이 실패할 경우 슬레이브 도메인에 패닉이 발생합니다.
reset으로 설정하면 마스터 도메인이 실패할 경우 슬레이브 도메인이 재설정됩니다.
stop으로 설정하면 마스터 도메인이 실패할 경우 슬레이브 도메인이 중지됩니다.
<gprop:GenericPropertykey="hostid"> 태그 - 도메인에 지정할 호스트 ID를 지정합니다.
<gprop:GenericPropertykey="master"> 태그 - 마스터 도메인 이름을 쉼표로 구분하여 네 개까지 지정합니다.
<gprop:GenericPropertykey="progress"> 태그 - 명령에 의해 수행된 진행률을 지정합니다.
<gprop:GenericPropertykey="source"> 태그 - 명령의 진행률에 대해 보고할 시스템을 지정합니다.
<gprop:GenericPropertykey="status"> 태그 - 명령의 상태(done, failed, ongoing)를 지정합니다.
add-vcpu, set-vcpu 및 remove-vcpu XML 요청 작업은 <gpropGenericProperty key="wcore"> 태그의 값을 다음과 같이 설정하는 것과 같습니다.
-c 옵션을 사용할 경우, wcore 등록 정보를 지정된 전체 코어 수로 설정합니다.
-c 옵션을 사용하지 않을 경우, wcore 등록 정보를 0으로 설정합니다.
cpu 리소스에 대한 할당 단위 등록 정보 <rasd:AllocationUnits>는 항상 코어 수가 아닌 가상 CPU 수를 지정합니다.
cpu 리소스는 항상 <Content> 섹션 내에 있습니다.
예 18-7 cpu XML 예
다음 예는 ldm add-vcpu -c 1 ldg1 명령에 해당하는 XML 요청을 보여줍니다.
<?xml version="1.0"?> <LDM_interface version="1.3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="./schemas/combined-v3.xsd" xmlns:ovf="./schemas/envelope" xmlns:rasd="./schemas/CIM_ResourceAllocationSettingData" xmlns:vssd="./schemas/CIM_VirtualSystemSettingData" xmlns:gprop="./schemas/GenericProperty" xmlns:bind="./schemas/Binding"> <cmd> <action>add-vcpu</action> <data version="3.0"> <Envelope> <References/> <Content xsi:type="ovf:VirtualSystem_Type" ovf:id="ldg1"> <Section xsi:type="ovf:VirtualHardwareSection_Type"> <Item> <rasd:OtherResourceType>cpu</rasd:OtherResourceType> <rasd:AllocationUnits>8</rasd:AllocationUnits> <gprop:GenericProperty key="wcore">1</gprop:GenericProperty> </Item> </Section> </Content> </Envelope> </data> </cmd> </LDM_interface>
예 18-8 ldm list-bindings 명령의 cpu XML 섹션 출력
다음 예는 list-bindings 하위 명령을 사용하여 <cpu> 섹션의 XML 출력을 보여줍니다.
<?xml version="1.0"?> <LDM_interface xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ovf="./schemas/envelope" xmlns:rasd="./schemas/CIM_ResourceAllocationSettingData" xmlns:vssd="./schemas/CIM_VirtualSystemSettingData" xmlns:gprop="./schemas/GenericProperty" xmlns:bind="./schemas/Binding" version="1.3" xsi:noNamespaceSchemaLocation="./schemas/combined-v3.xsd"> <cmd> <action>list-bindings</action> <data version="3.0"> <Envelope> <References/> <Content xsi:type="ovf:VirtualSystem_Type" ovf:id="primary"> <Section xsi:type="ovf:ResourceAllocationSection_Type"> <Item> <rasd:OtherResourceType>ldom_info</rasd:OtherResourceType> <uuid>1e04cdbd-472a-e8b9-ba4c-d3eee86e7725</uuid> <rasd:Address>00:21:28:f5:11:6a</rasd:Address> <gprop:GenericProperty key="hostid">0x8486632a</gprop:GenericProperty> <failure-policy>fff</failure-policy> <wcore>0</wcore> <extended-mapin-space>0</extended-mapin-space> <threading>8</threading> <cpu-arch>native</cpu-arch> <rc-add-policy/> <gprop:GenericProperty key="state">active</gprop:GenericProperty> </Item> </Section> <Section xsi:type="ovf:VirtualHardwareSection_Type"> <Item> <rasd:OtherResourceType>cpu</rasd:OtherResourceType> <rasd:AllocationUnits>8</rasd:AllocationUnits> <bind:Binding> <Item> <rasd:OtherResourceType>cpu</rasd:OtherResourceType> <gprop:GenericProperty key="vid">0</gprop:GenericProperty> <gprop:GenericProperty key="pid">0</gprop:GenericProperty> <gprop:GenericProperty key="cid">0</gprop:GenericProperty> <gprop:GenericProperty key="strand_percent">100</gprop:GenericProperty> <gprop:GenericProperty key="util_percent">1.1%</gprop:GenericProperty> <gprop:GenericProperty key="normalized_utilization">0.1%</gprop:GenericProperty> </Item> </Section> </Content> </Envelope> </data> </cmd> </LDM_interface>
예 18-9 ldm list-domain 명령의 cpu XML 섹션 출력
다음 예는 list-domain 하위 명령을 사용하여 <cpu> 섹션의 XML 출력을 보여줍니다.
<?xml version="1.0"?> <LDM_interface xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ovf="./schemas/envelope" xmlns:rasd="./schemas/CIM_ResourceAllocationSettingData" xmlns:vssd="./schemas/CIM_VirtualSystemSettingData" xmlns:gprop="./schemas/GenericProperty" xmlns:bind="./schemas/Binding" version="1.3" xsi:noNamespaceSchemaLocation="./schemas/combined-v3.xsd"> <cmd> <action>list-domain</action> <data version="3.0"> <Envelope> <References/> <Content xsi:type="ovf:VirtualSystem_Type" ovf:id="primary"> <Section xsi:type="ovf:ResourceAllocationSection_Type"> <Item> <rasd:OtherResourceType>ldom_info</rasd:OtherResourceType> <gprop:GenericProperty key="state">active</gprop:GenericProperty> <gprop:GenericProperty key="flags">-n-cv-</gprop:GenericProperty> <gprop:GenericProperty key="utilization">0.7%</gprop:GenericProperty> <gprop:GenericProperty key="uptime">3h</gprop:GenericProperty> <gprop:GenericProperty key="normalized_utilization">0.1%</gprop:GenericProperty> </Item> </Section> </Content> </Envelope> </data> </cmd> </LDM_interface>
주 - mau 리소스는 지원되는 서버에서 지원되는 암호화 단위입니다. 현재 지원되는 두 개의 암호화 단위는 MAU(Modular Arithmetic Unit) 및 CWQ(Control Word Queue)입니다.
예 18-10 mau XML 예
<Envelope> <References/> <Content xsi:type="ovf:VirtualSystem_Type" id="ldg1"> <Section xsi:type="ovf:VirtualHardwareSection_Type"> <Item> <rasd:OtherResourceType>mau</rasd:OtherResourceType> <rasd:AllocationUnits>1</rasd:AllocationUnits> </Item> </Section> </Content> </Envelope>
mau 리소스는 항상 <Content> 섹션 내에 있습니다. 유일한 등록 정보는 MAU 또는 다른 암호화 단위의 개수를 나타내는 <rasd:AllocationUnits> 태그입니다.
예 18-11 memory XML 예
<Envelope> <References/> <Content xsi:type="ovf:VirtualSystem_Type" id="ldg1"> <Section xsi:type="ovf:VirtualHardwareSection_Type"> <Item> <rasd:OtherResourceType>memory</rasd:OtherResourceType> <rasd:AllocationUnits>4G</rasd:AllocationUnits> </Item> </Section> </Content> </Envelope>
memory 리소스는 항상 <Content> 섹션 내에 있습니다. 유일한 등록 정보는 메모리의 양을 나타내는 <rasd:AllocationUnits> 태그입니다.
예 18-12 vds XML 예
<Envelope> <References/> <Content xsi:type="ovf:VirtualSystem_Type" id="ldg1"> <Section xsi:type="ovf:VirtualHardwareSection_Type"> <Item> <rasd:OtherResourceType>vds</rasd:OtherResourceType> <gprop:GenericProperty key="service_name">vdstmp</gprop:GenericProperty> </Item> </Section> </Content> </Envelope>
가상 디스크 서버(vds) 리소스는 도메인 설명의 일부로 <Content> 섹션에 표시되거나, <Envelope> 섹션에 자체적으로 표시될 수 있습니다. 유일한 등록 정보는 설명할 vds 리소스의 이름을 포함하는 service_name 키가 포함된 <gprop:GenericProperty> 태그입니다.
예 18-13 vds_volume XML 예
<Envelope> <References/> <Section xsi:type="ovf:VirtualHardwareSection_Type"> <Item> <rasd:OtherResourceType>vds_volume</rasd:OtherResourceType> <gprop:GenericProperty key="vol_name">vdsdev0</gprop:GenericProperty> <gprop:GenericProperty key="service_name">primary-vds0</gprop:GenericProperty> <gprop:GenericProperty key="block_dev"> opt/SUNWldm/domain_disks/testdisk1</gprop:GenericProperty> <gprop:GenericProperty key="vol_opts">ro</gprop:GenericProperty> <gprop:GenericProperty key="mpgroup">mpgroup-name</gprop:GenericProperty> </Item> </Section> </Envelope>
vds_volume 리소스는 도메인 설명의 일부로 <Content> 섹션에 표시되거나, <Envelope> 섹션에 자체적으로 표시될 수 있습니다. 다음 키를 포함하는 <gprop:GenericProperty> 태그가 있어야 합니다.
vol_name – 볼륨 이름입니다.
service_name – 이 볼륨이 바인드될 가상 디스크 서버의 이름입니다.
block_dev – 이 볼륨과 연관될 파일 또는 장치 이름입니다.
선택적으로 vds_volume 리소스는 다음과 같은 등록 정보를 포함할 수도 있습니다.
vol_opts – {ro,slice,excl}과 같이 한 문자열 내에 쉼표로 구분된 하나 이상의 옵션입니다.
mpgroup – 다중 경로(페일오버) 그룹의 이름입니다.
예 18-14 disk XML 예
<Envelope> <References/> <Content xsi:type="ovf:VirtualSystem_Type" id="ldg1"> <Section xsi:type="ovf:VirtualHardwareSection_Type"> <Item> <rasd:OtherResourceType>disk</rasd:OtherResourceType> <gprop:GenericProperty key="vdisk_name">vdisk0</gprop:GenericProperty> <gprop:GenericProperty key="service_name">primary-vds0</gprop:GenericProperty> <gprop:GenericProperty key="vol_name">vdsdev0</gprop:GenericProperty> <gprop:GenericProperty key="timeout">60</gprop:GenericProperty> </Item> </Section> </Content> </Envelope>
disk 리소스는 항상 <Content> 섹션 내에 있습니다. 다음 키를 포함하는 <gprop:GenericProperty> 태그가 있어야 합니다.
vdisk_name – 가상 디스크의 이름입니다.
service_name – 이 가상 디스크가 바인드될 가상 디스크 서버의 이름입니다.
vol_name – 이 가상 디스크와 연관될 가상 디스크 서비스 장치입니다.
선택적으로 disk 리소스는 timeout 등록 정보를 포함할 수도 있습니다. 이 등록 정보는 가상 디스크 클라이언트(vdc)와 가상 디스크 서버(vds) 간에 연결을 설정하기 위한 시간 초과 값(초)입니다. 가상 디스크(vdisk) 경로가 여러 개 있는 경우 vdc는 다른 vds에 연결을 시도할 수 있으며, 시간 초과는 지정된 시간 내에 vds에 연결되도록 해줍니다.
예 18-15 vsw XML 예
<Envelope> <References/> <Content xsi:type="ovf:VirtualSystem_Type" id="ldg2"> <Section xsi:type="ovf:VirtualHardwareSection_Type"> <Item> <rasd:OtherResourceType>vsw</rasd:OtherResourceType> <rasd:Address>00:14:4f:fb:ec:00</rasd:Address> <gprop:GenericProperty key="service_name">test-vsw1</gprop:GenericProperty> <gprop:GenericProperty key="inter_vnet_link">on</gprop:GenericProperty> <gprop:GenericProperty key="default-vlan-id">1</gprop:GenericProperty> <gprop:GenericProperty key="pvid">1</gprop:GenericProperty> <gprop:GenericProperty key="mtu">1500</gprop:GenericProperty> <gprop:GenericProperty key="dev_path">switch@0</gprop:GenericProperty> <gprop:GenericProperty key="id">0</gprop:GenericProperty> </Item> </Section> </Content> </Envelope>
vsw 리소스는 도메인 설명의 일부로 <Content> 섹션에 표시되거나, <Envelope> 섹션에 자체적으로 표시될 수 있습니다. service_name(가상 스위치에 지정될 이름) 키를 포함하는 <gprop:GenericProperty> 태그가 반드시 있어야 합니다.
선택적으로 vsw 리소스는 다음과 같은 등록 정보를 포함할 수도 있습니다.
<rasd:Address> – 가상 스위치에 MAC 주소를 지정합니다.
default-vlan-id – 태그 지정 모드에서 가상 네트워크 장치 또는 가상 스위치가 멤버로 속해 있어야 하는 기본 VLAN(Virtual Local Area Network) 을 지정합니다. 첫번째 VLAN ID(vid1)는 default-vlan-id용으로 예약되었습니다.
dev_path – 이 가상 스위치와 연관될 네트워크 장치의 경로입니다.
id – 새 가상 스위치 장치의 ID를 지정합니다. 기본적으로 ID 값은 자동으로 생성되므로, OS의 기존 장치 이름과 일치해야 하는 경우 이 등록 정보를 설정하십시오.
inter_vnet_link – Vnet 간 통신을 위해 LDC 채널을 지정할지 여부를 지정합니다. 기본값은 on입니다.
linkprop – 가상 장치가 물리적 링크 상태 업데이트를 가져올지 여부를 지정합니다. 값이 phys-state일 경우, 가상 장치가 물리적 링크 상태 업데이트를 가져옵니다. 값이 비어 있을 경우, 가상 장치가 물리적 링크 상태 업데이트를 가져오지 않습니다. 기본적으로 가상 장치는 물리적 링크 상태 업데이트를 가져오지 않습니다.
mode – Oracle Solaris Cluster 하트비트 지원의 경우 sc입니다.
pvid – 포트 VLAN(Virtual Local Area Network) ID(식별자)는 태그 미지정 모드에서 가상 네트워크가 멤버로 속해 있어야 하는 VLAN을 나타냅니다.
mtu – 가상 스위치나 가상 스위치에 바인드된 가상 네트워크 장치 또는 둘 다의 MTU(최대 전송 단위)를 지정합니다. 유효한 값의 범위는 1500-16000입니다. 잘못된 값이 지정된 경우 ldm 명령이 오류를 발행합니다.
vid – VLAN(Virtual Local Area Network) ID(식별자)는 태그 지정 모드에서 가상 네트워크와 가상 스위치가 멤버로 속해 있어야 하는 VLAN을 나타냅니다.
예 18-16 network XML 예
<Envelope> <References/> <Content xsi:type="ovf:VirtualSystem_Type" id="ldg1"> <Section xsi:type="ovf:VirtualHardwareSection_Type"> <Item> <rasd:OtherResourceType>network</rasd:OtherResourceType> <gprop:GenericProperty key="linkprop">phys-state</gprop:GenericProperty> <gprop:GenericProperty key="vnet_name">ldg1-vnet0</gprop:GenericProperty> <gprop:GenericProperty key="service_name">primary-vsw0</gprop:GenericProperty> <rasd:Address>00:14:4f:fc:00:01</rasd:Address> </Item> </Section> </Content> </Envelope>
network 리소스는 항상 <Content> 섹션 내에 있습니다. 다음 키를 포함하는 <gprop:GenericProperty> 태그가 있어야 합니다.
linkprop – 가상 장치가 물리적 링크 상태 업데이트를 가져올지 여부를 지정합니다. 값이 phys-state일 경우, 가상 장치가 물리적 링크 상태 업데이트를 가져옵니다. 값이 비어 있을 경우, 가상 장치가 물리적 링크 상태 업데이트를 가져오지 않습니다. 기본적으로 가상 장치는 물리적 링크 상태 업데이트를 가져오지 않습니다.
vnet_name – 가상 네트워크(vnet)의 이름입니다.
service_name – 이 가상 네트워크가 바인드될 가상 스위치(vswitch)의 이름입니다.
선택적으로 network 리소스는 다음과 같은 등록 정보를 포함할 수도 있습니다.
<rasd:Address> – 가상 스위치에 MAC 주소를 지정합니다.
pvid – 포트 VLAN(Virtual Local Area Network) ID(식별자)는 태그 미지정 모드에서 가상 네트워크가 멤버로 속해 있어야 하는 VLAN을 나타냅니다.
vid – VLAN(Virtual Local Area Network) ID(식별자)는 태그 지정 모드에서 가상 네트워크와 가상 스위치가 멤버로 속해 있어야 하는 VLAN을 나타냅니다.
mode – 해당 가상 네트워크에 하이브리드 I/O를 사용하려면 hybrid로 설정합니다.
주 - NIU 하이브리드 I/O 기능은 사라지고 대신 SR-IOV가 사용됩니다.
예 18-17 vcc XML 예
<Envelope> <References/> <Content xsi:type="ovf:VirtualSystem_Type" id="ldg1"> <Section xsi:type="ovf:VirtualHardwareSection_Type"> <Item> <rasd:OtherResourceType>vcc</rasd:OtherResourceType> <gprop:GenericProperty key="service_name">vcc1</gprop:GenericProperty> <gprop:GenericProperty key="min_port">6000</gprop:GenericProperty> <gprop:GenericProperty key="max_port">6100</gprop:GenericProperty> </Item> </Section> </Content> </Envelope>
vcc 리소스는 도메인 설명의 일부로 <Content> 섹션에 표시되거나, <Envelope> 섹션에 자체적으로 표시될 수 있습니다. 다음 키를 포함하는 <gprop:GenericProperty> 태그가 있을 수 있습니다.
service_name – 가상 콘솔 집중기 서비스에 지정할 이름입니다.
min_port – 이 vcc와 연관될 최소 포트 번호입니다.
max_port – 이 vcc와 연관될 최대 포트 번호입니다.
예 18-18 var XML 예
<Envelope> <References/> <Content xsi:type="ovf:VirtualSystem_Type" id="ldg1"> <Section xsi:type="ovf:VirtualHardwareSection_Type"> <Item> <rasd:OtherResourceType>var</rasd:OtherResourceType> <gprop:GenericProperty key="name">test_var</gprop:GenericProperty> <gprop:GenericProperty key="value">test1</gprop:GenericProperty> </Item> </Section> </Content> </Envelope>
var 리소스는 항상 <Content> 섹션 내에 있습니다. 다음 키를 포함하는 <gprop:GenericProperty> 태그가 있을 수 있습니다.
name – 변수의 이름입니다.
value – 변수 값입니다.
예 18-19 physio_device XML 예
<Envelope> <References/> <Content xsi:type="ovf:VirtualSystem_Type" id="ldg1"> <Section xsi:type="ovf:VirtualHardwareSection_Type"> <Item> <rasd:OtherResourceType>physio_device</rasd:OtherResourceType> <gprop:GenericProperty key="name">pci@780</gprop:GenericProperty> </Item> </Section> </Content> </Envelope>
physio_device 리소스는 항상 <Content> 섹션 내에 있습니다. 유일한 등록 정보는 name 키 등록 정보 값(설명할 I/O 장치의 이름)을 포함하는 <gprop:GenericProperty> 태그입니다.
예 18-20 spconfig XML 예
<Envelope> <Section xsi:type="ovf:ResourceAllocationSection_type"> <Item> <rasd:OtherResourceType>spconfig</rasd:OtherResourceType> <gprop:GenericProperty key="spconfig_name">primary</gprop:GenericProperty> <gprop:GenericProperty key="spconfig_status">current</gprop:GenericProperty> </Item> </Section> </Envelope>
SP(서비스 프로세서) 구성(spconfig) 리소스는 항상 <Envelope> 섹션에 자체적으로 표시됩니다. 다음 키를 포함하는 <gprop:GenericProperty> 태그가 있을 수 있습니다.
spconfig_name – SP에 저장될 구성의 이름입니다.
spconfig_status – 특정 SP 구성의 현재 상태입니다. 이 등록 정보는 ldm list-spconfig 명령의 출력에 사용됩니다.
예 18-21 policy XML 예
<Envelope> <Section xsi:type="ovf:VirtualHardwareSection_Type"> <Item> <rasd:OtherResourceType>policy</rasd:OtherResourceType> <gprop:GenericProperty key="policy_name">test-policy</gprop:GenericProperty> <gprop:GenericProperty key="policy_enable">on</gprop:GenericProperty> <gprop:GenericProperty key="policy_priority">1</gprop:GenericProperty> <gprop:GenericProperty key="policy_vcpu_min">12</gprop:GenericProperty> <gprop:GenericProperty key="policy_vcpu_max">13</gprop:GenericProperty> <gprop:GenericProperty key="policy_util_lower">8</gprop:GenericProperty> <gprop:GenericProperty key="policy_util_upper">9</gprop:GenericProperty> <gprop:GenericProperty key="policy_tod_begin">07:08:09</gprop:GenericProperty> <gprop:GenericProperty key="policy_tod_end">09:08:07</gprop:GenericProperty> <gprop:GenericProperty key="policy_sample_rate">1</gprop:GenericProperty> <gprop:GenericProperty key="policy_elastic_margin">8</gprop:GenericProperty> <gprop:GenericProperty key="policy_attack">8</gprop:GenericProperty> <gprop:GenericProperty key="policy_decay">9</gprop:GenericProperty> </Item> </Section> </Envelope>
DRM 정책(policy) 리소스는 <Envelope> 섹션에 표시되며 다음 키를 포함하는 <gprop:GenericProperty> 태그가 있을 수 있습니다.
policy_name – DRM 정책의 이름입니다.
policy_enable – DRM 정책을 사용 또는 사용 안함으로 설정할지 여부를 지정합니다.
policy_priority – DRM 정책의 우선 순위입니다.
policy_vcpu_min – 도메인의 최소 가상 CPU 리소스 수입니다.
policy_vcpu_max – 도메인의 최대 가상 CPU 리소스 수입니다.
policy_util_lower – 정책 분석이 트리거되는 하한 사용량 레벨입니다.
policy_util_upper – 정책 분석이 트리거되는 상한 사용량 레벨입니다.
policy_tod_begin – DRM 정책의 유효 시작 시간입니다.
policy_tod_end – DRM 정책의 유효 중지 시간입니다.
policy_sample_rate – 초 단위의 주기 시간인 샘플 비율입니다.
policy_elastic_margin – CPU 사용량의 상한 및 하한 간 버퍼 양입니다.
policy_attack – 한 리소스 제어 주기 중에 추가될 최대 리소스 양입니다.
policy_decay – 한 리소스 제어 주기 중에 제거될 최대 리소스 양입니다.
예 18-22 vdpcs XML 예
<Envelope> <References/> <Content xsi:type="ovf:VirtualSystem_Type" id="ldg1"> <Section xsi:type="ovf:VirtualHardwareSection_Type"> <Item> <rasd:OtherResourceType>vdpcs</rasd:OtherResourceType> <gprop:GenericProperty key="service_name">dg1-vdpcs</gprop:GenericProperty> </Item> </Section> </Content> </Envelope>
이 리소스는 Netra DPS 환경에만 사용됩니다. vdpcs 리소스는 도메인 설명의 일부로 <Content> 섹션에 표시되거나, <Envelope> 섹션에 자체적으로 표시될 수 있습니다. 유일한 등록 정보는 설명할 가상 데이터 플레인 채널 서비스(vdpcs) 리소스의 이름인 service_name 키 등록 정보 값을 포함하는 <gprop:GenericProperty> 태그입니다.
예 18-23 vdpcc XML 예
<Envelope> <References/> <Content xsi:type="ovf:VirtualSystem_Type" id="ldg1"> <Section xsi:type="ovf:VirtualHardwareSection_Type"> <Item> <rasd:OtherResourceType>vdpcc</rasd:OtherResourceType> <gprop:GenericProperty key="vdpcc_name">vdpcc</gprop:GenericProperty> <gprop:GenericProperty key="service_name">ldg1-vdpcs</gprop:GenericProperty> </Item> </Section> </Content> </Envelope>
이 리소스는 Netra DPS 환경에만 사용됩니다. 가상 데이터 플레인 채널 클라이언트 리소스는 항상 <Content> 섹션 내에 있습니다. 다음 키를 포함하는 <gprop:GenericProperty> 태그가 있을 수 있습니다.
vdpcc_name – 가상 데이터 플레인 채널 클라이언트(vdpcc)의 이름입니다.
service_name – 이 vdpcc가 바인드될 가상 데이터 플레인 채널 서비스 vdpcs의 이름입니다.
예 18-24 console XML 예
<Envelope> <References/> <Content xsi:type="ovf:VirtualSystem_Type" id="ldg1"> <Section xsi:type="ovf:VirtualHardwareSection_Type"> <Item> <rasd:OtherResourceType>console</rasd:OtherResourceType> <gprop:GenericProperty key="port">6000</gprop:GenericProperty> <gprop:GenericProperty key="service_name">vcc2</gprop:GenericProperty> <gprop:GenericProperty key="group">group-name</gprop:GenericProperty> </Item> </Section> </Content> </Envelope>
console 리소스는 항상 <Content> 섹션 내에 있습니다. 다음 키를 포함하는 <gprop:GenericProperty> 태그가 있을 수 있습니다.
port – 이 가상 콘솔(console)을 변경할 포트입니다.
service_name – 이 console을 바인드할 가상 콘솔 집중기(vcc) 서비스입니다.
group – 이 console을 바인드할 그룹의 이름입니다.
이 예는 migrate-domain 하위 명령의 <data> 섹션에 포함된 내용을 보여줍니다.
예 18-25 migrate-domain <data> 섹션의 예
<Envelope> <References/> <Content xsi:type="ovf:VirtualSystem_Type" ovf:id="ldg1"/> <Content xsi:type="ovf:VirtualSystem_Type" ovf:id="ldg1"/> <Section xsi:type="ovf:ResourceAllocationSection_Type"> <Item> <rasd:OtherResourceType>ldom_info</rasd:OtherResourceType> <gprop:GenericProperty key="target">target-host</gprop:GenericProperty> <gprop:GenericProperty key="username">user-name</gprop:GenericProperty> <gprop:GenericProperty key="password">password</gprop:GenericProperty> <Item> </Section> </Content> </Envelope>
여기서:
첫번째 <Content> 노드(<ldom_info> 섹션 없음)는 마이그레이션할 소스 도메인입니다.
두번째 <Content> 노드(<ldom_info> 섹션 있음)는 마이그레이션할 대상 도메인입니다. 소스 및 대상 도메인 이름은 같아도 됩니다.
대상 도메인의 <ldom_info> 섹션은 마이그레이션할 시스템 및 해당 시스템으로 마이그레이션하는 데 필요한 세부 정보를 설명합니다.
target-host - 마이그레이션할 대상 시스템입니다.
user-name - 대상 시스템의 로그인 사용자 이름입니다. SASL 64비트로 인코딩해야 합니다.
password - 대상 시스템에 로그인하는 데 사용할 암호입니다. SASL 64비트로 인코딩해야 합니다.
주 - Logical Domains Manager는 대상 사용자 이름과 암호를 디코딩하는 데 sasl_decode64()를 사용하고, 이러한 값을 인코딩하는 데 sasl_encode64()를 사용합니다. SASL 64 인코딩은 base64 인코딩에 해당합니다.