You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Memcached là một hệ thống lưu trữ bản sao các đối tượng (objects) và dữ liệu được truy cập nhiều lần để tăng tốc độc truy xuất. Mục đích chính của nó là để tăng tốc độ ứng dụng web bằng cách truy vấn cơ sở dữ liệu bộ nhớ đệm, nội dung, hoặc kết quả tính toán khác.
Trong Openstack Indentity Service , memcached được sử dụng để cache token, thường được cài đặt trên Controller Node
[root@localhost ~]# mysql -u root --password=123@123Aa -e "create database glance"
[root@localhost ~]# mysql -u root --password=123@123Aa -e "GRANT ALL PRIVILEGES on glance.* to 'glance'@'localhost' IDENTIFIED BY 'glance_123' "
[root@localhost ~]# mysql -u root --password=123@123Aa -e "GRANT ALL PRIVILEGES on glance.* to 'glance'@'%' IDENTIFIED BY 'glance_123'"
Khởi tạo người dùng , glance service entity và gắn quyền
[root@localhost ~]# openstack user create --domain default glance --password glance_123
+---------------------+----------------------------------+
| Field | Value |
+---------------------+----------------------------------+
| domain_id | default || enabled | True || id | 8bb5b9ee5e7e46f5a669cc5a11d468dc || name | glance || options | {} || password_expires_at | None |
+---------------------+----------------------------------+
[root@localhost ~]# openstack service create --name glance --des "Openstack Image -- Glance" image
+-------------+----------------------------------+
| Field | Value |[root@localhost ~]# mysql -u root --password=123@123Aa -e "GRANT ALL PRIVILEGES on glance.* to 'glance'@'%' IDENTIFIED BY 'glance_123@123Aa'"
+-------------+----------------------------------+
| description | Openstack Image -- Glance || enabled | True || id | 4de24c47507d482c9274a9f9a23c986c || name | glance ||type| image |
+-------------+----------------------------------+
[root@localhost ~]# openstack role add --project service --user glance admin