다음을 통해 공유


HTTP를 통한 클라이언트 보고 지원

적용 대상: Application Virtualization 4.6

App-V Client 버전 4.6은 현재 클라이언트 보고 데이터를 게시 서버로 보낼 때 HTTP 통신 사용을 지원합니다. 이 기능은 고객이 클라이언트 데이터를 수집하고 처리하도록 구성된 사용자 지정 HTTP(S) 게시 서버를 구현한 시나리오를 지원합니다.

HTTP 게시 서버에 대한 자세한 내용은 https://go.microsoft.com/fwlink/?LinkId=157426을 참조하십시오.

HTTP를 통한 클라이언트 보고

클라이언트는 게시 서버로부터 게시 새로 고침 응답 XML의 “REPORTING=”TRUE”” 특성을 수신하는 경우에 데이터 수집을 시작합니다. 이 특성이 수신되면 클라이언트가 게시 새로 고침을 보낸 게시 서버로 누적된 데이터를 보냅니다. 이에 대한 자세한 과정은 다음과 같습니다.

  • 클라이언트는 게시 새로 고침을 위해 게시 서버로 HTTP GET 요청을 보냅니다. 이 메시지의 헤더에는 사용자 지정 HTTP(S) 게시 서버가 메시지 유형 확인을 위해 사용하는 “AppV-Op:Refresh” 사용자 지정 헤더가 포함되어 있습니다.

  • 그러면 게시 서버가 “REPORTING=”TRUE”” 값을 포함한 게시 새로 고침 응답 XML을 보냅니다.

  • 그러면 클라이언트가 이전 새로 고침 이후 수집된 보고 데이터와 함께 HTTP POST 요청을 게시 서버로 보냅니다. 이 메시지의 헤더에는 사용자 지정 HTTP(S) 게시 서버가 메시지 유형 확인을 위해 사용하는 “AppV-Op:Report” 사용자 지정 헤더가 포함되어 있습니다.

다음 스키마는 서버로 보내지는 패키지와 응용 프로그램 데이터의 구체적 내용을 보여줍니다.

<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">

    <xs:element name="CLIENT_DATA">
        <xs:complexType>
            <xs:all>
                <xs:element ref="PKG_LIST" minOccurs="1" maxOccurs="1"/>
                <xs:element ref="APP_RECORDS" minOccurs="1" maxOccurs="1"/>
            </xs:all>
            <!-- no regex for Ver because we want to allow tags like "Beta" -->
            <xs:attribute name="Ver" type="xs:normalizedString" use="required"/>
            <xs:attribute name="Host" type="xs:token" use="required"/>
            <xs:attribute name="CacheSize" type="xs:nonNegativeInteger" use="required"/>
            <xs:attribute name="CacheUsed" type="xs:nonNegativeInteger" use="required"/>
        </xs:complexType>
    </xs:element>

    <xs:element name="PKG_LIST">
        <xs:complexType>
            <xs:choice>
                <xs:element ref="PKG_DATA" minOccurs="0" maxOccurs="unbounded"/>
            </xs:choice>
        </xs:complexType>
    </xs:element>

    <xs:element name="PKG_DATA">
        <xs:complexType>
            <xs:attribute name="Name" type="xs:normalizedString" use="required"/>
            <xs:attribute name="Guid" type="xs:token" use="required"/>
            <xs:attribute name="Ver" type="xs:normalizedString" use="required"/>
            <xs:attribute name="VerGuid" type="xs:token" use="required"/>
            <xs:attribute name="Source" type="xs:normalizedString" use="required"/>
            <xs:attribute name="PctCached" use="required">
                <xs:simpleType>
                    <xs:restriction base="xs:nonNegativeInteger">
                        <xs:minInclusive value="0"/>
                        <xs:maxInclusive value="100"/>
                    </xs:restriction>
                </xs:simpleType>
            </xs:attribute>
        </xs:complexType>
    </xs:element>

    <xs:element name="APP_RECORDS">
         <xs:complexType>
            <xs:choice>
                <xs:element ref="APP_RECORD" minOccurs="0" maxOccurs="unbounded"/>
            </xs:choice>
        </xs:complexType>
   </xs:element>

    <xs:element name="APP_RECORD">
            <xs:attribute name="Name" type="xs:normalizedString" use="required"/>
            <xs:attribute name="Ver" type="xs:normalizedString" use="required"/>
            <xs:attribute name="Server" type="xs:normalizedString" use="required"/>
            <xs:attribute name="User" type="xs:normalizedString" use="required"/>
            <xs:attribute name="Launched" type="xs:dateTime" use="required"/>
            <xs:attribute name="Shutdown" type="xs:dateTime" use="optional"/>
    </xs:element>

</xs:schema>

-----
TechNet 라이브러리에서 MDOP에 대한 자세한 내용을 확인하거나, TechNet 위키에서 문제 해결 방법을 검색하거나, Facebook 또는 Twitter에서 Microsoft를 팔로우할 수 있습니다. MDOP 문서에 대한 제안 및 의견은 다음으로 보내 주십시오. MDOPdocs@microsoft.com.