本章描述Image, Device 镜像和设备的关系和操作,
因为SL上面的设备,镜像,文件的英文名称定义 name definition 不太准确,用户望文生义会误解,所以请仔细看完本章。
Image template 实际指的是镜像, Export/Import 实际指的保存在对象存储的通用镜像文件
Image | 场景, 举例 (快捷记忆) | (1) Device - Image Device先备份好数据, Guest OS 停止进程, 因为需要Power Off Device 对象,Action菜单, 选择Create Image Template(VM)/ Flex Image(BM) 保存镜像
(2) Image - Device ( Image, order + provision 方式) Image 对象,Action 菜单,选择 Order device from Image
(3)Image - Device (Device, boot from file 方式) Device 对象,Action菜单,选择 Device boot from Image (file) 从文件(保存在对象存储上)开始重安装。 *如果超过24H 还没有重启,开工单联系技术支持, 实际2小时足够,取决于镜像大小
(4)File - Device (Device, reload from image 方式) Device 对象,Action菜单, 选择Device reload from Image (template) 从镜像(保存在镜像库上)开始重安装。 *如果超过24H 还没有重启,开工单联系技术支持, 实际2小时足够,取决于镜像大小
| ||||||||||||||||||||||||
| help | import an image http://knowledgelayer.softlayer.com/procedure/import-image
Perform an OS Reload from an Image Template https://knowledgelayer.softlayer.com/procedure/perform-os-reload-image-template
Introduction to Image Templates http://knowledgelayer.softlayer.com/learning/introduction-image-templates
Image Templates http://knowledgelayer.softlayer.com/topic/image-templates
device, load from image tempate https://knowledgelayer.softlayer.com/procedure/perform-os-reload-image-template
import an image https://knowledgelayer.softlayer.com/procedure/import-image import image template from object storage swift,
create a standard image or flex-image template of the existing VM you wish to clone. two types of images here: https://knowledgelayer.softlayer.com/learning/introduction-image-templates
What kinds of images may I use to boot or load devices? http://knowledgelayer.softlayer.com/faq/what-kinds-images-may-i-use-boot-or-load-devices
| ||||||||||||||||||||||||
| Image 概念,分类,关系 | (1) Image, ISO file, Device 概念,分类,关系
| ||||||||||||||||||||||||
| 支持的OS 虚机,物理机 | https://knowledgelayer.softlayer.com/procedure/import-image
| ||||||||||||||||||||||||
| image 文档和操作 | (1) 帮助文档 http://knowledgelayer.softlayer.com/topic/image-templates 列出了所有image 相关操作,可以 Device-Image,image- Device, image-file, file-image, file-Device, account A image share to Account B, image in DC A copy to DC B,
对应的菜单操作路径 机器保存镜像,device, device list, device item, action, create image template/Flex Image 镜像查看: device, manage, image, image list, view list, Share, Export 通过镜像订购机器 通过镜像重启机器
| ||||||||||||||||||||||||
| image 转换 | (1) Device, Image, File 3种形态转换, SL image 和 Device (VM/BM) 有几种概念和使用场景: Device-Image,image- Device, image-file, file-image, file-Device, 即机器保存为镜像(私有格式), 镜像上传或下载到文件
SL 的 Image file, 是镜像保存到对象存储,用于上传下载的国际镜像标准格式 注:SL对象存储有swift, S3 2种类型,镜像只能保存在swift类型。 用户需要事先开通object storage swift 对象存储,才能做image-file
(1) 具体到操作对象(Device, Image)上的使用的使用场景有3种 (a) order device from image 从镜像文件直接一步订购和部署机器, 即 Image-VM (b) device boot from image 机器从对象存储中保存的的镜像文件重启, 即file-VM, 用KVM console (c) device reload from image, 机器从镜像重新安装, 即 Image-VM
| ||||||||||||||||||||||||
| Device对象上的操作 | 详细来讲: 菜单 Device-Device list,双击选中某个Device后,右边的Action 菜单,其中有 (1) Create image template/flex image , 菜单操作Device, create image template (VM), Create flex image (BM) 是虚机,物理机创建镜像 需要输入image name 帮助记忆 需要power off device 创建后在菜单 Device -manage- image, Image list 看到创建的image name
(2) Device boot from Image (3) Device reload from Image
| ||||||||||||||||||||||||
| Image对象上的操作 | 菜单 Device-Manage-Image, Image List, 选择某个Image, 弹出image 属性页面,其中有
(1) Import/export image file 导入导出文件 把创建的 image export 到事先下单的SL object storage Swift 的 file, 叫export 导出镜像 把本机的image VXD, ISO file 上传到SL object storage. 叫 import 导入镜像. SL 支持Bring your own Image 客户自制image, 用于上传SuSE Linux,或其他定制过的任何OS 注: 事先要订购Object Storage Swift 类型
(2) Image duplicate Sync 同步复制到其他数据中心 Location = US, HK, SGP 等国家 check box, 多勾选一个国家,可以把这个image 同步到其他国家
(3) Image share 把其他用户做好的镜像共享过来使用 输入 另外用户B的Account ID, 他名下的Image Name, 可以把他的Image 共享给你使用
(4) Order Device from Image 在Image 右边的Action菜单上
|