•  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

file_requester(r1 Blame)

r1
r1

(새 문서)
1[목차]
2== 개요 ==
3 *지역 노드 내 Miss[* 로컬 저장소에 파일이 없어 원격으로 불러오는 경]가 일정 시간 내 일정 횟수 이상 발생 시 중앙노드에게 동적 파일 배포 요청을 한다.
4
5=== 해당 프로세스와 연동 된 프로세스 ===
6||<-2> ''' 연동된 프로세스 정보''' ||
7|| G_GSDM || Miss 컨텐츠 발생 시 GSDM에게 노드 간 동적 배포(pull) 요청 ||
8|| FileRequesterMonitor || file_requester 프로세스의 감시 및 장애 시 자동 재시작을 수행한다. ||
9|| - || - ||
10
11===# CiHVODServer 관련 이슈 사항 #===
12
13== 관련 설정 파일 ==
14 *파일 위치
15>/usr/local/castis/file-requester.xml
16
17== Log ==
18=== file-requester 시작 ===
19>file-requester,1.0.2,2015-09-25,15:02:27.444454,Information,main.cpp::main:74,,Castis FileRequester v1.0.2 Started.
20
21=== not found log 수집 (로그날짜 2015-09-25 15:00:23, a.mpg) ===
22>file-requester,1.0.2,2015-09-25,15:02:51.451094,Debug,file_requester.cpp::FindNotFoundLog:102,,found NotFoundLog 20150925150023:a.mpg
23
24=== 배포 요청 조건에 맞아 a.mpg를 배포 요청하기로 결정됨 ===
25>file-requester,1.0.2,2015-09-25,15:03:03.454652,Debug,file_requester.cpp::GetRequestFiles:136,,need request:a.mpg
26
27=== a.mpg에 대한 배포 요청 ===
28>file-requester,1.0.2,2015-09-25,15:03:03.454903,Debug,gsdm_client.cpp::Distribute:41,,req body:{"type":"manual","filename":"a.mpg","dueDate":"20150930150303","destinationLocation":"loc-1"}
29
30=== 정상적인 배포 요청 응답 Created(201) 수신 ===
31>file-requester,1.0.2,2015-09-25,15:03:03.486100,Debug,gsdm_client.cpp::Distribute:52,,res body:Created
32
33=== a.mpg 배포 요청 성공 ===
34>file-requester,1.0.2,2015-09-25,15:03:03.486678,Information,file_requester.cpp::RequestDistribute:153,,success, a.mpg
35
36=== 15번 시그널(SIGTERM)을 받아 프로그램 종료 ===
37>file-requester,1.0.2,2015-09-25,15:03:16.534555,Information,main.cpp::operator():93,,signal = 15
38
39=== file-requester 종료 ===
40>file-requester,1.0.2,2015-09-25,15:03:17.490532,Information,main.cpp::main:102,,Castis FileRequester v1.0.2 Terminated.
41