Newer Older
f16725e 3 months ago History
29 lines | 0.877kb
Bogdan Timofte authored 3 months ago
1
#!/bin/bash
2

            
3
# autoSMART Debug Configuration for ebony
4
export AUTOSMART_DEBUG=3
5
export AUTOSMART_NODE_ID="ebony"
6
export AUTOSMART_CLUSTER_CONFIG="/etc/pve/autoSMART/config/cluster.conf"
7

            
8
# Database configuration
9
export AUTOSMART_DB_HOST="192.168.2.102"
10
export AUTOSMART_DB_USER="autosmart"
11
export AUTOSMART_DB_PASS="autoSMART2025!"
12
export AUTOSMART_DB_NAME="autosmart"
13
export AUTOSMART_DB_PORT="5432"
14

            
15
# Collection settings
16
export SMART_COLLECTION_ENABLED="true"
17
export MIGRATION_DETECTION_ENABLED="true"
18
export DIFFERENTIAL_STORAGE_ENABLED="true"
19

            
20
# Debug logging
21
export AUTOSMART_LOG_LEVEL="DEBUG"
22
export AUTOSMART_LOG_TO_SYSLOG="true"
23

            
24
echo "autoSMART debug environment configured:"
25
echo "  Node: $AUTOSMART_NODE_ID"
26
echo "  Database: $AUTOSMART_DB_HOST:$AUTOSMART_DB_PORT/$AUTOSMART_DB_NAME"
27
echo "  User: $AUTOSMART_DB_USER"
28
echo "  Debug Level: $AUTOSMART_DEBUG"
29
echo ""