node
Использование
node {changepassword,cli,collectstatic,config,config-edit,controller-ip,controller-status,copy,create-superuser,db-check,db-migrate13,db-password,db-stats,debug,id,list,lvm-discovery,makemigrations,mdev-devices,migrate,multipath-sync,nodes-cli,redis-password,reload-queues,repair-ssh,repo-sync,restart-supervisors,set-hostname,showmigrations,ssh,start-supervisors,status,stop-supervisors,sync,task,test,upgrade-start,web} [-h] [--to_file]
Описание
Команды работы с узлами.
Аргументы
changepassword
- changepassword for admin.cli
- Connect over ssh to connected node and run cli command.collectstatic
- Database collectstatic (for support).config
- Print node config.config-edit
- Edit node conf.controller-ip
- Print controller ip.controller-status
- Print controller connection status.copy
- Copy files over ssh to connected nodes.create-superuser
- Database Superuser Create (for support).db-check
- Diagnostic check DB catalog corruptiondb-migrate13
- Migrate postgresql database from 11 to 13 versiondb-password
- Change database password.db-stats
- DB statsdebug
- Node debug setting.id
- Print node uuid.list
- List connected nodes.lvm-discovery
- Enable/disable lvm discovery by node supervisor.makemigrations
- Database make migrations узла (for support).mdev-devices
- Get all node mediated devices.migrate
- Database migration (for support).multipath-sync
- Sync connected nodes multipath conf.nodes-cli
- Connect over ssh to all connected nodes and run cli command.redis-password
- Change Redis password.reload-queues
- Reload Queues (for support).repair-ssh
- fix ssh controller keys on node.repo-sync
- Sync repo files.restart-supervisors
- Restart connected nodes supervisors.showmigrations
- Database show migrations узла (for support).ssh
- Connect over ssh to connected node.start-supervisors
- Start connected nodes supervisors.status
- Operations with node status.stop-supervisors
- Stop connected nodes supervisors.sync
- Sync connected nodes cli and node envs and apps (for support).task
- Node tasks.test
- test django on node.upgrade-start
- Connect over ssh to connected node and run upgrade start command.web
- node web команды.--to_file
- Redirect output to file (/tmp/cli-stdout.txt).