- OpenStack Cloud Computing Cookbook(Fourth Edition)
- Kevin Jackson Cody Bunch Egle Sigler James Denton
- 282字
- 2021-07-02 16:25:07
Creating OpenStack domains in Keystone
If you wish to use more than one domain for your OpenStack deployment, consider using separate domains. Think of domains as separate accounts or departments in large organizations. For this section, we will create a domain for our project, called bookstore
.
Getting ready
Ensure that you are logged on to a correctly configured OpenStack client and can access the OpenStack environment as a user with admin privileges.
Refer to Chapter 2, The OpenStack Client, for details of setting up your environment to use OpenStack command-line client.
How to do it…
To create a domain in our OpenStack environment, perform the following step:
- We start by creating a domain called
bookstore
as follows:openstack domain create --description "Book domain" bookstore
The output will look similar to this:
How it works…
In OpenStack, high level identity resources can be grouped under different domains. If you have to manage distinct organizations within your OpenStack environment, having separate domains for managing them might be very beneficial. By default, your OpenStack environment most likely has a default domain called "Default." By running the preceding command, we just created an additional domain that can used to manage resources related to this book. The syntax is as follows:
openstack domain create --description <description> <name>
The description
parameter is also optional, but highly recommended. The domain name must be unique to other domains in the environment.
- ASP.NET Web API:Build RESTful web applications and services on the .NET framework
- 動(dòng)手玩轉(zhuǎn)Scratch3.0編程:人工智能科創(chuàng)教育指南
- AppInventor實(shí)踐教程:Android智能應(yīng)用開(kāi)發(fā)前傳
- Selenium Testing Tools Cookbook(Second Edition)
- 人工智能算法(卷1):基礎(chǔ)算法
- C++程序設(shè)計(jì)教程(第2版)
- Java并發(fā)編程:核心方法與框架
- Machine Learning for Developers
- 算法超簡(jiǎn)單:趣味游戲帶你輕松入門(mén)與實(shí)踐
- JavaScript Unit Testing
- Java語(yǔ)言GUI程序設(shè)計(jì)
- 匯編語(yǔ)言程序設(shè)計(jì)
- 區(qū)塊鏈社會(huì):區(qū)塊鏈助力國(guó)家治理能力現(xiàn)代化
- Java EE 7 First Look
- 面向WebAssembly編程:應(yīng)用開(kāi)發(fā)方法與實(shí)踐