Reorganize oracle/ and chatbot/ into proxmox/ per LXC/VM structure

- Move oracle/migration-scripts/ to proxmox/lxc108-oracle/migration/
- Move oracle/roa/ and oracle/roa-romconstruct/ to proxmox/lxc108-oracle/sql/
- Move oracle/standby-server-scripts/ to proxmox/vm109-windows-dr/
- Move chatbot/ to proxmox/lxc104-flowise/
- Update proxmox/README.md with new structure and navigation
- Update all documentation with correct directory references
- Remove unused input/claude-agent-sdk/ files

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Marius
2026-01-27 17:28:53 +02:00
parent 4d51d5b2d2
commit a567f75f25
51 changed files with 233 additions and 1706 deletions

View File

@@ -15,11 +15,36 @@ proxmox/
│ ├── scripts/
│ └── config/
├── lxc104-flowise/ # LXC 104 - Flowise AI (Chatbot Maria)
│ ├── README.md # Infrastructură chatbot, ngrok, troubleshooting
│ └── docs/
│ ├── prd.md # Product Requirements Document
│ ├── v1-arhitectura.md # Arhitectură v1 (Flowise + Groq)
│ └── v2-arhitectura.md # Arhitectură v2 (Claude Agent SDK)
├── lxc108-oracle/ # LXC 108 - Oracle Database XE 21c
│ ├── README.md # Documentație completă Oracle
│ ├── scripts/
│ │ ├── export-roa2.sh
│ │ └── export-roa2.ps1
│ ├── migration/ # Scripturi migrare Oracle 10g → 21c
│ │ ├── README.md
│ │ ├── 00-MASTER-MIGRATION.sh
│ │ └── ...
│ └── sql/
│ ├── roa/ # SQL-uri Oracle 10g compatibilitate
│ └── roa-romconstruct/ # Package PACK_CONTAFIN
├── vm109-windows-dr/ # VM 109 - Windows Standby (Disaster Recovery)
│ ├── README.md # Configurare DR, RMAN backup
│ ├── docs/
│ │ ├── PLAN_TESTARE_MONITORIZARE.md
│ │ ├── PROXMOX_NOTIFICATIONS_README.md
│ │ └── archive/ # Planuri și statusuri anterioare
│ └── scripts/
│ ├── export-roa2.sh
── export-roa2.ps1
│ ├── rman_backup*.bat # Scripturi RMAN Windows
── transfer_backups.ps1 # Transfer backup-uri
│ └── *-proxmox.sh # Monitorizare din Proxmox
├── vm201-windows/ # VM 201 - Windows 11 (roacentral)
│ ├── README.md # Informații generale VM
@@ -63,6 +88,36 @@ ssh root@10.0.20.201 "upsc nutdev1"
---
### LXC 104 - Flowise AI (Chatbot Maria)
**Director:** `lxc104-flowise/`
**IP:** 10.0.20.161 | **Host:** pvemini
| Fișier | Descriere |
|--------|-----------|
| `README.md` | Configurare Flowise, ngrok, troubleshooting CORS |
| `docs/prd.md` | Product Requirements Document chatbot |
| `docs/v1-arhitectura.md` | Arhitectură Flowise + Groq |
| `docs/v2-arhitectura.md` | Arhitectură Claude Agent SDK (planificat) |
**Quick Start:**
```bash
# Status servicii
ssh root@10.0.20.201 "pct exec 104 -- systemctl status flowise"
ssh root@10.0.20.201 "pct exec 104 -- systemctl status ngrok"
# Restart Flowise
ssh root@10.0.20.201 "pct exec 104 -- systemctl restart flowise"
# Test chatbot
curl -s "https://mutual-special-koala.ngrok-free.app/api/v1/prediction/d4911620-07fe-41f8-adb4-f2f52d6ec766" \
-X POST -H "Content-Type: application/json" -d '{"question":"test"}'
```
**URL Public:** https://mutual-special-koala.ngrok-free.app
**Pagina Web:** https://www.romfast.ro/chatbot_maria.html
---
### LXC 108 - Oracle Database
**Director:** `lxc108-oracle/`
**IP:** 10.0.20.121 | **Host:** pvemini
@@ -87,6 +142,31 @@ sqlplus sys/romfastsoft@10.0.20.121:1521/roa as sysdba
---
### VM 109 - Windows Standby (Disaster Recovery)
**Director:** `vm109-windows-dr/`
**Rol:** Backup Oracle database de pe server extern Windows (RMAN)
| Fișier | Descriere |
|--------|-----------|
| `README.md` | Configurare DR, RMAN backup, scripturi transfer |
| `docs/PLAN_TESTARE_MONITORIZARE.md` | Plan testare și monitorizare DR |
| `docs/PROXMOX_NOTIFICATIONS_README.md` | Configurare notificări Proxmox |
| `docs/archive/` | Planuri implementare și statusuri anterioare |
| `scripts/rman_backup*.bat` | Scripturi RMAN pentru backup Windows |
| `scripts/transfer_backups.ps1` | Transfer backup-uri către storage |
| `scripts/*-proxmox.sh` | Scripturi monitorizare din Proxmox |
**Quick Start:**
```bash
# Monitorizare backup Oracle DR
/mnt/e/proiecte/ROMFASTSQL/proxmox/vm109-windows-dr/scripts/oracle-backup-monitor-proxmox.sh
# Test săptămânal DR
/mnt/e/proiecte/ROMFASTSQL/proxmox/vm109-windows-dr/scripts/weekly-dr-test-proxmox.sh
```
---
### VM 201 - Windows 11
**Director:** `vm201-windows/`
**IP:** DHCP | **Host:** pvemini | **Rol:** Reverse proxy IIS, client aplicații
@@ -126,13 +206,14 @@ echo | openssl s_client -connect roa.romfast.ro:443 -servername roa.romfast.ro 2
|------|------|-----|----------|--------------|
| 100 | portainer | 10.0.20.170 | Docker Management | `cluster/README.md` |
| 103 | dokploy | 10.0.20.167 | Deployment Platform | `cluster/README.md` |
| 104 | flowise | 10.0.20.161 | Flowise AI + Ollama | `cluster/README.md` |
| **104** | **flowise** | **10.0.20.161** | **Flowise AI (Chatbot Maria)** | **`lxc104-flowise/`** |
| 106 | gitea | 10.0.20.165 | Git Server | `cluster/README.md` |
| **108** | **central-oracle** | **10.0.20.121** | **Oracle XE 21c** | **`lxc108-oracle/`** |
### Virtual Machines
| VMID | Nume | OS | Documentație |
|------|------|----|--------------|
| **109** | **standby-dr** | **Windows Server** | **`vm109-windows-dr/`** |
| **201** | **roacentral** | **Windows 11** | **`vm201-windows/`** |
| 300 | Win11-Template | Windows 11 | `cluster/README.md` |
@@ -146,10 +227,24 @@ echo | openssl s_client -connect roa.romfast.ro:443 -servername roa.romfast.ro 2
- **Monitorizez HA cluster** → `cluster/cluster-ha-monitor.sh`
- **Gestionez UPS** → `cluster/ups/README.md`
### Flowise AI / Chatbot Maria (LXC 104)
- **Configurez chatbot** → `lxc104-flowise/README.md`
- **Troubleshooting CORS/ngrok** → `lxc104-flowise/README.md` → "Troubleshooting"
- **PRD Chatbot** → `lxc104-flowise/docs/prd.md`
- **Arhitectură viitoare** → `lxc104-flowise/docs/v2-arhitectura.md`
### Oracle Database (LXC 108)
- **Conectez la Oracle** → `lxc108-oracle/README.md` → "Conexiuni Oracle"
- **Export/Import DMP** → `lxc108-oracle/README.md` → "Export și Import Data Pump"
- **Restart Oracle** → `lxc108-oracle/README.md` → "Restart Oracle"
- **Scripturi migrare 10g→21c** → `lxc108-oracle/migration/README.md`
- **SQL-uri Oracle 10g** → `lxc108-oracle/sql/roa/`
### Windows VM 109 - Disaster Recovery
- **Configurez RMAN backup** → `vm109-windows-dr/README.md`
- **Monitorizez backup-uri** → `vm109-windows-dr/scripts/oracle-backup-monitor-proxmox.sh`
- **Test DR săptămânal** → `vm109-windows-dr/scripts/weekly-dr-test-proxmox.sh`
- **Plan testare DR** → `vm109-windows-dr/docs/PLAN_TESTARE_MONITORIZARE.md`
### Windows VM 201
- **Reînnoiesc certificate SSL** → `vm201-windows/docs/vm201-certificat-letsencrypt-iis.md`
@@ -168,7 +263,9 @@ echo | openssl s_client -connect roa.romfast.ro:443 -servername roa.romfast.ro 2
| Portainer Principal | http://10.0.20.170:9443 |
| Gitea | http://10.0.20.165:3000 |
| Dokploy | http://10.0.20.167:3000 |
| Flowise AI | http://10.0.20.161:3000 |
| Flowise AI (local) | http://10.0.20.161:3000 |
| Flowise AI (public) | https://mutual-special-koala.ngrok-free.app |
| Chatbot Maria | https://www.romfast.ro/chatbot_maria.html |
---