Files
llm-automation-docs-and-rem…/templates/03_server_virtualizzazione.md
LLM Automation System 1ba5ce851d Initial commit: LLM Automation Docs & Remediation Engine v2.0
Features:
- Automated datacenter documentation generation
- MCP integration for device connectivity
- Auto-remediation engine with safety checks
- Multi-factor reliability scoring (0-100%)
- Human feedback learning loop
- Pattern recognition and continuous improvement
- Agentic chat support with AI
- API for ticket resolution
- Frontend React with Material-UI
- CI/CD pipelines (GitLab + Gitea)
- Docker & Kubernetes deployment
- Complete documentation and guides

v2.0 Highlights:
- Auto-remediation with write operations (disabled by default)
- Reliability calculator with 4-factor scoring
- Human feedback system for continuous learning
- Pattern-based progressive automation
- Approval workflow for critical actions
- Full audit trail and rollback capability
2025-10-17 23:47:28 +00:00

372 lines
12 KiB
Markdown

# 03 - Server e Virtualizzazione
**Ultimo Aggiornamento**: [DATA_AGGIORNAMENTO]
**Versione Documento**: [VERSIONE]
**Responsabile**: [NOME_RESPONSABILE]
---
## 1. Architettura Virtualizzazione
### 1.1 Hypervisor Platform
- **Piattaforma**: [VMWARE/HYPER-V/PROXMOX/KVM/XEN]
- **Versione**: [VERSION]
- **Licenze**: [N] - Tipo: [PER-CPU/PER-VM/UNLIMITED]
- **Management Console**: [URL/IP]
- **Supporto**: [LEVEL] - Scadenza: [DATA]
### 1.2 Cluster Configuration
| Cluster Name | Hosts | Total CPU | Total RAM | Total VMs | DRS/HA | Version |
|--------------|-------|-----------|-----------|-----------|--------|---------|
| [NOME] | [N] | [N_CORES] | [GB] | [N] | [ENABLED/DISABLED] | [VERSION] |
---
## 2. Host Fisici
### 2.1 Inventario Server Fisici
| Hostname | Marca/Modello | CPU | RAM (GB) | Storage Locale | NIC | IPMI IP | Rack | Cluster | Stato |
|----------|---------------|-----|----------|----------------|-----|---------|------|---------|-------|
| [HOSTNAME] | [VENDOR/MODEL] | [MODEL/CORES] | [GB] | [TB] | [N x SPEED] | [IP] | [RACK-U] | [CLUSTER] | [ONLINE/OFFLINE] |
### 2.2 Configurazione Standard Server
- **BIOS Version**: [VERSION]
- **Firmware**: [VERSIONS]
- **Boot Mode**: [UEFI/LEGACY]
- **Power Profile**: [BALANCED/PERFORMANCE/POWER_SAVE]
- **Virtualization**: [ENABLED] - VT-x/AMD-V, VT-d/AMD-Vi
### 2.3 Capacity Planning Host
| Hostname | CPU Usage % | RAM Usage % | Storage % | VMs Running | Overcommit Ratio |
|----------|-------------|-------------|-----------|-------------|------------------|
| [HOSTNAME] | [%] | [%] | [%] | [N] | [RATIO] |
---
## 3. Macchine Virtuali
### 3.1 Inventario VM
| VM Name | OS | vCPU | RAM (GB) | Storage (GB) | IP | Host | Cluster | Environment | Status |
|---------|----|----- |----------|--------------|-------|------|---------|-------------|--------|
| [VMNAME] | [OS/VERSION] | [N] | [GB] | [GB] | [IP] | [HOST] | [CLUSTER] | [PROD/DEV/TEST] | [ON/OFF] |
### 3.2 Template VM
| Template Name | OS | vCPU | RAM | Disk | Tools | Ultima Modifica | Utilizzo |
|---------------|-------|------|-----|------|-------|-----------------|----------|
| [TEMPLATE] | [OS] | [N] | [GB] | [GB] | [VERSION] | [DATA] | [N VMs] |
### 3.3 Snapshot Management
| VM Name | Snapshot Name | Dimensione (GB) | Creazione | Età (giorni) | Retention Policy |
|---------|---------------|-----------------|-----------|--------------|------------------|
| [VMNAME] | [SNAPSHOT] | [GB] | [DATA] | [N] | [POLICY] |
---
## 4. Storage Virtuale
### 4.1 Datastore
| Datastore | Tipo | Capacità (TB) | Utilizzato (TB) | Libero (TB) | Utilizzo % | IOPS | Latenza (ms) | VMs |
|-----------|------|---------------|-----------------|-------------|-----------|------|-------------|-----|
| [NOME] | [VMFS/NFS/VSAN] | [TB] | [TB] | [TB] | [%] | [N] | [MS] | [N] |
### 4.2 Storage Policy
| Policy Name | RAID Level | Thick/Thin | Dedupe | Compression | Tiering | VMs Assegnate |
|-------------|------------|------------|--------|-------------|---------|---------------|
| [POLICY] | [RAID] | [TYPE] | [SI/NO] | [SI/NO] | [SI/NO] | [N] |
---
## 5. Networking Virtuale
### 5.1 Virtual Switch
| vSwitch | Tipo | Uplink | MTU | VLAN | Port Groups | Security |
|---------|------|--------|-----|------|-------------|----------|
| [NOME] | [STANDARD/DISTRIBUTED] | [N x SPEED] | [BYTES] | [VLAN_LIST] | [N] | [POLICY] |
### 5.2 Port Groups
| Port Group | VLAN | Network | Security Policy | Traffic Shaping | VMs |
|------------|------|---------|-----------------|-----------------|-----|
| [NOME] | [VLAN] | [SUBNET] | [POLICY] | [IN/OUT MBPS] | [N] |
### 5.3 Virtual Router/Firewall
| Nome | Tipo | Versione | Interfaces | Rules | NAT Rules | VPN | Status |
|------|------|----------|------------|-------|-----------|-----|--------|
| [NOME] | [NSX/VYOS/PFSENSE] | [VERSION] | [N] | [N] | [N] | [N] | [UP/DOWN] |
---
## 6. High Availability e Fault Tolerance
### 6.1 HA Configuration
- **HA Abilitato**: [SI/NO]
- **Admission Control**: [POLICY]
- **Host Failure Response**: [RESTART_VMS/LEAVE_OFF]
- **VM Restart Priority**: [HIGH/MEDIUM/LOW/DISABLED]
- **Isolation Response**: [POWER_OFF/LEAVE_ON]
### 6.2 DRS (Distributed Resource Scheduler)
- **DRS Abilitato**: [SI/NO]
- **Automation Level**: [MANUAL/PARTIALLY/FULLY]
- **Migration Threshold**: [CONSERVATIVE/MODERATE/AGGRESSIVE]
- **VM-Host Affinity Rules**: [N]
- **VM-VM Affinity Rules**: [N]
### 6.3 Fault Tolerance
| VM Name | FT Status | Secondary Host | Lag (ms) | Bandwidth Usage (Mbps) | Ultimo Test |
|---------|-----------|----------------|----------|------------------------|-------------|
| [VMNAME] | [ACTIVE] | [HOST] | [MS] | [MBPS] | [DATA] |
---
## 7. Backup e Recovery VM
### 7.1 Backup Solution
- **Software**: [VENDOR/PRODUCT]
- **Versione**: [VERSION]
- **Metodo**: [AGENT/AGENTLESS]
- **Repository**: [LOCATION]
- **Retention**: [GIORNI/SETTIMANE]
### 7.2 Policy Backup VM
| Policy Name | VMs | Frequenza | Retention | Compression | Dedupe | Last Job | Success Rate |
|-------------|-----|-----------|-----------|-------------|--------|----------|--------------|
| [POLICY] | [N] | [DAILY/WEEKLY] | [N DAYS] | [SI/NO] | [SI/NO] | [DATA] | [%] |
### 7.3 RPO/RTO
| Criticità | RPO Target | RPO Attuale | RTO Target | RTO Attuale | N. VMs |
|-----------|------------|-------------|------------|-------------|--------|
| [TIER_1/2/3] | [MIN/HOURS] | [ACTUAL] | [MIN/HOURS] | [ACTUAL] | [N] |
---
## 8. Server Bare Metal
### 8.1 Server Fisici Non Virtualizzati
| Hostname | Ruolo | OS | CPU | RAM | Storage | Management IP | Rack | Motivo Non-Virt |
|----------|-------|----|----|-----|---------|---------------|------|-----------------|
| [HOSTNAME] | [ROLE] | [OS] | [CORES] | [GB] | [TB] | [IP] | [RACK-U] | [REASON] |
### 8.2 Applicazioni su Bare Metal
- [APPLICAZIONE]: [MOTIVO_BARE_METAL]
---
## 9. Container Platform (se presente)
### 9.1 Kubernetes Clusters
| Cluster Name | Distribuzione | Versione | Master Nodes | Worker Nodes | Namespaces | Pods | Services |
|--------------|---------------|----------|--------------|--------------|------------|------|----------|
| [NOME] | [K8S/OPENSHIFT/RANCHER] | [VERSION] | [N] | [N] | [N] | [N] | [N] |
### 9.2 Container Registry
- **Registry**: [HARBOR/NEXUS/DTR]
- **URL**: [URL]
- **Storage**: [GB/TB]
- **Immagini**: [N]
- **Scanning**: [ENABLED/DISABLED]
---
## 10. Licensing e Compliance
### 10.1 Licenze Software
| Software | Tipo Licenza | Quantità | Utilizzate | Disponibili | Scadenza | Costo Annuo |
|----------|--------------|----------|------------|-------------|----------|-------------|
| [SOFTWARE] | [PERPETUAL/SUBSCRIPTION] | [N] | [N] | [N] | [DATA] | [EUR] |
### 10.2 Audit Trail
- **Ultimo Audit**: [DATA]
- **Tool Utilizzo**: [TOOL]
- **Conformità**: [OK/WARNING/NON-COMPLIANT]
- **Azioni Richieste**: [DESCRIZIONE]
---
## 11. Patch Management
### 11.1 Policy Patching
- **Ambiente Prod**: [FREQUENZA] - Maintenance Window: [GIORNO/ORA]
- **Ambiente Non-Prod**: [FREQUENZA]
- **Testing Period**: [GIORNI] giorni
- **Approval Required**: [SI/NO]
### 11.2 Stato Patching
| Hostname/VM | OS | Patch Level | Missing Patches | Criticality | Last Update | Reboot Required |
|-------------|-----|-------------|-----------------|-------------|-------------|-----------------|
| [HOSTNAME] | [OS] | [LEVEL] | [N] | [CRITICAL/HIGH/MEDIUM] | [DATA] | [SI/NO] |
---
## 12. Monitoring e Performance
### 12.1 Monitoring Tool
- **Sistema**: [VMWARE_VREALIZE/ZABBIX/PROMETHEUS/NAGIOS]
- **Metriche Monitorate**: [CPU/RAM/DISK/NETWORK/CUSTOM]
- **Retention**: [GIORNI] giorni
- **Alert Configurati**: [N]
### 12.2 Performance Baseline
| Risorsa | Baseline | Threshold Warning | Threshold Critical | Valore Attuale |
|---------|----------|-------------------|-------------------|----------------|
| CPU Usage % | [%] | [%] | [%] | [%] |
| RAM Usage % | [%] | [%] | [%] | [%] |
| Storage IOPS | [N] | [N] | [N] | [N] |
| Network Mbps | [N] | [N] | [N] | [N] |
### 12.3 Top Resource Consumers
| VM Name | CPU % | RAM GB | Storage IOPS | Network Mbps | Ottimizzabile |
|---------|-------|--------|--------------|--------------|---------------|
| [VMNAME] | [%] | [GB] | [N] | [N] | [SI/NO] |
---
## 13. Provisioning e Automation
### 13.1 Automation Tools
- **IaC Tool**: [TERRAFORM/ANSIBLE/PUPPET/CHEF]
- **Templates**: [N]
- **Runbooks**: [N]
- **API Integration**: [SI/NO]
### 13.2 Self-Service Portal
- **Portale**: [NOME/URL]
- **Utenti Attivi**: [N]
- **VM Deployate/Mese**: [N]
- **Tempo Medio Provisioning**: [MINUTI]
---
## 14. Disaster Recovery
### 14.1 DR Site
- **Localizzazione**: [CITTÀ/PAESE]
- **Tipo**: [HOT/WARM/COLD]
- **RPO**: [HOURS]
- **RTO**: [HOURS]
- **Replica**: [SYNC/ASYNC]
### 14.2 Replica Status
| VM Name | Criticità | DR Site | Replica Method | RPO Attuale | Ultima Replica | Health |
|---------|-----------|---------|----------------|-------------|----------------|--------|
| [VMNAME] | [TIER] | [SITE] | [TOOL/METHOD] | [MIN] | [DATA/ORA] | [OK/WARNING/ERROR] |
### 14.3 DR Test
- **Ultimo Test**: [DATA]
- **Durata Test**: [ORE]
- **VMs Testate**: [N]
- **Success Rate**: [%]
- **Issues Identificati**: [N]
- **Prossimo Test**: [DATA]
---
## 15. Security Posture
### 15.1 Hardening
- **CIS Benchmark**: [LEVEL_1/2] - Conformità: [%]
- **Firewall Host**: [ENABLED/DISABLED]
- **Antivirus/EDR**: [PRODOTTO] - Coverage: [%]
- **Encryption**: [VM_ENCRYPTION/DISK_ENCRYPTION]
### 15.2 Access Control
- **MFA Abilitato**: [SI/NO]
- **RBAC Configurato**: [SI/NO]
- **Ruoli Definiti**: [N]
- **Service Accounts**: [N]
- **Privileged Access Management**: [TOOL]
### 15.3 Vulnerability Scanning
- **Tool**: [NESSUS/QUALYS/OPENVAS]
- **Frequenza**: [WEEKLY/MONTHLY]
- **Ultimo Scan**: [DATA]
- **Vulnerabilità Critiche**: [N]
- **Vulnerabilità Alte**: [N]
- **Remediation SLA**: [GIORNI] giorni
---
## 16. Capacity Management
### 16.1 Utilizzo Risorse Globale
- **CPU**: [ALLOCATED] / [TOTAL] cores - Utilizzo: [%]%
- **RAM**: [ALLOCATED] / [TOTAL] GB - Utilizzo: [%]%
- **Storage**: [ALLOCATED] / [TOTAL] TB - Utilizzo: [%]%
### 16.2 Forecast Capacità
| Risorsa | Utilizzo Attuale | Crescita Mensile | Saturazione Prevista | Azione Richiesta |
|---------|------------------|------------------|---------------------|------------------|
| CPU | [%] | [%] | [DATA] | [AZIONE] |
| RAM | [%] | [GB] | [DATA] | [AZIONE] |
| Storage | [%] | [TB] | [DATA] | [AZIONE] |
---
## 17. SLA e KPI
### 17.1 Service Level Agreements
| Servizio | Availability Target | Availability Attuale | Performance Target | Performance Attuale | Breach (30gg) |
|----------|---------------------|----------------------|-------------------|---------------------|---------------|
| [SERVIZIO] | [99.9%] | [%] | [METRIC] | [VALUE] | [N] |
### 17.2 Operational Metrics
| Metrica | Target | Attuale | Trend | Note |
|---------|--------|---------|-------|------|
| VM Uptime | [%] | [%] | [↑/↓/→] | [NOTE] |
| Backup Success Rate | [%] | [%] | [↑/↓/→] | [NOTE] |
| Patch Compliance | [%] | [%] | [↑/↓/→] | [NOTE] |
| Incident Resolution Time | [HOURS] | [HOURS] | [↑/↓/→] | [NOTE] |
---
## 18. Cost Management
### 18.1 TCO (Total Cost of Ownership)
| Componente | Costo Annuo (EUR) | Percentuale | Note |
|------------|-------------------|-------------|------|
| Hardware | [EUR] | [%] | [NOTE] |
| Licensing | [EUR] | [%] | [NOTE] |
| Supporto | [EUR] | [%] | [NOTE] |
| Energia | [EUR] | [%] | [NOTE] |
| Personale | [EUR] | [%] | [NOTE] |
| **Totale** | **[EUR]** | **100%** | |
### 18.2 Costo per VM
- **Costo Medio per VM/Mese**: [EUR]
- **VMs in Produzione**: [N]
- **Costo Totale Mensile**: [EUR]
---
## 19. Documentation
### 19.1 Documentazione Disponibile
- [X] Architecture Diagrams
- [X] Standard Build Procedures
- [X] Backup/Recovery Runbooks
- [X] DR Procedures
- [X] Troubleshooting Guides
### 19.2 Runbook Operativi
| Runbook | Ultima Revisione | Versione | Owner | Accesso |
|---------|------------------|----------|-------|---------|
| [NOME] | [DATA] | [VER] | [OWNER] | [URL/PATH] |
---
## 20. Change Log
### 20.1 Modifiche Recenti
| Data | Change ID | Descrizione | Componente | Eseguito da | Esito |
|------|-----------|-------------|------------|-------------|-------|
| [DATA] | [ID] | [DESC] | [COMPONENT] | [NOME] | [SUCCESS/ROLLBACK] |
### 20.2 Upgrade Pianificati
| Componente | Versione Attuale | Versione Target | Data Pianificata | Downtime | Status |
|------------|------------------|-----------------|------------------|----------|--------|
| [COMPONENT] | [VERSION] | [VERSION] | [DATA] | [HOURS] | [PLANNED/APPROVED] |
---
**Token Utilizzati**: [CONTEGGIO_APPROSSIMATIVO]
**Prossimo Aggiornamento Previsto**: [DATA]