IBM Cloud 2015 - Image 镜像

本章描述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 概念,分类,关系

file

1) user download ISO boot file from MS support site

2) use’s VM DIY export to VHD, ISO format file, which need upload to SL Object storage swift ,or upload to NAS for Bare metal

 

Image

1) user do import image, SL will verify and convert to SL own format,

VM,BM image

SL的image, 虚机叫Image template, 物理机叫 Flex Image

物理机可以转成image, 然后Reload到虚机上,从而实现互相转换

 

 

ISO

1) ISO boot file

2) user VM export ISO image file

VHD

1) one of VM image format, in SL limit to 100GB size

2) name rule: filename.vhd-0.vhd

Device

VM or BM, user directly order, or reload from Image

Image template

1) SL has private and public shared image library

SL Image template 是私有格式,可以转换成 VHD, ISO 国际标准格式, 通过Object Storage 到 SL 镜像库的 import image, export image 步骤来上传导出和格式转换

 

support OS

VM image, 支持任何操作系统

BM image,支持CentOS , Rehat 5 以上, Win20032008以上

 

权限

2种权限:private image/ public image,

image 有public image, 或者保存在用户object storage 上的私有image

用户创建的image是私有镜像,不共享,但是可以改为公有,供整个数据中心用户共享

SL数据中心也提供公共镜像,如windows rescue image,供所有用户使用

 

 

 

 

 

 

 

支持的OS

虚机,物理机

https://knowledgelayer.softlayer.com/procedure/import-image 

  • CentOS 6.0
  • RedHat Enterprise Linux 6.0
  • Ubuntu 10.04, 12.04 and 14.04
  • Microsoft Server Standard

http://knowledgelayer.softlayer.com/faq/why-doesn%25E2%2580%2599t-flex-image-support-my-operating-system

  • CentOS 5 & 6
  • RedHat Enterprise Linux 5 & 6
  • Microsoft Windows Server 2003
  • Microsoft Windows Server 2008 R2

 

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菜单上

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值