controller
Использование
controller {add,backup-journal,backupdb-create,backupdb-list,backupdb-restore,cancel-all-tasks,changepassword,check-remote-access,check-tasks,clearsessions,collectstatic,compilemessages,create-superuser,db-autovacuum-stats,db-check,db-get-size,db-migrate13,db-password,db-stats,db-vacuum,debug,del,generate-system-token,luns,macs,makemigrations,migrate,nginx-https,os-templates-edit,redis-password,reload-node-streams,reload-queues,repair-hosts,role,showmigrations,ssh,status,test} [-h] [--to_file]
Описание
Управление настроками, репликацией, базой данных контроллера.
Аргументы
add- Adding the neighbour controller as a replication partner.backup-journal- backup controller journalsbackupdb-create- Creating controller database backup (to /var/log/veil/controller/db_backup).backupdb-list- Check controller database backups (from /var/log/veil/controller/db_backup/).backupdb-restore- Restore controller database (from /var/log/veil/controller/db_backup).cancel-all-tasks- cancel all controller progress taskschangepassword- changepassword for admin.check-remote-access- Check spice port for duplicate.check-tasks- check all controller tasksclearsessions- Database clearsessions (for support).collectstatic- Database collectstatic (for support).compilemessages- Database compile messages (for support).create-superuser- Database Superuser Create (for support).db-autovacuum-stats- Database autovacuum stats (for support).db-check- Diagnostic check DB catalog corruptiondb-get-size- Database get tables size (for support).db-migrate13- Migrate postgresql database from 11 to 13 versiondb-password- Change database password.db-stats- DB statsdb-vacuum- Database vacuum (for support).debug- Controller debug setting.del- Deleting the neighbour controller.generate-system-token- regenerate_system_superuser_tokenluns- List all system LUNs.macs- List all system interfaces names and mac addresses.makemigrations- Database make migrations (for support).migrate- Database migration (for support).os-templates-edit- Edit os_templates conf.redis-password- Change Redis password.reload-node-streams- Reload controller grpc streams to all nodes (for support).reload-queues- Reload Queues (for support).role- Setting the role of replicated controller.showmigrations- Database show migrations (for support).ssh- Connect over ssh to master or slave controller.status- Show status of replication controller role on the current node.test- test django on controller.--to_file- Redirect output to file (/tmp/cli-stdout.txt).