|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 2022-03-27 15:17  yanqi_vip  阅读(98)  评论(0)    收藏  举报

导航