Aktualisiere README und Code für den Ceph Max Storage Rechner: Übersetzung ins Englische, Verbesserung der Fehlerbehandlung in den Routen, Optimierung der PDF-Generierung und Anpassung der Benutzeroberfläche. Entferne veraltete JavaScript-Datei und aktualisiere die Struktur der Templates für bessere Lesbarkeit und Benutzerfreundlichkeit.
This commit is contained in:
112
README.md
112
README.md
@ -1,96 +1,96 @@
|
||||
# Ceph Max Storage Rechner
|
||||
# Ceph Max Storage Calculator
|
||||
|
||||
Eine moderne Web-Anwendung zur Berechnung der maximal zulässigen Speichernutzung in einem Ceph-Cluster.
|
||||
A modern web application for calculating the maximum allowed storage usage in a Ceph cluster.
|
||||
|
||||
## Funktionen
|
||||
## Features
|
||||
|
||||
- Berechnung der maximalen Speichernutzung basierend auf Ceph-Dokumentation
|
||||
- Unterstützung für Replikation und Erasure Coding
|
||||
- Dynamisches Hinzufügen und Entfernen von Nodes und OSDs
|
||||
- Benutzerfreundliche Oberfläche mit modernem Design
|
||||
- Dark/Light Mode Unterstützung
|
||||
- Export/Import von Konfigurationen
|
||||
- PDF-Report Generierung
|
||||
- Responsive Design für alle Geräte
|
||||
- Ausfalltoleranz-Analyse für Nodes und OSDs
|
||||
- Calculation of maximum storage usage based on Ceph documentation
|
||||
- Support for Replication and Erasure Coding
|
||||
- Dynamic addition and removal of nodes and OSDs
|
||||
- User-friendly interface with modern design
|
||||
- Dark/Light Mode support
|
||||
- Export/Import of configurations
|
||||
- PDF report generation
|
||||
- Responsive design for all devices
|
||||
- Fault tolerance analysis for nodes and OSDs
|
||||
|
||||
## Installation
|
||||
|
||||
1. Repository klonen:
|
||||
1. Clone repository:
|
||||
```
|
||||
git clone <repository-url>
|
||||
cd ceph-calculator
|
||||
```
|
||||
|
||||
2. Python-Umgebung einrichten:
|
||||
2. Set up Python environment:
|
||||
```
|
||||
python -m venv venv
|
||||
venv\Scripts\activate # Windows
|
||||
source venv/bin/activate # Linux/Mac
|
||||
```
|
||||
|
||||
3. Abhängigkeiten installieren:
|
||||
3. Install dependencies:
|
||||
```
|
||||
pip install -r requirements.txt
|
||||
```
|
||||
|
||||
4. Anwendung starten:
|
||||
4. Start application:
|
||||
```
|
||||
python run.py
|
||||
```
|
||||
|
||||
5. Öffnen Sie in einem Browser: `http://localhost:5000`
|
||||
5. Open in a browser: `http://localhost:5000`
|
||||
|
||||
## Verwendung
|
||||
## Usage
|
||||
|
||||
1. Wählen Sie den Replikationstyp: Replikation oder Erasure Coding
|
||||
2. Geben Sie die entsprechenden Parameter ein:
|
||||
- Bei Replikation: Anzahl der Replikate und min_size
|
||||
- Bei Erasure Coding: k (Datenchunks) und m (Codierungschunks)
|
||||
3. Fügen Sie Nodes hinzu und konfigurieren Sie deren OSDs mit entsprechenden Speichergrößen
|
||||
4. Wählen Sie die gewünschte Speichereinheit (GB/TB)
|
||||
5. Klicken Sie auf "Kapazität berechnen", um das Ergebnis zu sehen
|
||||
6. Optional: Exportieren Sie die Konfiguration oder generieren Sie einen PDF-Report
|
||||
1. Select the replication type: Replication or Erasure Coding
|
||||
2. Enter the corresponding parameters:
|
||||
- For Replication: Number of replicas and min_size
|
||||
- For Erasure Coding: k (data chunks) and m (coding chunks)
|
||||
3. Add nodes and configure their OSDs with appropriate storage sizes
|
||||
4. Select the desired storage unit (GB/TB)
|
||||
5. Click on "Calculate Capacity" to see the result
|
||||
6. Optional: Export the configuration or generate a PDF report
|
||||
|
||||
## Technologie
|
||||
## Technology
|
||||
|
||||
- Backend: Flask
|
||||
- Frontend:
|
||||
- Alpine.js für reaktive Benutzeroberfläche
|
||||
- Tailwind CSS für modernes Design
|
||||
- HTMX für interaktive Elemente
|
||||
- Dark/Light Mode mit Tailwind CSS
|
||||
- PDF-Generierung mit ReportLab
|
||||
- Responsive Design für alle Geräte
|
||||
- Alpine.js for reactive user interface
|
||||
- Tailwind CSS for modern design
|
||||
- HTMX for interactive elements
|
||||
- Dark/Light Mode with Tailwind CSS
|
||||
- PDF generation with ReportLab
|
||||
- Responsive design for all devices
|
||||
|
||||
## Features im Detail
|
||||
## Detailed Features
|
||||
|
||||
### Replikation
|
||||
- Konfigurierbare Anzahl von Replikaten (1-10)
|
||||
- Einstellbare min_size für I/O-Operationen
|
||||
- Automatische Berechnung der Ausfalltoleranz
|
||||
### Replication
|
||||
- Configurable number of replicas (1-10)
|
||||
- Adjustable min_size for I/O operations
|
||||
- Automatic calculation of fault tolerance
|
||||
|
||||
### Erasure Coding
|
||||
- Konfigurierbare k/m-Werte
|
||||
- Optimierte Speichernutzung
|
||||
- Ausfalltoleranz-Analyse
|
||||
- Configurable k/m values
|
||||
- Optimized storage usage
|
||||
- Fault tolerance analysis
|
||||
|
||||
### Ausfalltoleranz-Analyse
|
||||
- Node-Ausfalltoleranz
|
||||
- OSD-Ausfalltoleranz
|
||||
- Multi-Node Ausfalltoleranz
|
||||
- Detaillierte Informationen zur Speichernutzung nach Ausfällen
|
||||
### Fault Tolerance Analysis
|
||||
- Node fault tolerance
|
||||
- OSD fault tolerance
|
||||
- Multi-node fault tolerance
|
||||
- Detailed information about storage usage after failures
|
||||
|
||||
### Benutzerfreundlichkeit
|
||||
- Intuitive Benutzeroberfläche
|
||||
### User-Friendliness
|
||||
- Intuitive user interface
|
||||
- Dark/Light Mode
|
||||
- Tooltips mit Erklärungen
|
||||
- Responsive Design
|
||||
- Export/Import von Konfigurationen
|
||||
- PDF-Report Generierung
|
||||
- Tooltips with explanations
|
||||
- Responsive design
|
||||
- Export/Import of configurations
|
||||
- PDF report generation
|
||||
|
||||
## Hinweis
|
||||
## Note
|
||||
|
||||
Die Berechnungen basieren auf den allgemeinen Empfehlungen aus der Ceph-Dokumentation und
|
||||
dienen als Richtwert. Für genaue Kapazitätsplanung sollten Sie die Ceph-Dokumentation konsultieren
|
||||
und Ihre spezifischen Clusteranforderungen berücksichtigen.
|
||||
The calculations are based on general recommendations from the Ceph documentation and
|
||||
serve as a guideline. For precise capacity planning, you should consult the Ceph documentation
|
||||
and consider your specific cluster requirements.
|
||||
Reference in New Issue
Block a user