Este contenido no está disponible en el idioma seleccionado.
14.3. Configure Time-Series-Database-as-a-Service
			When manually installing the Time-Series-Database-as-a-Service packages, the service's configuration file (namely, 
/etc/gnocchi/gnocchi.conf ) will have no settings configured. You will need to manually add and configure each setting as required.
		- In the[DEFAULT]section, enable logging and verbose output:[DEFAULT] debug = true verbose = true [DEFAULT] debug = true verbose = trueCopy to Clipboard Copied! Toggle word wrap Toggle overflow 
- In the[API]section, list the number of workers:[api] workers = 1 [api] workers = 1Copy to Clipboard Copied! Toggle word wrap Toggle overflow 
- In the[database]section, set backend tosqlalchemy:[database] backend = sqlalchemy [database] backend = sqlalchemyCopy to Clipboard Copied! Toggle word wrap Toggle overflow 
- In the[indexer]section, configure the SQL database by passing the user name, password, and the IP address:[indexer] url = mysql://USER_NAME:PASSWORD@192.0.2.10/gnocchi2?charset=utf8 [indexer] url = mysql://USER_NAME:PASSWORD@192.0.2.10/gnocchi2?charset=utf8Copy to Clipboard Copied! Toggle word wrap Toggle overflow Note The database has to be created before startinggnocchi-api
- In the[keystone_authtoken]section, update the authentication parameters. For example:Copy to Clipboard Copied! Toggle word wrap Toggle overflow 
- In the[statsd]section, include the following parameter values:Copy to Clipboard Copied! Toggle word wrap Toggle overflow Replace the values forRESOURCE_ID,USER_ID, andPROJECT_IDwith values for your deployment.
- In the[storage]section, manually add thecoordination_urlandfile_basepathand set thedrivervalue to file:[storage] coordination_url = file:///var/lib/gnocchi/locks driver = file file_basepath = /var/lib/gnocchi [storage] coordination_url = file:///var/lib/gnocchi/locks driver = file file_basepath = /var/lib/gnocchiCopy to Clipboard Copied! Toggle word wrap Toggle overflow 
- Restart thegnocchiservice to ensure that the change takes effect:systemctl restart openstack-gnocchi-api.service systemctl restart openstack-gnocchi-metricd.service systemctl restart openstack-gnocchi-statsd.service # systemctl restart openstack-gnocchi-api.service # systemctl restart openstack-gnocchi-metricd.service # systemctl restart openstack-gnocchi-statsd.serviceCopy to Clipboard Copied! Toggle word wrap Toggle overflow