|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

 

 

posted on   yanqi_vip  阅读(84)  评论(0编辑  收藏  举报

相关博文:
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
· DeepSeek 开源周回顾「GitHub 热点速览」
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

导航

统计

点击右上角即可分享
微信分享提示