|NO.Z.00027|——————————|CloudVirtualiZation|——|OpenStack&实操.V01|——|Openstack-Web.UI|创建云硬盘&云主机|
一、创建云硬盘:OpenStack——>Compute——>云硬盘——>创建云硬盘——>创建云硬盘——>END


### --- 创建云主机
~~~ Compute——>实例——>启动云主机——>访问&安全——>网络——>创建后——>高级选项——>虚拟机实例运行查看——>绑定浮动IP——>通过xshell连接——>END
~~~ 点击运行:孵化中:说明是在创建过程中

访问&安全:指通过那个秘钥对去访问,也可以不添加

网络:demo-net简单的内部网络

创建后:脚本配置,脚本处理流程写入

高级选项:可以自己去分区

虚拟机实例运行查看

实例——>yanqi主机——>绑定浮动IP——>+号——>ext-net——>分配:100.100.100.14——>关联


通过xshell去连接虚拟实例地址:ciros@100.100.100.14
Connecting to 100.100.100.14:22...
Connection established.
To escape to local shell, press 'Ctrl+Alt+]'.
sh: /usr/bin/xauth: not found
$
[root@localhost ~]# sudo fdisk -l
Disk /dev/vda: 1073 MB, 1073741824 bytes
255 heads, 63 sectors/track, 130 cylinders, total 2097152 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/vda1 * 16065 2088449 1036192+ 83 Linux
三、连接云硬盘
### --- 连接云硬盘
~~~ openstack——>Compute——>云硬盘——>demo-volume2——>编辑卷——>编辑挂载——>END


[root@localhost ~]# sudo fdisk -l
Disk /dev/vda: 1073 MB, 1073741824 bytes
255 heads, 63 sectors/track, 130 cylinders, total 2097152 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/vda1 * 16065 2088449 1036192+ 83 Linux
Disk /dev/vdb: 10.7 GB, 10737418240 bytes
16 heads, 63 sectors/track, 20805 cylinders, total 20971520 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/vdb doesn't contain a valid partition table
附录一:





Walter Savage Landor:strove with none,for none was worth my strife.Nature I loved and, next to Nature, Art:I warm'd both hands before the fire of life.It sinks, and I am ready to depart
——W.S.Landor
分类:
cdv012-openstack
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
· DeepSeek 开源周回顾「GitHub 热点速览」