Add infrastructure work to troubleshooting summary

- DATA repository clone and organization
- Neo4j data directory migration to HDD (SSD → HDD)
- Storage structure documentation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
happybell80 2025-10-16 21:33:20 +09:00
parent f0d9890110
commit 50be99f4e4

View File

@ -106,3 +106,91 @@
### Cascading Failure 방지
한 단계 실패가 전체 워크플로우 실패로 연쇄되지 않도록 설계. 멱등성으로 안정화.
---
## 인프라 작업 (51123 서버)
### 5. DATA 저장소 클론 및 정리
**작업 일시**: 2025-10-16 21:20 KST
**작업 내용**:
1. Gitea 저장소 위치 확인: `/mnt/hdd/gitea-repositories/` (311MB)
2. DATA.git 클론: `/mnt/hdd/data/DATA/`
3. 기존 데이터 이동: `kb_realestate_data/`, `startup_crawl/``/mnt/hdd/data/DATA/`
**최종 구조**:
```
/mnt/hdd/data/
├── DATA/ ← Git 관리
│ ├── RWA/
│ ├── startup/ (YC 5,000+개사, VC firms)
│ ├── startup_crawl/ (한국 뉴스 4,388건)
│ └── kb_realestate_data/
└── documents/ (skill-rag-file 전용)
```
**51124 접근**: `/mnt/51123data/DATA/` (SSHFS)
---
### 6. Neo4j 데이터 디렉토리 HDD 이동
**작업 일시**: 2025-10-16 21:30-21:31 KST
**문제**: Neo4j 데이터가 SSD (`/var/lib/neo4j/data`)에 저장되어 스타트업 데이터 로드 시 공간 부족 우려
**작업 단계**:
1. Neo4j 서비스 중지
2. `/var/lib/neo4j/data``/mnt/hdd/neo4j/data` 이동
3. 심볼릭 링크 생성: `/var/lib/neo4j/data``/mnt/hdd/neo4j/data`
4. 권한 설정: `chown -R neo4j:neo4j /mnt/hdd/neo4j/`
5. Neo4j 재시작
**결과**:
- 이전: `/var/lib/neo4j/data` (SSD, 956KB)
- 현재: `/mnt/hdd/neo4j/data` (HDD, 517MB)
- 심볼릭 링크: 정상 작동
- 서비스 상태: `active (running)`
**효과**:
- HDD 여유 공간: 867GB
- 스타트업 데이터 로드 시 예상 크기: 1-2GB (안전)
- 설정 파일 수정 불필요 (심볼릭 링크로 투명하게 처리)
**검증**:
```bash
ls -lah /var/lib/neo4j/ | grep data
# lrwxrwxrwx 1 root root 19 10월 16 21:31 data -> /mnt/hdd/neo4j/data
df -h /mnt/hdd/
# /dev/sdb1 916G 3.2G 867G 1% /mnt/hdd
systemctl status neo4j
# Active: active (running)
```
**향후 계획**:
- 스타트업 데이터 Neo4j 구조화 (YC + 한국 기업 + VC + 뉴스)
- 예상 소요 시간: 2.5-4시간 (스크립트 작성 포함)
---
## 저장소 현황 (51123)
### Gitea
- **위치**: `/mnt/hdd/gitea-repositories/` (HDD)
- **크기**: 311MB
- **조직**: ivada_ro-being (30개 프로젝트)
### 데이터
- **위치**: `/mnt/hdd/data/` (HDD)
- **구조**:
- `DATA/`: 158MB (Git 관리, 스타트업 데이터)
- `documents/`: skill-rag-file 업로드
### Neo4j
- **위치**: `/mnt/hdd/neo4j/data/` (HDD, 심볼릭 링크)
- **크기**: 517MB
- **상태**: 정상 실행 중