rb_health_check

rb_health_check — утилита клиента RuBackup для проверки конфигурации клиента и его окружения.

Утилита проверяет:

  • подключение клиента к основному серверу и медиасерверу;

  • подключение к служебной базе данных, параметры настроек и наличие свободного пространства на диске со служебной базой данных;

  • свободное пространство в пулах и наличие хранилищ в пулах.

Info: rb_health_check version: 2.7.0.d488069
Info: Logfile can find here: /opt/rubackup/log/rb_health_check.log
Warning: Wrong expression in the config file at the string 15, ignored
Warning: Wrong expression in the config file at the string 18, ignored
Warning: deduplication-task-memory is deprecated in /opt/rubackup/etc/config.file
Info: Path to log file has been set: /opt/rubackup/log/RuBackup.log
Info: Node is a primary server
for "postgres" database user:
Do you want to use a secure SSL connection to the database 'rubackup'  (y/n/q)? n
Info: /opt/rubackup/lib found in $LD_LIBRARY_PATH [ ok ]
Info: /opt/rubackup/bin found in $PATH [ ok ]
Info: RuBackup client mode: client-server
Info: Check service rubackup-cmd... [ ok ]
Info: Check service rubackup-media... [ ok ]
Info: Check service rubackup-rbm... [ ok ]
Info: Check /etc/services [ ok ]
Info: Client interface: enp0s3 [ ok ]
Info: ipv4: 192.168.87.126
Info: Check primary server resolving
Info: Primary server 'astralinux-2.vm' resolved successfully [ ok ]
Info: RuBackup installation has: 1 media-server
Info: Media server 'astralinux-2.vm' resolved successfully [ ok ]
Info: Check connection to the media-server: 'astralinux-2.vm'
Info: Hostname 'astralinux-2.vm' is RuBackup media-server, version: 2.7.0 [ ok ]
Info: PostgreSQL version: 15.6 [ ok ]
Info: PostgreSQL config file: /etc/postgresql/15/main/postgresql.conf
Info: PostgreSQL hba file: /etc/postgresql/15/main/pg_hba.conf
Info: PostgreSQL data directory: /var/lib/postgresql/15/main used 65.8652%
Info: DB connection count is 47
Info: Active session count is 2
Info: PostgreSQL max_parallel_workers: 8 [ OK ]
Info: PostgreSQL transaction isolation: 'READ COMMITTED' [ OK ]
Info: PostgreSQL work_mem: 67108864 bytes [ OK ]
Warning: PostgreSQL effective_cache_size buffers is too small. Recommend to
         set it up to: 11738245120 bytes
Warning: PostgreSQL shared buffers is too small. Recommend to set it up
         to: 4192230400 bytes
Warning: Wrong PostgreSQL settings
Info: Check pool free space
Info: Filesystem pools:
Info: Id | Path  | Pool name | Media Server    | Used   | Status  | Description
Info: ---+-------+-----------+-----------------+--------+---------+------------
Info: 1  | /pool | Default   | astralinux-2.vm | 65%    | online  | -
Info: Block device pools:
Warning: Health check failed. You may probably encounter some kind of
         problem when running RuBackup