Sun Java System Web Server 7.0 관리자 설명서

세션 복제 활성화

관리 콘솔이나 CLI를 사용하여 클러스터에서 세션 복제를 활성화할 수 있습니다. 세션 복제를 활성화하려면 브라우저에서 쿠기가 사용 가능해야 합니다.

server.xml 파일에는 세션 복제와 관련된 정보가 있습니다. 다음은 세션 복제가 활성화된 샘플 server.xml 파일입니다.

<cluster>
		<local-host>hostA</local-host>
			<instance>
         <host>hostB</host>
      </instance>
      <instance>
          <host>hostC</host>
      </instance>
       <instance>
          <host>hostD</host>
      </instance>
      <instance>
           <host>hostA</host>
    <session-replication/>
</cluster>
			

다음 요소의 기본값을 사용하지 않는 경우에는 server.xml 구성 파일에서 이러한 요소의 항목을 사용할 수 없습니다.

Port number(기본값은 1099)

Protocol(기본값은 jrmp)

Encrypted(기본값은 false)

Getattribute Triggers Replication(기본값은 true)

Replica Discovery MaxHops(기본값은 –1)

Startup Discovery Timeout(기본값은 ?)

Cookie Name(기본값은 CLUSTERSESSIONLOCATOR)

이러한 세션 복제 등록 정보에 대한 자세한 내용은 Sun Java System Web Server 7.0 Administrator’s Configuration File Reference를 참조하십시오.