3.1 Keystone
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M00/8B/AF/wKiom1hU-0uhnN9QAAIOu7P6o_0399.png-wh_500x0-wm_3 -wmp_4-s_3459583682.png "title=" 1.png "alt=" Wkiom1hu-0uhnn9qaaiou7p6o_0399.png-wh_50 "/>
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M00/8B/AC/wKioL1hU-1mjVcWWAAGStwx5i0k806.png-wh_500x0-wm_3 -wmp_4-s_1137086252.png "title=" 2.png "alt=" Wkiol1hu-1mjvcwwaagstwx5i0k806.png-wh_50 "/>
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M01/8B/AF/wKiom1hU-2ayts9QAAFhNO26srM825.png-wh_500x0-wm_3 -wmp_4-s_1423603904.png "title=" 3.png "alt=" Wkiom1hu-2ayts9qaafhno26srm825.png-wh_50 "/>
Install Linux-node1 above
3.2 Configuring the Source
http://mirrors.aliyun.com/centos/7.2.1511/cloud/x86_64/openstack-newton/ Centos-release-openstack-newton-1-1.el7.noarch.rpmyumlocalinstall-y centos-release-openstack-newton-1-1.el7.noarch.rpm
Installation:
Yuminstall-y openstack-keystone httpd mod_wsgi memcached python-memcached python-openstackclient
3.3 Configuring authentication mechanisms and Database connections
[Email protected]~]# OpenSSL rand-hex #生成token0eed56d434cbac30394c [[Email protected]~]# grep-e ' ^[a-z] '/etc/keyst one/keystone.conf #修改如下的位置admin_token = 0eed56d434cbac30394cconnection= mysql://keystone:[email protected]/keystone [[Email protected]~]#
3.4 Generating Keystone data tables and logs
Su-s/bin/sh-c "Keystone-manage Db_sync" Keystone function: Initialize the table structure of the database (Keystone) and generate Keystone log files [[email protected] ~]# Ll/var /LOG/KEYSTONE/KEYSTONE.LOG-RW-RW----1 Keystone Keystone 16296 DEC 16:39/var/log/keystone/keystone.log# Keystone boot will write something to this file, so it is Keystone user to generate otherwise boot not up
3.5 Viewing the Keystone initialized database
[[email protected] ~]# mysql -h 192.168.56.11 -ukeystone -pkeystone -e "use keystone;show tables;" +------------------------+| tables_in_keystone |+------------------------+| access_token | | assignment | | config_register | | consumer | | credential | | endpoint | | endpoint_group | | federated_user | | federation_protocol | | group | | id_mapping | | identity_provider | | idp_remote_ids | | implied_role | | local_user | | mapping | | migrate_version | | nonlocal_user | | password | | policy | | policy_association | | project | | project_endpoint | | project_endpoint_group | | region | | request_token | | revocation_event | | role | | sensitive_config | | service | | service_provider | | token | | trust | | trust_role | | user | | user_group_membership | | whitelisted_config |
This article is from the "Brick Blog" blog, please be sure to keep this source http://wsxxsl.blog.51cto.com/9085838/1883606
On the keystone of 3-openstack