当前位置:网站首页>Cloud computing skills competition -- Part 2 of openstack private cloud environment
Cloud computing skills competition -- Part 2 of openstack private cloud environment
2022-04-23 08:03:00 【King_ nul】
Original blog address
1、 Security group settings
First , Input [http://controller/dashboard], Log in to the platform page , And then according to Continue with the description in the figure below .
After configuring the security group, the next step is to configure the network
2、 Cloud platform network configuration
① Intranet configuration
In network configuration , You need to use the external network segment and network adapter used in the construction (provider)
Simply understand : Cloud platform is used to manage virtual machines , The network used by the virtual machine is the same as that of the host machine, that is, the virtual machine Bridging network , The network of the cloud platform establishes a bridging relationship with the external network card of the host to enable the virtual machine on the platform to access the Internet .
The intranet is configured here , Next, configure the external network .
② Internet configuration
After configuring the external network , You still need to connect the intranet and extranet of the cloud platform , This requires configuring a router , Interworking between the two networks
③ Router configuration
After everything on the network is configured , So let's create one Virtual machine type
3、 Create a virtual machine type
Virtual machine type , Similar to a template file , When creating a virtual machine, use a template to directly create a virtual machine using an image , There is no need to set the memory 、 disk 、 Network configuration .
4、 Upload the image
After the virtual machine type and network are set , We can use glance Command to upload a test image ( stay openstack The official images have a small test image )
#glance Command upload image using format
#glance image-create --name [ Custom image name ] --disk-format=qcow2 \ # qcow2 The format of the mirror image
# --container-format=bare --visibility=public \
# --file [ Mirror absolute path / Mirror name ]
# Upload CentOS Mirror image
[root@controller ~]# glance image-create --name Test --disk-format=qcow2 --container-format bare --file /iso_dir/iaas/images/CentOS_6.5_x86_64_XD.qcow2
You must provide a username via either --os-username or env[OS_USERNAME]
# Here, you will be prompted after the command is executed You must provide a username via either --os-username or env[OS_USERNAME]
# Here is the need for certification before use glance service , So you need to source once keystone The environment variable file
[root@controller ~]# source /etc/keystone/admin-openrc.sh
[root@controller ~]# glance image-create --name Test --disk-format=qcow2 --container-format bare --file /iso_dir/iaas/images/CentOS_6.5_x86_64_XD.qcow2
+------------------+--------------------------------------+
| Property | Value |
+------------------+--------------------------------------+
| checksum | 3e565ace16066679ea363dde5411ed25 |
| container_format | bare |
| created_at | 2022-01-30T17:42:23Z |
| disk_format | qcow2 |
| id | ba9e7698-de7a-4857-a305-b06324de2e2e |
| min_disk | 0 |
| min_ram | 0 |
| name | Test |
| owner | a4212c5560ce4844a18a567295fea23f |
| protected | False |
| size | 283181056 |
| status | active |
| tags | [] |
| updated_at | 2022-01-30T17:42:26Z |
| virtual_size | None |
| visibility | shared |
+------------------+--------------------------------------+
Image upload completed , Use Previously created network and virtual machine templates Create a virtual machine , And can access the Internet
The error here is that my notebook does not support nested virtualization , So you can't create another virtual machine , When you do the experiment, you make this mistake , You can add processors to the virtual machine settings ---- Dexter VT Check on , Create it again ( Both stations need to check )
to update
Here are the follow-up updates , I did it again with other machines that can nest virtualization , Create a virtual machine .
5、 ending
brothers , After reading the basic construction and setting of the platform , I think it's good. Remember to praise it … Run during the day, and at night until more than two o'clock in the morning , The memory of the notebook is only 8G, It broke several times , Restart the virtual machine several times , It's not easy to write an article , But I will keep writing , Remember to leave a message if you have a problem .
版权声明
本文为[King_ nul]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230629526423.html
边栏推荐
- Complete color conversion formulas and conversion tables (31 kinds)
- Shapley Explanation Networks
- Internal network security attack and defense: a practical guide to penetration testing (IV): Authority improvement analysis and defense
- Buuctf misc brush questions
- Common markdown grammar learning
- Sto with billing cross company inventory dump return
- BUUCTF MISC刷题
- Intranet penetration series: dns2tcp of Intranet tunnel
- sentinel集成nacos动态更新数据原理
- 《内网安全攻防:渗透测试实战指南》读书笔记(四):权限提升分析及防御
猜你喜欢
Chapter V investment real estate
SAP STO With Billing流程与配置
内网渗透系列:内网隧道之dnscat2
《内网安全攻防:渗透测试实战指南》读书笔记(五):域内横向移动分析及防御
How does Apache Hudi accelerate traditional batch mode?
【编程实践/嵌入式比赛】嵌入式比赛学习记录(二):基于TCP的图片流传输
Towords Open World Object Detection
Mysql database backup and recovery under Linux (full + incremental)
linux下mysql数据库备份与恢复(全量+增量)
Enterprise wechat login free jump self built application
随机推荐
Complete learning from scratch, machine learning and deep learning, including theory and code implementation, mainly using scikit and mxnet, and some practices (on kaggle)
一些关于网络安全的好教程或笔记的链接,记录一下
1+x云计算中级--脚本搭建读写分离
Common markdown grammar learning
国基北盛-openstack-容器云-环境搭建
Expression related to month, year and day in SVG
SAP自建表log功能开启
What's new in. Net 5 NET 5
TA notes of Zhuang understand (zero) < bedding and learning methods >
Buctf MISC brossage
SAP Query增强开发介绍
Plane definition - plane equation
内网渗透系列:内网隧道之dns2tcp
Chapter V investment real estate
Ctf-misc learning from start to give up
Research on system and software security (3)
C smoothprogressbar custom progress bar control
第七章 资产减值
C problem of marking the position of polygons surrounded by multiple rectangles
Intranet penetration series: dnscat2 of Intranet tunnel