- Create cluster/ for Proxmox cluster infrastructure (SSH guide, HA monitor, UPS) - Create lxc108-oracle/ for Oracle Database documentation and scripts - Create vm201-windows/ for Windows 11 VM docs and SSL certificate scripts - Add SSL certificate monitoring scripts (check-ssl-certificates.ps1, monitor-ssl-certificates.sh) - Remove archived VM107 references (decommissioned) - Update all cross-references between files - Update main README.md with new structure and navigation Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
190 lines
6.6 KiB
Markdown
190 lines
6.6 KiB
Markdown
# Documentație Proxmox Infrastructure - ROMFASTSQL
|
|
|
|
## Structură Directoare
|
|
|
|
```
|
|
proxmox/
|
|
├── README.md # Acest fișier (index principal)
|
|
│
|
|
├── cluster/ # Infrastructură cluster Proxmox
|
|
│ ├── README.md # Ghid SSH și administrare cluster
|
|
│ ├── cluster-ha-monitor.sh # Script monitorizare HA
|
|
│ └── ups/ # Sistem UPS pentru cluster
|
|
│ ├── README.md
|
|
│ ├── docs/
|
|
│ ├── scripts/
|
|
│ └── config/
|
|
│
|
|
├── lxc108-oracle/ # LXC 108 - Oracle Database XE 21c
|
|
│ ├── README.md # Documentație completă Oracle
|
|
│ └── scripts/
|
|
│ ├── export-roa2.sh
|
|
│ └── export-roa2.ps1
|
|
│
|
|
├── vm201-windows/ # VM 201 - Windows 11 (roacentral)
|
|
│ ├── README.md # Informații generale VM
|
|
│ ├── docs/
|
|
│ │ ├── vm201-certificat-letsencrypt-iis.md
|
|
│ │ ├── vm201-troubleshooting-backup-nfs.md
|
|
│ │ └── vm201-troubleshooting-pana-curent-2026-01-11.md
|
|
│ └── scripts/
|
|
│ ├── check-ssl-certificates.ps1
|
|
│ └── monitor-ssl-certificates.sh
|
|
│
|
|
└── claude-agent/ # Scripturi Claude Agent
|
|
├── README.md
|
|
└── *.sh
|
|
```
|
|
|
|
---
|
|
|
|
## Documentație per Componentă
|
|
|
|
### Cluster Proxmox
|
|
**Director:** `cluster/`
|
|
|
|
| Fișier | Descriere |
|
|
|--------|-----------|
|
|
| `README.md` | Ghid complet: SSH, noduri, storage, comenzi Proxmox, hartă IP-uri |
|
|
| `cluster-ha-monitor.sh` | Script monitorizare High Availability |
|
|
| `ups/` | Sistem UPS: configurare NUT, shutdown orchestrat, test baterie |
|
|
|
|
**Quick Start:**
|
|
```bash
|
|
# Acces Proxmox
|
|
ssh root@10.0.20.201
|
|
|
|
# Status cluster
|
|
ssh root@10.0.20.201 "pvecm status"
|
|
|
|
# Status UPS
|
|
ssh root@10.0.20.201 "upsc nutdev1"
|
|
```
|
|
|
|
---
|
|
|
|
### LXC 108 - Oracle Database
|
|
**Director:** `lxc108-oracle/`
|
|
**IP:** 10.0.20.121 | **Host:** pvemini
|
|
|
|
| Fișier | Descriere |
|
|
|--------|-----------|
|
|
| `README.md` | PDB-uri, useri, parole, connection strings, export/import DMP |
|
|
| `scripts/export-roa2.sh` | Script export PDB roa2 |
|
|
| `scripts/export-roa2.ps1` | Script export pentru Windows |
|
|
|
|
**Quick Start:**
|
|
```bash
|
|
# Acces în container
|
|
ssh root@10.0.20.201 "pct enter 108"
|
|
|
|
# Restart Oracle
|
|
ssh root@10.0.20.201 "pct exec 108 -- docker restart oracle-xe"
|
|
|
|
# Conexiune SQL*Plus
|
|
sqlplus sys/romfastsoft@10.0.20.121:1521/roa as sysdba
|
|
```
|
|
|
|
---
|
|
|
|
### VM 201 - Windows 11
|
|
**Director:** `vm201-windows/`
|
|
**IP:** DHCP | **Host:** pvemini | **Rol:** Reverse proxy IIS, client aplicații
|
|
|
|
| Fișier | Descriere |
|
|
|--------|-----------|
|
|
| `README.md` | Configurație hardware, servicii, rețea, backup |
|
|
| `docs/vm201-certificat-letsencrypt-iis.md` | Certificate SSL Let's Encrypt, Win-ACME, SNI |
|
|
| `docs/vm201-troubleshooting-backup-nfs.md` | Incident backup NFS (2025-10-08) |
|
|
| `docs/vm201-troubleshooting-pana-curent-2026-01-11.md` | Incident pană curent |
|
|
| `scripts/check-ssl-certificates.ps1` | Verificare/reînnoire certificate (Windows) |
|
|
| `scripts/monitor-ssl-certificates.sh` | Monitorizare certificate (Proxmox) |
|
|
|
|
**Quick Start:**
|
|
```bash
|
|
# Reînnoire certificate SSL (din Proxmox)
|
|
ssh root@10.0.20.201 "qm guest exec 201 -- powershell -Command 'cd C:\\Tools\\win-acme; .\\wacs.exe --renew --force'"
|
|
ssh root@10.0.20.201 "qm guest exec 201 -- cmd /c iisreset"
|
|
|
|
# Verificare certificate
|
|
echo | openssl s_client -connect roa.romfast.ro:443 -servername roa.romfast.ro 2>/dev/null | openssl x509 -noout -dates
|
|
```
|
|
|
|
---
|
|
|
|
## Hartă Rapidă Resurse
|
|
|
|
### Noduri Proxmox Cluster
|
|
| Nod | IP | Web GUI |
|
|
|-----|-----|---------|
|
|
| pve1 | 10.0.20.200 | https://10.0.20.200:8006 |
|
|
| **pvemini** | **10.0.20.201** | https://10.0.20.201:8006 |
|
|
| pveelite | 10.0.20.202 | https://10.0.20.202:8006 |
|
|
|
|
### LXC Containers
|
|
| VMID | Nume | IP | Serviciu | Documentație |
|
|
|------|------|-----|----------|--------------|
|
|
| 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` |
|
|
| 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 |
|
|
|------|------|----|--------------|
|
|
| **201** | **roacentral** | **Windows 11** | **`vm201-windows/`** |
|
|
| 300 | Win11-Template | Windows 11 | `cluster/README.md` |
|
|
|
|
---
|
|
|
|
## Navigare Rapidă - Am nevoie să...
|
|
|
|
### Infrastructură
|
|
- **Văd toate IP-urile și serviciile** → `cluster/README.md`
|
|
- **Configurez SSH** → `cluster/README.md` → "Configurare Inițială SSH"
|
|
- **Monitorizez HA cluster** → `cluster/cluster-ha-monitor.sh`
|
|
- **Gestionez UPS** → `cluster/ups/README.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"
|
|
|
|
### Windows VM 201
|
|
- **Reînnoiesc certificate SSL** → `vm201-windows/docs/vm201-certificat-letsencrypt-iis.md`
|
|
- **Rezolv probleme VM locked** → `vm201-windows/docs/vm201-troubleshooting-backup-nfs.md`
|
|
- **Informații generale** → `vm201-windows/README.md`
|
|
|
|
---
|
|
|
|
## Servicii Web
|
|
|
|
| Serviciu | URL |
|
|
|----------|-----|
|
|
| Proxmox pvemini | https://10.0.20.201:8006 |
|
|
| Oracle EM Express | http://10.0.20.121:5500/em |
|
|
| Portainer (Oracle) | http://10.0.20.121:9443 |
|
|
| 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 |
|
|
|
|
---
|
|
|
|
## Task-uri Automate Configurate
|
|
|
|
| Task | Locație | Frecvență | Scop |
|
|
|------|---------|-----------|------|
|
|
| SSL Certificate Check | VM 201 Task Scheduler | Zilnic 07:00 | Verifică/reînnoiește certificate |
|
|
| SSL Monitor | Proxmox cron | Zilnic 08:00 | Monitorizare externă certificate |
|
|
| Win-ACME Renew | VM 201 Task Scheduler | Zilnic 09:00 | Reînnoire automată Let's Encrypt |
|
|
| UPS Monthly Test | Proxmox cron | Lunar | Test baterie UPS |
|
|
| Backup Job | Proxmox | Zilnic 02:00 | Backup toate LXC/VM |
|
|
|
|
---
|
|
|
|
**Ultima actualizare:** 2026-01-27
|
|
**Autor:** Marius Mutu
|
|
**Proiect:** ROMFASTSQL - Infrastructure Documentation
|