As with the Cinder configuration, setting up Glance will require configuring some authentication information as well as information on the location of the MySQL and RabbitMQ services.
controller# pkg install glance
Uncomment and set the following parameters in each of the following files:
/etc/glance/glance-api.conf
/etc/glance/glance-cache.conf
/etc/glance/glance-registry.conf
/etc/glance/glance-scrubber.conf
auth_uri = http://controller-name:5000/v2.0 identity_uri = http://controller-name:35357 admin_tenant_name = service admin_user = glance-password admin_password = glance
In both of the files /etc/glance/glance-api.conf and /etc/glance/glance-registry.conf, specify the URI of the MySQL database:
connection=mysql://glance:glance@controller-name/glance
In /etc/glance/glance-api.conf, set the location of the RabbitMQ service.
rabbit_host = controller-name
controller# svcadm enable glance-db controller# svcadm enable glance-api glance-registry glance-scrubber