- Ceph Cookbook(Second Edition)
- Vikhyat Umrao Michael Hackett Karan Singh
- 212字
- 2021-07-02 23:19:13
How to do it...
In this recipe, we will demonstrate setting up a preconfigured OpenStack environment using Vagrant and accessing it via CLI and GUI:
- Launch openstack-node1 using vagrantfile as we did for Ceph nodes in the last chapter. Make sure that you are on the host machine and are under the Ceph-Cookbook-Second-Edition repository before bringing up openstack-node1 using Vagrant:
# cd Ceph-Cookbook-Second-Edition
# vagrant up openstack-node1

- Log in to the OpenStack node with the following vagrant command:
# vagrant status openstack-node1
$ vagrant ssh openstack-node1

- We assume that you have some knowledge of OpenStack and are aware of its operations. We will source the keystone_admin file, which has been placed under /root, and to do this, we need to switch to root:
$ sudo su -
$ source keystonerc_admin
We will now run some native OpenStack commands to make sure that OpenStack is set up correctly. Please note that some of these commands do not show any information since this is a fresh OpenStack environment and does not have instances or volumes created:
# nova list
# cinder list
# glance image-list

- You can also log into the OpenStack horizon web interface (https://192.168.1.111/dashboard) using the username admin and the password vagrant:

- After logging in, the Overview page opens:

OpenStack Dashboard Overview
推薦閱讀
- 樂(lè)高機(jī)器人:WeDo編程與搭建指南
- AWS:Security Best Practices on AWS
- 空間機(jī)器人遙操作系統(tǒng)及控制
- 自動(dòng)控制原理
- 自動(dòng)檢測(cè)與傳感技術(shù)
- 數(shù)據(jù)挖掘?qū)嵱冒咐治?/a>
- JMAG電機(jī)電磁仿真分析與實(shí)例解析
- 傳感器技術(shù)應(yīng)用
- STM32G4入門與電機(jī)控制實(shí)戰(zhàn):基于X-CUBE-MCSDK的無(wú)刷直流電機(jī)與永磁同步電機(jī)控制實(shí)現(xiàn)
- Java Web整合開發(fā)全程指南
- 變頻器、軟啟動(dòng)器及PLC實(shí)用技術(shù)260問(wèn)
- 菜鳥起飛系統(tǒng)安裝與重裝
- 單片機(jī)C語(yǔ)言程序設(shè)計(jì)完全自學(xué)手冊(cè)
- 悟透AutoCAD 2009案例自學(xué)手冊(cè)
- 精通LabVIEW程序設(shè)計(jì)