-
Notifications
You must be signed in to change notification settings - Fork 0
OpsRepositoryRebuild
Jörg Pernfuß edited this page Oct 23, 2016
·
1 revision
The repository rebuild command rebuilds the dynamic objects inside a repository. All user created objects like groups, properties and check configurations are preserved.
This is achieved by:
- stopping the repository
- marking all checks and check instances as deleted
- restarting the repository in rebuild mode which persists the created checks and check instances during startup into the database
- restarting the repository in normal mode
Rebuilds can run at two different levels:
-
instances
, only rebuilds check instances -
checks
, rebuilds checks and check instances
somaadm ops repository rebuild ${repository} \
level ${level}
Name | Type | Description | Default | Optional |
---|---|---|---|---|
repository | string | Name or UUID of the repository to rebuild | no | |
level | string | Level to perform the rebuild at | no |
This command requires one of the following permissions:
- system_all
./somaadm ops repository rebuild common level checks
- Data Model
- Check Deployment Workflow
- init
- attributes
- create
- delete
- list
- show
- buckets
- create
- delete
- restore
- purge
- freeze
- thaw
- rename
- list
- show
- tree
- property
- add
- delete
- capabilities
- declare
- revoke
- list
- show
- checks
- clusters
- create
- delete
- rename
- list
- show
- tree
- members
- add
- delete
- list
- property
- add
- delete
- datacenters
- add
- remove
- rename
- list
- show
- synclist
- environments
- add
- remove
- rename
- list
- show
- groups
- create
- delete
- rename
- list
- show
- tree
- members
- add
- delete
- list
- property
- add
- delete
- jobs
- list
- show
- local
- outstanding
- update
- list
- prune
- levels
- create
- delete
- list
- show
- metrics
- create
- delete
- list
- show
- modes
- create
- delete
- list
- show
- monitoring
- create
- delete
- list
- show
- nodes
- create
- delete
- purge
- restore
- update
- rename
- repossess
- relocate
- online
- offline
- assign
- list
- synclist
- show
- tree
- config
- property
- add
- delete
- oncall
- add
- remove
- rename
- update
- list
- show
- member
- add
- remove
- list
- permissions
- category
- add
- remove
- list
- show
- add
- remove
- list
- show
- category
- predicates
- create
- delete
- list
- show
- property
- create
- delete
- show
- list
- providers
- create
- delete
- list
- show
- rights
- grant
- global
- system
- revoke
- global
- system
- grant
- repository
- create
- delete
- restore
- purge
- clear
- rename
- repossess
- activate
- list
- show
- tree
- property
- servers
- states
- add
- remove
- rename
- list
- show
- status
- create
- delete
- list
- show
- teams
- add
- remove
- rename
- migrate
- list
- synclist
- show
- update
- types
- add
- remove
- rename
- list
- show
- units
- create
- delete
- list
- show
- users
- create
- delete
- purge
- update
- activate
- password
- list
- show
- synclist
- validity
- create
- delete
- list
- show
- views
- add
- remove
- rename
- list
- show
- ops