When enabled, this mode takes effect only after the current valid ID token expires. Users with a Support Admin role should wait until all running operations in Bare Metal Orchestrator are complete before performing operations in maintenance mode.
Home > Communication Service Provider Solutions > Infrastructure Automation > Bare Metal Orchestrator Guides > Bare Metal Orchestrator Release 2.1 Guides > Bare Metal Orchestrator 2.1 Installation Guide > Enable and disable maintenance mode
When enabled, this mode takes effect only after the current valid ID token expires. Users with a Support Admin role should wait until all running operations in Bare Metal Orchestrator are complete before performing operations in maintenance mode.
bmo create token --username <username> --password <password> --update-kubeconfig=<kube-config-path>
where username is the name of the Support Admin user.
export id_token=<id_token>
bmo get maintenancemode --token $id_token --tenant <tenant>
export access_token=<access_token>
bmo edit maintenancemode --token $id_token --access_token $access_token --mode enable --tenant <tenant>
bmo edit maintenancemode --token $id_token --access_token $access_token --mode disable --tenant <tenant>