Freezer-docs
Revision as of 14:55, 25 May 2016 by Memo Garcia (talk | contribs) (Created page with "== How To Use Freezer == Keystone v2.0 and v3 authentication is supported for freezer. v2.0: export OS_BACKUP_URL=http://192.168.33.10:9090 export OS_AUTH_URL=http://19...")
How To Use Freezer
Keystone v2.0 and v3 authentication is supported for freezer.
v2.0:
export OS_BACKUP_URL=http://192.168.33.10:9090 export OS_AUTH_URL=http://192.168.33.10:5000/v2.0 export OS_USERNAME=admin export OS_PASSWORD=quiet export OS_TENANT_NAME=admin export OS_REGION_NAME=RegionOne export OS_IDENTITY_API_VERSION=2
v3:
export OS_BACKUP_URL=http://192.168.33.10:9090 export OS_AUTH_URL=http://192.168.33.10:5000/v3 export OS_USERNAME=admin export OS_PASSWORD=quiet export OS_PROJECT_DOMAIN_NAME=admin export OS_USER_DOMAIN_NAME=admin export OS_PROJECT_NAME=admin export OS_REGION_NAME=RegionOne export OS_IDENTITY_API_VERSION=3
on windows, replace "export" by "set"
Scheduler
Client Registration
Make the agent/scheduler available to the api/cli/ui
freezer-scheduler register
Verify the client is registered correcly
for kilo, liberty and mitaka
freezer-scheduler client-list
for newton onwards
freezer client-list
Here is an example:
client_id | hostname | description |
---|---|---|
padawan-ccp-comp0001-mgmt | padawan-ccp-comp0001-mgmt | padawan-ccp-comp0001-mgmt |
padawan-ccp-c0-m1-mgmt | padawan-ccp-c0-m1-mgmt | padawan-ccp-c0-m1-mgmt |
padawan-ccp-comp0002-mgmt | padawan-ccp-comp0002-mgmt | padawan-ccp-comp0002-mgmt |
Start the Scheduler
In order to poll the api to get new jobs, actions, etc. we need to start the scheduler
make sure to use the credentials for keystone v2.0 or v3 and you are root or Administrator on Windows
freezer-scheduler start
Verify the scheduler is running
freezer-scheduler status
Stop the scheduler
freezer-scheduler stop