- Visão geral de serviço
- Primeiros passos
-
Guia de usuário
- Gerenciando imagens públicas
-
Criando uma imagem privada
- Introdução
- Criando uma imagem de disco do sistema a partir de um ECS de Windows
- Criando uma imagem de disco do sistema a partir de um Linux
- Criando uma imagem de disco do sistema Windows a partir de um arquivo externo de imagem
- Criando uma imagem de disco do sistema Linux a partir de um arquivo de imagem externo
- Criando uma imagem de disco do sistema BMS
- Criando uma imagem de disco de dados a partir de um ECS
- Criando uma imagem de disco de dados a partir de um arquivo de imagem externo
- Criando uma imagem de ECS inteiro a partir de um ECS
- Criando uma imagem de ECS inteiro a partir de um backup de CSBS
- Criando uma imagem de ECS inteiro a partir de um backup do CBR
- Criando uma imagem de disco do sistema Windows a partir de um arquivo ISO
- Criando uma imagem de disco do sistema Linux a partir de um arquivo ISO
- Importando rapidamente um arquivo de imagem
-
Gerenciando imagens privadas
- Modificando uma imagem
- Exportando lista de imagens
- Verificando a capacidade do disco de uma imagem
- Criando um a partir de uma imagem
- Excluindo imagens
-
Compartilhando imagens
- Visão geral
- Obtendo o ID do Projeto
- Compartilhando imagens especificadas
- Aceitando ou rejeitando imagens compartilhadas
- Rejeitando imagens aceitas
- Aceitando imagens rejeitadas
- Parando de compartilhar imagens
- Adicionando locatários que podem usar imagens compartilhadas
- Excluindo destinatários de imagem que podem usar imagens compartilhadas
- Replicando uma imagem compartilhada
- Importando uma imagem
- Exportando uma imagem
- Otimizando uma imagem privada de Windows
-
Otimizando uma imagem privada de Linux
- Processo de otimização
- Visualizando o tipo de virtualização de um ECS de Linux
- Desinstalando o driver PV de um ECS de Linux
- Alterando o identificador de disco no arquivo de configuração do GRUB para UUID
- Alterando o identificador de disco no arquivo fstab para UUID
- Instalando drivers nativos de KVM
- Limpando logs do sistema
- Criptografando imagens
- Replicando imagens Dentro de uma região
- Replicando imagens entre regiões
- Marcando uma imagem
- Auditando operações-chave
- Operações de Windows
- Operações de Linux
- Gerenciamento de permissões
- Histórico de alterações
-
Perguntas frequentes
-
Consultoria de imagem
- Como selecionar uma imagem?
- O que devo fazer se não conseguir encontrar uma imagem desejada?
- O que devo fazer se eu quiser configurar um ambiente OpenVPN ou PyTorch, mas nenhuma imagem pública contendo OpenVPN ou PyTorch estiver disponível?
- Como aumentar a cota de imagens?
- Quais são as diferenças entre imagens e backups?
- Posso adaptar uma imagem?
- Como migrar um ECS para uma região diferente de outra conta?
- Como fazer backup do status atual de um ECS para restauração no caso de uma falha do sistema?
- Como aplicar uma imagem privada a um ECS existente?
- Posso importar dados de uma imagem de disco de dados para um disco de dados?
- Posso usar imagens privadas de outros locatários?
-
Criação de imagens
- Perguntas frequentes sobre criação de imagens
- Perguntas frequentes sobre imagens do ECS completo
- Como usar um backup para criar um disco EVS ou ECS?
- Existe alguma diferença entre a imagem criada a partir de um backup do CSBS/CBR e aquela criada a partir de um ECSs?
- Por que não consigo encontrar uma imagem ISO quando quero usá-la para criar um ECS ou alterar o sistema operacional de um ECS?
- Como criar uma imagem de ECS completo usando um ECS que tem um volume estendido?
- Por que o Sysprep é necessário para criar uma imagem privada a partir de um ECS do Windows?
- O que devo fazer se um ECSs criado a partir de uma imagem do Windows não conseguir iniciar após a execução do Sysprep?
- Compartilhamento de imagens
-
SO
- Como escolher um SO?
- Como o BIOS é diferente de UEFI?
- Como excluir conexões de rede redundantes de um ECS do Windows?
- O que devo fazer se um ECS iniciar lentamente?
- O que devo fazer se o plug-in de redefinição de senha com um clique não for iniciado?
- Por que não consigo encontrar minha imagem privada quando quero usá-la para criar um ECSs ou alterar o sistema operacional de um ECSs?
-
Importação de imagem
- Posso usar imagens em formatos diferentes dos especificados?
- Quais são os impactos se eu não pré-configurar um ECS usado para criar uma imagem privada?
- Como importar um arquivo OVF ou OVA para a plataforma de nuvem?
- O que devo fazer se tiver configurado um sistema operacional ou tamanho de disco do sistema incorreto durante o registro de imagem privada usando um arquivo de imagem?
- O que devo fazer se o tamanho do disco do sistema em um arquivo de imagem VHD exceder o tamanho especificado no console de gerenciamento quando uso este arquivo para registrar uma imagem privada?
- Como importar imagens privadas existentes da HUAWEI CLOUD para uma região especificada?
-
Exportação de imagem
- Posso fazer download das minhas imagens privadas para um PC local?
- Posso usar a imagem de disco do sistema de um ECSs em um BMS depois de exportá-la da plataforma de nuvem?
- Por que o tamanho da imagem em um bucket do OBS é diferente do exibido no IMS?
- Posso baixar uma imagem pública para o meu PC local?
- Quais são as diferenças entre importação/exportação e importação/exportação rápida?
- O que devo fazer se a opção de exportação não estiver disponível para minha imagem?
-
Optimização de imagem
- Por que é necessário instalar e atualizar o VMTools para Windows?
- O que o sistema fará com um arquivo de imagem quando eu usar o arquivo para registrar uma imagem privada?
- Como configurar um ECS, BMS ou arquivo de imagem antes de usá-lo para criar uma imagem?
- O que devo fazer se um arquivo de imagem do Windows não estiver pré-configurado quando eu o usar para registrar uma imagem privada?
- O que devo fazer se um arquivo de imagem do Linux não estiver pré-configurado quando eu usá-lo para registrar uma imagem privada?
- Como habilitar a multifila de NIC para uma imagem?
- Como configurar um ECS para adquirir dinamicamente endereços IPv6?
- Como faço para que uma imagem de disco do sistema suporte a criação rápida de ECS?
- Como instalar os drivers Xen e KVM nativos?
- Replicação de imagem
- Exclusão de imagem
- Criptografia de imagem
-
Contas e permissões
- Como criar uma agência de IAM?
- O que devo fazer se as imagens privadas não puderem ser encontradas na página do Enterprise Project Management Service após a ativação do EPS?
- O que devo fazer se não for possível criar uma imagem a partir de um backup do CSBS ou BMS usando uma subconta com a permissão Allow_all após a ativação do EPS?
-
Cloud-Init
- Cloud-Init
- O que posso fazer com um ECS do Cloud-Init?
- O que devo fazer se a injeção da chave ou da senha usando o Cloud-Init falhar após a instalação do NetworkManager?
- Como instalar o growpart para o SUSE 11 SP4?
- How Do I Configure a Linux Private Image to Make It Automatically Expand Its Root Partition?
-
Criação de ECSs
- Posso alterar a imagem de um ECS comprado?
- Posso usar uma imagem privada para criar ECSs com especificações de hardware diferentes do ECS usado para criar a imagem privada?
- Posso especificar o tamanho do disco do sistema ao criar um ECS usando uma imagem?
- O que devo fazer se nenhuma partição for encontrada durante a inicialização de um ECS criado a partir de uma imagem privada importada?
- O que devo fazer se os discos de um ECSs criado a partir de uma imagem do CentOS não puderem ser encontrados?
- O que devo fazer se um ECSs criado a partir de uma imagem do Windows não conseguir iniciar quando eu tiver ativado a configuração automática durante o registro da imagem?
- O que devo fazer se ocorrer uma exceção quando eu iniciar um ECSs criado a partir de uma imagem usando o modo de inicialização UEFI?
- Cobrança
-
Consultoria de imagem
-
Referência de API
- Antes de começar
- Visão geral da API
- Chamada das API
- Introdução
-
As API do IMS
-
Imagem
- Consulta de imagens
- Atualização de informações de imagem
- Criação de uma imagem
- Importação rápida de um arquivo de imagem
- Criação de uma imagem de disco de dados com uso de um arquivo de imagem externo
- Criação de uma imagem de ECS inteiro
- Registração de uma imagem
- Exportação de uma imagem
- Consulta dos SO suportados por imagem
- Marcação de imagem
- Compartilhamento de imagens
- Replicação da imagem
- Cota de imagem
- Trabalhos de imagem
-
Imagem
-
As API OpenStack nativo
-
Imagem (As API OpenStack nativo)
- Consulta de imagens (API OpenStack nativo)
- Consulta de detalhes de uma imagem (API OpenStack nativo)
- Atualização de informações da imagem (API OpenStack nativo)
- Carregamento de uma imagem (API OpenStack nativo)
- Exclusão de uma imagem (API OpenStack nativo)
- Criação de metadados de imagem (API OpenStack nativo)
- Exclusão de uma imagem (API OpenStack nativo v1.1 - abandonada e não recomendada)
- Consulta dos metadados da imagem (API OpenStack nativo v1 - abandonada e não recomendada)
- Consulta de detalhes de imagens (API OpenStack nativo v1.1 - abandonada e não recomendada)
- Marcação de imagem (As API OpenStack nativo)
- Esquema da imagem (As API OpenStack nativo)
-
Compartilhamento de imagem (As API OpenStack nativo)
- Adição de um membro de imagem (API OpenStack nativo)
- Atualização do status de compartilhamento de imagens em lotes (API OpenStack nativo)
- Consulta de detalhes do membro da imagem (API OpenStack nativo)
- Consulta dos membros de uma imagem (API OpenStack nativo)
- Exclusão de um membro da imagem (API OpenStack nativa)
- Consulta de versão da API (API OpenStack nativo)
-
Imagem (As API OpenStack nativo)
- Exemplos
- Políticas de permissão e ações suportadas
- Parâmetros comuns
- Códigos de status
- Códigos de erro
- Histórico de alterações
-
Melhores práticas
- Visão geral
- Criação de uma imagem do Windows usando o VirtualBox e um arquivo ISO
- Criação de uma imagem do Linux usando o VirtualBox e um arquivo ISO
- Limpeza do espaço em disco de um ECS do Windows
- Conversão do formato da imagem
- Criação de uma imagem privada usando o Packer
- Configuração de um arquivo ISO como uma fonte de imagem local
- Migração de ECSs entre contas e regiões
- Migração de dados de serviço entre contas (discos de dados)
- No momento, o conteúdo não está disponível no seu idioma selecionado. Consulte a versão em inglês.
- What's New
- Function Overview
- SDK Reference
- Videos
- Glossary
-
More Documents
-
User Guide (ME-Abu Dhabi Region)
- Overview
- Using IAM to Grant Access to IMS
-
Creating a Private Image
- Introduction
- Creating a System Disk Image from a Windows ECS
- Creating a System Disk Image from a Linux ECS
- Creating a Windows System Disk Image from an External Image File
- Creating a Linux System Disk Image from an External Image File
- Creating a BMS System Disk Image
- Creating a Data Disk Image from an ECS
- Creating a Data Disk Image from an External Image File
- Creating a Full-ECS Image from an ECS
- Creating a Full-ECS Image from a CBR Backup
- Creating a Windows System Disk Image from an ISO File
- Creating a Linux System Disk Image from an ISO File
- Importing an Image
- Fast Import of an Image File
-
Managing Private Images
- Creating an ECS from an Image
- Modifying an Image
- Exporting an Image
- Exporting Image List
- Checking the Disk Capacity of an Image
- Deleting Images
-
Sharing Images
- Overview
- Obtaining the Account Name and Project Name
- Sharing Specified Images
- Accepting or Rejecting Shared Images
- Rejecting Accepted Images
- Accepting Rejected Images
- Stopping Sharing Images
- Adding Tenants Who Can Use Shared Images
- Deleting Image Recipients Who Can Use Shared Images
- Replicating a Shared Image
- Replicating Images
- Optimizing a Windows Private Image
-
Optimizing a Linux Private Image
- Optimization Process
- Checking Whether a Private Image Needs to be Optimized
- Uninstalling PV Drivers from a Linux ECS
- Changing Disk Identifiers in the GRUB File to UUID
- Changing Disk Identifiers in the fstab File to UUID
- Installing Native Xen and KVM Drivers
- Installing Native KVM Drivers
- Clearing System Logs
- Encrypting Images
- Converting the Image Format
- Windows Operations
- Linux Operations
- Managing Tags
- Managing Quotas
- Auditing Key Operations
-
FAQs
-
Image Consulting
- Basic Concepts
- How Do I Select an Image?
- What Do I Do If I Cannot Find a Desired Image?
- What Are the Differences Between Images and Backups?
- Can I Tailor an Image?
- How Can I Back Up the Current Status of an ECS for Restoration in the Case of a System Fault?
- How Can I Apply a Private Image to an Existing ECS?
- Can I Import Data from a Data Disk Image to a Data Disk?
- Can I Use Private Images of Other Accounts?
-
Image Creation
- General Creation FAQ
- Full-ECS Image FAQ
- Is There Any Difference Between the Image Created from a CSBS/CBR Backup and That Created from an ECS?
- Why Can't I Find an ISO Image When I Want to Use It to Create an ECS or Change the OS of an ECS?
- How Do I Create a Full-ECS Image Using an ECS That Has a Spanned Volume?
- Why Is Sysprep Required for Creating a Private Image from a Windows ECS?
- How Do I Handle the Startup Failure of a Windows ECS Created from a Windows Image Generalized by Sysprep?
- What Do I Do If I Cannot Create an Image in ZVHD2 Format Using an API?
- Image Sharing
- OS
-
Image Import
- Can I Use Images in Formats not Described in This Document?
- What Are the Impacts If I Do Not Pre-configure an ECS Used to Create a Private Image?
- How Do I Import an OVF or OVA File to the Cloud Platform?
- What Do I Do If I Chose the Wrong OS or System Disk Capacity When Registering a Private Image?
- Why Did My VHD Upload Fail? Why Does the System Say the System Disk in the VHD Image File Is Larger Than What I Specified on the Management Console?
-
Image Export
- Can I Download My Private Images to a Local PC?
- Can I Use the System Disk Image of an ECS on a BMS After I Export It from the Cloud Platform?
- Why Is the Image Size in an OBS Bucket Different from That Displayed in IMS?
- Can I Download a Public Image to My PC?
- What Are the Differences Between Import/Export and Fast Import/Export?
- Why the Export Option Is Unavailable for My Image?
-
Image Optimization
- Must I Install Guest OS Drivers on an ECS?
- Why Do I Need to Install and Update VirtIO Drivers for Windows?
- What Will the System Do to an Image File When I Use the File to Register a Private Image?
- How Do I Configure an ECS or an Image File Before I Use It to Create an Image?
- What Do I Do If a Windows Image File Is Not Pre-Configured When I Use It to Register a Private Image?
- What Do I Do If a Linux Image File Is Not Pre-Configured When I Use It to Register a Private Image?
- How Do I Enable NIC Multi-Queue for an Image?
- How Do I Configure an ECS to Use DHCPv6?
- How Do I Make a System Disk Image Support Fast ECS Creation?
- Why Did I Fail to Install Guest OS Drivers on a Windows ECS?
- How Do I Install Native Xen and KVM Drivers?
- Image Replication
- Image Deletion
- Image Encryption
- Accounts and Permissions
- Cloud-Init
-
ECS Creation
- Can I Change the Image of a Purchased ECS?
- Can I Change the Specifications Defined by a Private Image When I Use the Image to Create an ECS?
- Can I Specify the System Disk Capacity When I Create an ECS Using an Image?
- What Do I Do If a Partition Is Not Found During the Startup of an ECS Created from an Imported Private Image?
- What Do I Do If the Disks of a CentOS ECS Created from an Image Cannot Be Found?
- What Do I Do If I Enabled Automatic Configuration During Image Registration for an ECS Created from a Windows Image and Now It Won't Start?
- What Do I Do If an Exception Occurs When I Start an ECS Created from an Image Using UEFI Boot?
-
Driver Installation
- Must I Install Guest OS Drivers on an ECS?
- Why Do I Need to Install and Update VirtIO Drivers for Windows?
- Why Did I Fail to Install Guest OS Drivers on a Windows ECS?
- How Do I Install VirtIO Drivers in Windows?
- How Do I Install Native KVM Drivers in Linux?
- How Do I Install Native Xen and KVM Drivers?
- Image Tags
- Billing
-
Image Consulting
-
API Reference (ME-Abu Dhabi Region)
- Before You Start
- API Overview
- Calling APIs
- Getting Started
- IMS APIs
-
Native OpenStack APIs
-
Image (Native OpenStack APIs)
- Querying Images (Native OpenStack API)
- Querying Image Details (Native OpenStack API)
- Updating Image Information (Native OpenStack API)
- Uploading an Image (Native OpenStack API)
- Deleting an Image (Native OpenStack API)
- Creating Image Metadata (Native OpenStack API)
- Deleting an Image (Native OpenStack API v1.1 - Abandoned and Not Recommended)
- Querying Image Metadata (Native OpenStack API v1 - Abandoned and Not Recommended)
- Querying Image Details (Native OpenStack API v1.1 - Abandoned and Not Recommended)
- Image Schema (Native OpenStack APIs)
- Image Sharing (Native OpenStack APIs)
- API Version Query (Native OpenStack API)
-
Image (Native OpenStack APIs)
- Examples
- Permission Policies and Supported Actions
- Common Parameters
- Status Codes
- Error Codes
- Change History
-
User Guide (Paris Regions)
- Overview
- Using IAM to Grant Access to IMS
-
Creating a Private Image
- Introduction
- Creating a System Disk Image from a Windows ECS
- Creating a System Disk Image from a Linux ECS
- Creating a Windows System Disk Image from an External Image File
- Creating a Linux System Disk Image from an External Image File
- Creating a Data Disk Image from an External Image File
- Creating a Full-ECS Image from an ECS
- Creating a Full-ECS Image from a CSBS Backup
- Creating a Full-ECS Image from a CBR Backup
- Creating a Windows System Disk Image from an ISO File
- Creating a Linux System Disk Image from an ISO File
- Importing an Image
- Fast Import of an Image File
-
Managing Private Images
- Creating an ECS from an Image
- Modifying an Image
- Exporting an Image
- Exporting Image List
- Checking the Disk Capacity of an Image
- Deleting Images
- Sharing Images
- Replicating Images Within a Region
- Optimizing a Windows Private Image
-
Optimizing a Linux Private Image
- Optimization Process
- Checking Whether a Private Image Needs to be Optimized
- Uninstalling PV Drivers from a Linux ECS
- Changing Disk Identifiers in the GRUB File to UUID
- Changing Disk Identifiers in the fstab File to UUID
- Installing Native Xen and KVM Drivers
- Installing Native KVM Drivers
- Clearing System Logs
- Encrypting Images
- Converting the Image Format
- Windows Operations
- Linux Operations
- Managing Tags
- Managing Quotas
- Auditing Key Operations
-
FAQs
-
Image Consulting
- Basic Concepts
- How Do I Select an Image?
- What Do I Do If I Cannot Find a Desired Image?
- What Are the Differences Between Images and Backups?
- Can I Tailor an Image?
- How Can I Back Up the Current Status of an ECS for Restoration in the Case of a System Fault?
- How Can I Apply a Private Image to an Existing ECS?
- Can I Import Data from a Data Disk Image to a Data Disk?
- Can I Use Private Images of Other Accounts?
- End-of-Support for OSs
-
Image Creation
- General Creation FAQ
- Full-ECS Image FAQ
- How Can I Use a Backup to Create an EVS Disk or ECS?
- Is There Any Difference Between the Image Created from a CSBS/CBR Backup and That Created from an ECS?
- Why Can't I Find an ISO Image When I Want to Use It to Create an ECS or Change the OS of an ECS?
- How Do I Create a Full-ECS Image Using an ECS That Has a Spanned Volume?
- Why Is Sysprep Required for Creating a Private Image from a Windows ECS?
- How Do I Handle the Startup Failure of a Windows ECS Created from a Windows Image Generalized by Sysprep?
- What Do I Do If I Cannot Create an Image in ZVHD2 Format Using an API?
- Image Sharing
-
OS
- How Do I Select an OS?
- How Is BIOS Different from UEFI?
- How Do I Delete Redundant Network Connections from a Windows ECS?
- What Do I Do If an ECS Starts Slowly?
- What Do I Do If a Windows 7 ECS Equipped with an Intel 82599 NIC Reports an Error in SR-IOV Scenarios?
- Why Can't I Find My Private Image When I Want to Use It to Create an ECS or Change the OS of an ECS?
-
Image Import
- Can I Use Images in Formats not Described in This Document?
- What Are the Impacts If I Do Not Pre-configure an ECS Used to Create a Private Image?
- What Do I Do If I Chose the Wrong OS or System Disk Capacity When Registering a Private Image?
- Why Did My VHD Upload Fail? Why Does the System Say the System Disk in the VHD Image File Is Larger Than What I Specified on the Management Console?
-
Image Export
- Can I Download My Private Images to a Local PC?
- Can I Use the System Disk Image of an ECS on a BMS After I Export It from the Cloud Platform?
- Why Is the Image Size in an OBS Bucket Different from That Displayed in IMS?
- Can I Download a Public Image to My PC?
- What Are the Differences Between Import/Export and Fast Import/Export?
- Why the Export Option Is Unavailable for My Image?
-
Image Optimization
- Must I Install Guest OS Drivers on an ECS?
- Why Do I Need to Install and Update VirtIO Drivers for Windows?
- What Will the System Do to an Image File When I Use the File to Register a Private Image?
- How Do I Configure an ECS, a BMS, or an Image File Before I Use It to Create an Image?
- What Do I Do If a Windows Image File Is Not Pre-Configured When I Use It to Register a Private Image?
- What Do I Do If a Linux Image File Is Not Pre-Configured When I Use It to Register a Private Image?
- How Do I Enable NIC Multi-Queue for an Image?
- How Do I Make a System Disk Image Support Fast ECS Creation?
- Why Did I Fail to Install Guest OS Drivers on a Windows ECS?
- How Do I Install Native Xen and KVM Drivers?
- Image Replication
- Image Deletion
- Image Encryption
- Accounts and Permissions
- Cloud-Init
-
ECS Creation
- Can I Change the Image of a Purchased ECS?
- Can I Change the Specifications Defined by a Private Image When I Use the Image to Create an ECS?
- Can I Specify the System Disk Capacity When I Create an ECS Using an Image?
- What Do I Do If a Partition Is Not Found During the Startup of an ECS Created from an Imported Private Image?
- What Do I Do If the Disks of a CentOS ECS Created from an Image Cannot Be Found?
- What Do I Do If I Enabled Automatic Configuration During Image Registration for an ECS Created from a Windows Image and Now It Won't Start?
- What Do I Do If an Exception Occurs When I Start an ECS Created from an Image Using UEFI Boot?
-
Driver Installation
- Must I Install Guest OS Drivers on an ECS?
- Why Do I Need to Install and Update VirtIO Drivers for Windows?
- Why Did I Fail to Install Guest OS Drivers on a Windows ECS?
- How Do I Install VirtIO Drivers in Windows?
- How Do I Install Native KVM Drivers in Linux?
- How Do I Install Native Xen and KVM Drivers?
- Image Tags
-
Image Consulting
-
API Reference (Paris Regions)
- Before You Start
- API Overview
- Calling APIs
- Getting Started
- IMS APIs
-
Native OpenStack APIs
-
Image (Native OpenStack APIs)
- Querying Images (Native OpenStack API)
- Querying Image Details (Native OpenStack API)
- Updating Image Information (Native OpenStack API)
- Uploading an Image (Native OpenStack API)
- Deleting an Image (Native OpenStack API)
- Creating Image Metadata (Native OpenStack API)
- Deleting an Image (Native OpenStack API v1.1 - Abandoned and Not Recommended)
- Querying Image Metadata (Native OpenStack API v1 - Abandoned and Not Recommended)
- Querying Image Details (Native OpenStack API v1.1 - Abandoned and Not Recommended)
- Image Tagging (Native OpenStack APIs)
- Image Schema (Native OpenStack APIs)
- Image Sharing (Native OpenStack APIs)
- API Version Query (Native OpenStack API)
-
Image (Native OpenStack APIs)
- Examples
- API Actions
- Common Parameters
- Status Codes
- Error Codes
- Change History
-
User Guide (Kuala Lumpur Region)
- Overview
- Using IAM to Grant Access to IMS
-
Creating a Private Image
- Introduction
- Creating a System Disk Image from a Windows ECS
- Creating a System Disk Image from a Linux ECS
- Creating a Windows System Disk Image from an External Image File
- Creating a Linux System Disk Image from an External Image File
- Creating a BMS System Disk Image
- Creating a Data Disk Image from an ECS
- Creating a Data Disk Image from an External Image File
- Creating a Full-ECS Image from an ECS
- Creating a Full-ECS Image from a CBR Backup
- Creating a Windows System Disk Image from an ISO File
- Creating a Linux System Disk Image from an ISO File
- Importing an Image
- Fast Import of an Image File
-
Managing Private Images
- Creating an ECS from an Image
- Modifying an Image
- Exporting an Image
- Exporting Image List
- Checking the Disk Capacity of an Image
- Deleting Images
-
Sharing Images
- Overview
- Obtaining the Account Name and Project Name
- Sharing Specified Images
- Accepting or Rejecting Shared Images
- Rejecting Accepted Images
- Accepting Rejected Images
- Stopping Sharing Images
- Adding Tenants Who Can Use Shared Images
- Deleting Image Recipients Who Can Use Shared Images
- Replicating a Shared Image
- Replicating Images Within a Region
- Optimizing a Windows Private Image
-
Optimizing a Linux Private Image
- Optimization Process
- Checking Whether a Private Image Needs to be Optimized
- Uninstalling PV Drivers from a Linux ECS
- Changing Disk Identifiers in the GRUB File to UUID
- Changing Disk Identifiers in the fstab File to UUID
- Installing Native Xen and KVM Drivers
- Installing Native KVM Drivers
- Clearing System Logs
- Encrypting Images
- Converting the Image Format
- Windows Operations
- Linux Operations
- Managing Tags
- Managing Quotas
- Auditing Key Operations
-
FAQs
-
Image Consulting
- Basic Concepts
- How Do I Select an Image?
- What Do I Do If I Cannot Find a Desired Image?
- What Are the Differences Between Images and Backups?
- Can I Tailor an Image?
- How Can I Back Up the Current Status of an ECS for Restoration in the Case of a System Fault?
- How Can I Apply a Private Image to an Existing ECS?
- Can I Import Data from a Data Disk Image to a Data Disk?
- Can I Use Private Images of Other Accounts?
- End-of-Support for OSs
-
Image Creation
- General Creation FAQ
- Full-ECS Image FAQ
- Is There Any Difference Between the Image Created from a CSBS/CBR Backup and That Created from an ECS?
- Why Can't I Find an ISO Image When I Want to Use It to Create an ECS or Change the OS of an ECS?
- How Do I Create a Full-ECS Image Using an ECS That Has a Spanned Volume?
- Why Is Sysprep Required for Creating a Private Image from a Windows ECS?
- How Do I Handle the Startup Failure of a Windows ECS Created from a Windows Image Generalized by Sysprep?
- What Do I Do If I Cannot Create an Image in ZVHD2 Format Using an API?
- Image Sharing
- OS
-
Image Import
- Can I Use Images in Formats not Described in This Document?
- What Are the Impacts If I Do Not Pre-configure an ECS Used to Create a Private Image?
- How Do I Import an OVF or OVA File to the Cloud Platform?
- What Do I Do If I Chose the Wrong OS or System Disk Capacity When Registering a Private Image?
- Why Did My VHD Upload Fail? Why Does the System Say the System Disk in the VHD Image File Is Larger Than What I Specified on the Management Console?
-
Image Export
- Can I Download My Private Images to a Local PC?
- Can I Use the System Disk Image of an ECS on a BMS After I Export It from the Cloud Platform?
- Why Is the Image Size in an OBS Bucket Different from That Displayed in IMS?
- Can I Download a Public Image to My PC?
- What Are the Differences Between Import/Export and Fast Import/Export?
- Why the Export Option Is Unavailable for My Image?
-
Image Optimization
- Must I Install Guest OS Drivers on an ECS?
- Why Do I Need to Install and Update VirtIO Drivers for Windows?
- What Will the System Do to an Image File When I Use the File to Register a Private Image?
- How Do I Configure an ECS or an Image File Before I Use It to Create an Image?
- What Do I Do If a Windows Image File Is Not Pre-Configured When I Use It to Register a Private Image?
- What Do I Do If a Linux Image File Is Not Pre-Configured When I Use It to Register a Private Image?
- How Do I Enable NIC Multi-Queue for an Image?
- How Do I Configure an ECS to Use DHCPv6?
- How Do I Make a System Disk Image Support Fast ECS Creation?
- Why Did I Fail to Install Guest OS Drivers on a Windows ECS?
- How Do I Install Native Xen and KVM Drivers?
- Image Replication
- Image Deletion
- Image Encryption
- Accounts and Permissions
- Cloud-Init
-
ECS Creation
- Can I Change the Image of a Purchased ECS?
- Can I Change the Specifications Defined by a Private Image When I Use the Image to Create an ECS?
- Can I Specify the System Disk Capacity When I Create an ECS Using an Image?
- What Do I Do If a Partition Is Not Found During the Startup of an ECS Created from an Imported Private Image?
- What Do I Do If the Disks of a CentOS ECS Created from an Image Cannot Be Found?
- What Do I Do If I Enabled Automatic Configuration During Image Registration for an ECS Created from a Windows Image and Now It Won't Start?
- What Do I Do If an Exception Occurs When I Start an ECS Created from an Image Using UEFI Boot?
-
Driver Installation
- Must I Install Guest OS Drivers on an ECS?
- Why Do I Need to Install and Update VirtIO Drivers for Windows?
- Why Did I Fail to Install Guest OS Drivers on a Windows ECS?
- How Do I Install VirtIO Drivers in Windows?
- How Do I Install Native KVM Drivers in Linux?
- How Do I Install Native Xen and KVM Drivers?
- Image Tags
-
Image Consulting
-
API Reference (Kuala Lumpur Region)
- Before You Start
- API Overview
- Calling APIs
- Getting Started
- IMS APIs
-
Native OpenStack APIs
-
Image (Native OpenStack APIs)
- Querying Images (Native OpenStack API)
- Querying Image Details (Native OpenStack API)
- Updating Image Information (Native OpenStack API)
- Uploading an Image (Native OpenStack API)
- Deleting an Image (Native OpenStack API)
- Creating Image Metadata (Native OpenStack API)
- Deleting an Image (Native OpenStack API v1.1 - Abandoned and Not Recommended)
- Querying Image Metadata (Native OpenStack API v1 - Abandoned and Not Recommended)
- Querying Image Details (Native OpenStack API v1.1 - Abandoned and Not Recommended)
- Image Schema (Native OpenStack APIs)
- Image Sharing (Native OpenStack APIs)
- API Version Query (Native OpenStack API)
-
Image (Native OpenStack APIs)
- Examples
- Permission Policies and Supported Actions
- Common Parameters
- Status Codes
- Error Codes
- Change History
-
User Guide (Ankara Region)
- Overview
- Using IAM to Grant Access to IMS
-
Creating a Private Image
- Introduction
- Creating a System Disk Image from a Windows ECS
- Creating a System Disk Image from a Linux ECS
- Creating a Windows System Disk Image from an External Image File
- Creating a Linux System Disk Image from an External Image File
- Creating a Data Disk Image from an ECS
- Creating a Data Disk Image from an External Image File
- Creating a Full-ECS Image from an ECS
- Creating a Full-ECS Image from a CSBS Backup
- Creating a Full-ECS Image from a CBR Backup
- Creating a Windows System Disk Image from an ISO File
- Creating a Linux System Disk Image from an ISO File
- Fast Import of an Image File
-
Managing Private Images
- Creating an ECS from an Image
- Modifying an Image
- Exporting an Image
- Exporting Image List
- Checking the Disk Capacity of an Image
- Deleting Images
- Sharing Images
- Replicating Images
- Optimizing a Windows Private Image
-
Optimizing a Linux Private Image
- Optimization Process
- Checking Whether a Private Image Needs to be Optimized
- Uninstalling PV Drivers from a Linux ECS
- Changing Disk Identifiers in the GRUB File to UUID
- Changing Disk Identifiers in the fstab File to UUID
- Installing Native Xen and KVM Drivers
- Installing Native KVM Drivers
- Clearing System Logs
- Converting the Image Format
- Windows Operations
- Linux Operations
- Managing Tags
- Managing Quotas
- Auditing Key Operations
-
FAQs
-
Image Consulting
- How Do I Select an Image?
- What Are the Differences Between Images and Backups?
- Can I Tailor an Image?
- How Can I Back Up the Current Status of an ECS for Restoration in the Case of a System Fault?
- How Can I Apply a Private Image to an Existing ECS?
- Can I Import Data from a Data Disk Image to a Data Disk?
- Can I Use Private Images of Other Accounts?
-
Image Creation
- General Creation FAQ
- Full-ECS Image FAQ
- Is There Any Difference Between the Image Created from a CSBS/CBR Backup and That Created from an ECS?
- Why Can't I Find an ISO Image When I Want to Use It to Create an ECS or Change the OS of an ECS?
- How Do I Create a Full-ECS Image Using an ECS That Has a Spanned Volume?
- Why Is Sysprep Required for Creating a Private Image from a Windows ECS?
- How Do I Handle the Startup Failure of a Windows ECS Created from a Windows Image Generalized by Sysprep?
- What Do I Do If I Cannot Create an Image in ZVHD2 Format Using an API?
- Image Sharing
-
OS
- How Do I Select an OS?
- How Is BIOS Different from UEFI?
- How Do I Delete Redundant Network Connections from a Windows ECS?
- What Do I Do If an ECS Starts Slowly?
- What Do I Do If the One-Click Password Resetting Plug-In Failed to Start?
- What Do I Do If a Windows 7 ECS Equipped with an Intel 82599 NIC Reports an Error in SR-IOV Scenarios?
- Why Can't I Find My Private Image When I Want to Use It to Create an ECS or Change the OS of an ECS?
-
Image Import
- Can I Use Images in Formats not Described in This Document?
- What Are the Impacts If I Do Not Pre-configure an ECS Used to Create a Private Image?
- What Do I Do If I Chose the Wrong OS or System Disk Capacity When Registering a Private Image?
- Why Did My VHD Upload Fail? Why Does the System Say the System Disk in the VHD Image File Is Larger Than What I Specified on the Management Console?
-
Image Export
- Can I Download My Private Images to a Local PC?
- Can I Use the System Disk Image of an ECS on a BMS After I Export It from the Cloud Platform?
- Why Is the Image Size in an OBS Bucket Different from That Displayed in IMS?
- Can I Download a Public Image to My PC?
- Why the Export Option Is Unavailable for My Image?
-
Image Optimization
- Must I Install Guest OS Drivers on an ECS?
- Why Do I Need to Install and Update VirtIO Drivers for Windows?
- What Will the System Do to an Image File When I Use the File to Register a Private Image?
- How Do I Configure an ECS or an Image File Before I Use It to Create an Image?
- What Do I Do If a Windows Image File Is Not Pre-Configured When I Use It to Register a Private Image?
- What Do I Do If a Linux Image File Is Not Pre-Configured When I Use It to Register a Private Image?
- How Do I Enable NIC Multi-Queue for an Image?
- How Do I Configure an ECS to Use DHCPv6?
- How Do I Make a System Disk Image Support Fast ECS Creation?
- Why Did I Fail to Install Guest OS Drivers on a Windows ECS?
- How Do I Install Native Xen and KVM Drivers?
- Image Replication
- Image Deletion
- Image Encryption
- Cloud-Init
-
ECS Creation
- Can I Change the Image of a Purchased ECS?
- Can I Change the Specifications Defined by a Private Image When I Use the Image to Create an ECS?
- Can I Specify the System Disk Capacity When I Create an ECS Using an Image?
- What Do I Do If a Partition Is Not Found During the Startup of an ECS Created from an Imported Private Image?
- What Do I Do If the Disks of a CentOS ECS Created from an Image Cannot Be Found?
- What Do I Do If I Enabled Automatic Configuration During Image Registration for an ECS Created from a Windows Image and Now It Won't Start?
- What Do I Do If an Exception Occurs When I Start an ECS Created from an Image Using UEFI Boot?
-
Driver Installation
- Must I Install Guest OS Drivers on an ECS?
- Why Do I Need to Install and Update VirtIO Drivers for Windows?
- Why Did I Fail to Install Guest OS Drivers on a Windows ECS?
- How Do I Install VirtIO Drivers in Windows?
- How Do I Install Native KVM Drivers in Linux?
- How Do I Install Native Xen and KVM Drivers?
- Image Tags
-
Image Consulting
-
API Reference (Ankara Region)
- Before You Start
- API Overview
- Calling APIs
- Getting Started
- IMS APIs
-
Native OpenStack APIs
-
Image (Native OpenStack APIs)
- Querying Images (Native OpenStack API)
- Querying Image Details (Native OpenStack API)
- Updating Image Information (Native OpenStack API)
- Uploading an Image (Native OpenStack API)
- Deleting an Image (Native OpenStack API)
- Creating Image Metadata (Native OpenStack API)
- Deleting an Image (Native OpenStack API v1.1 - Abandoned and Not Recommended)
- Querying Image Metadata (Native OpenStack API v1 - Abandoned and Not Recommended)
- Querying Image Details (Native OpenStack API v1.1 - Abandoned and Not Recommended)
- Image Schema (Native OpenStack APIs)
- Image Sharing (Native OpenStack APIs)
- API Version Query (Native OpenStack API)
-
Image (Native OpenStack APIs)
- Examples
- Permission Policies and Supported Actions
- Common Parameters
- Status Codes
- Error Codes
- Change History
-
User Guide (ME-Abu Dhabi Region)
Copiado.
Importando rapidamente um arquivo de imagem (Linux)
Cenários
Esta seção descreve como converter o formato de um arquivo de imagem em um servidor Linux e, em seguida, importá-lo rapidamente para a plataforma de nuvem. É aconselhável usar um EulerOS ECS para converter formatos de arquivo de imagem e gerar arquivos bitmap.
No Linux, é aconselhável usar qemu-img-hw para converter formatos de imagem.
Pré-requisitos
- O arquivo de imagem foi otimizado. Para obter detalhes, consulte Processo de otimização (Windows) ou Processo de otimização (Linux). Verifique se o arquivo de imagem atende aos requisitos em Tabela 1 (Windows) ou Tabela 1 (Linux).
Selecione o conteúdo de referência com base no tipo de SO no arquivo de imagem.
- Você criou um ECS executando o EulerOS no console de gerenciamento e vinculou um EIP ao ECS.
- Um bucket do OBS foi criado no console de gerenciamento.
Procedimento
- Carregue um arquivo de imagem.
- Se o arquivo de imagem for carregado de um PC Linux, execute o comando scp.
Por exemplo, para carregar image01.qcow2 no diretório /usr/ do ECS, execute o seguinte comando:
scp /var/image01.qcow2 root@xxx.xxx.xx.xxx:/usr/
xxx.xxx.xx.xxx indica o EIP vinculado ao ECS.
- Se o arquivo de imagem for carregado de um PC com Windows, use uma ferramenta de transferência de arquivos, como o WinSCP, para carregar o arquivo de imagem.
- Se o arquivo de imagem for carregado de um PC Linux, execute o comando scp.
- Obtenha a ferramenta de conversão de imagens (qemu-img-hw.zip) e a ferramenta de geração de arquivos bitmap (createMF.zip), carregue-as no ECS e descompacte os pacotes.
Tabela 1 Pacotes de ferramentas Pacotes de ferramentas
Como Obter
qemu-img-hw.zip
https://cn-south-1-cloud-reset-pwd.obs.cn-south-1.myhuaweicloud.com/imageImportTools/qemu-img-hw.zip
createMF.zip
https://cn-south-1-cloud-reset-pwd.obs.cn-south-1.myhuaweicloud.com/imageImportTools/createMF.zip
- Use qemu-img-hw para converter o formato da imagem.
- Vá para o diretório onde qemu-img-hw está armazenado, por exemplo, /usr/qemu-img-hw.
cd /usr/qemu-img-hw
- Execute o seguinte comando para tornar qemu-img-hw executável:
chmod +x qemu-img-hw
- Execute qemu-img-hw para converter o formato do arquivo de imagem para ZVHD2 (recomendado) ou RAW.
Formato do comando:
./qemu-img-hw convert -p -O Formato_imagem_alvo Arquivo_imagem_fonte Arquivo_imagem_alvo
Por exemplo, execute o seguinte comando para converter um arquivo image01.qcow2 para um arquivo image01.zvhd2:
./qemu-img-hw convert -p -O zvhd2 image01.qcow2 image01.zvhd2
- Vá para o diretório onde qemu-img-hw está armazenado, por exemplo, /usr/qemu-img-hw.
- Use CreateMF.jar para gerar um arquivo bitmap.
- Verifique se o JDK foi instalado no ECS.
Execute os seguintes comandos para verificar se o JDK está instalado:
source /etc/profile
java -version
Se uma versão do Java for exibida, o JDK foi instalado.
- Execute o seguinte comando para entrar no diretório em que CreateMF.jar está armazenado:
cd /usr/createMF
- Execute o seguinte comando para gerar um arquivo bitmap:
java -jar CreateMF.jar /Original RAW file path/Generated .mf file path
Exemplo:
java -jar CreateMF.jar image01.raw image01.mf
O arquivo bitmap gerado.mf deve ter o mesmo nome que o arquivo de imagem RAW. Por exemplo, se o nome do arquivo de imagem for image01.raw, o nome de bitmap gerado é image01.mf.
- Verifique se o JDK foi instalado no ECS.
- Use s3cmd para fazer upload do(s) arquivo(s) em um bucket do OBS.
- Instale s3cmd no ECS.
Se s3cmd tiver sido instalado, pule este passo.
- Execute o seguinte comando para instalar o setuptools:
- Execute o seguinte comando para instalar o wget:
- Execute os seguintes comandos para obter o pacote de software s75pxd:
wget https://github.com/s3tools/s3cmd/archive/master.zip
mv master.zip s3cmd-master.zip
- Execute os seguintes comandos para instalar s3cmd:
unzip s3cmd-master.zip
cd s3cmd-master
python setup.py install
- Configure s3cmd.
Execute o seguinte comando para configurar s3cmd:
s3cmd --configure Access Key: Enter an AK. Secret Key: Enter an SK. Default Region: Enter the region where the bucket is located. S3 Endpoint: Refer to the OBS endpoint. DNS-style bucket+hostname:port template for accessing a bucket: Enter a server address with a bucket name, for example, mybucket.obs.myclouds.com. Encryption password: Press Enter. Path to GPG program: Press Enter. Use HTTPS protocol: Specifies whether to use HTTPS. The value can be Yes or No. HTTP Proxy server name: Specifies the proxy address used to connect the cloud from an external network. (If you do not need it, press Enter.) HTTP Proxy server port: Specifies the proxy port used to connect to the cloud from an external network (If you do not need it, press Enter.) Test access with supplied credentials? y (If "Success. Your access key and secret key worked fine :-)" is displayed, the connection is successful.) Save settings? y (Specifies whether to save the configurations. If you enter y, the configuration will be saved.)
As configurações serão armazenadas em /root/.s3cfg. Se você quiser modificar essas configurações, execute o comando s3cmd --configure para configurar os parâmetros ou execute o comando vi .s3cfg para editar o arquivo .s3cfg.
- Execute o comando a seguir para carregar o arquivo de imagem ZVHD2 (ou o arquivo de imagem RAW e seu arquivo bitmap) em um bucket do OBS.
s3cmd put image01.zvhd2 s3://mybucket/
O arquivo .mf bitmap deve estar no mesmo intervalo do OBS que o arquivo de imagem RAW.
- Instale s3cmd no ECS.
- Registre uma imagem privada.
Você pode registrar uma imagem privada usando o arquivo ZVHD2 ou RAW convertido no console ou usando uma API.
Método 1: Registre uma imagem privada no console.
- Acesse o console do IMS.
- Acesse o console de gerenciamento.
- Em Compute, clique em Image Management Service.
O console do IMS é exibido.
- No canto superior direito, clique em Create Image.
- Na área Image Type and Source, selecione System disk image ou Data disk image para Type.
- Selecione Image File para Source. Selecione o bucket que armazena o arquivo de imagem ZVHD2 ou RAW e, em seguida, selecione o arquivo de imagem. Se o arquivo de imagem estiver no formato RAW, você também precisará selecionar seu arquivo bitmap.
- Selecione Enable Fast Create, e selecione a frase a seguir Image File Preparation.
Figura 1 Importando rapidamente um arquivo de imagem
- Defina os parâmetros conforme solicitado.
Para obter detalhes sobre os parâmetros, consulte Registrando um arquivo de imagem externo como uma imagem privada e Registrando um arquivo de imagem como uma imagem privada.
Método 2: Registre uma imagem privada usando uma API.
Você pode usar a API POST /v2/cloudimages/quickimport/action para importar rapidamente um arquivo de imagem.
Para obter detalhes sobre como chamar essa API, consulte Importando um arquivo de imagem rapidamente.
- Acesse o console do IMS.
Apêndice 1: Comandos comuns do qemu-img-hw
- Convertendo formatos de arquivo de imagem: qemu-img-hw convert -p -O Formato_imagem_alvo Arquivo_imagem_fonte Arquivo_imagem_alvo
Os parâmetros são descritos como segue:
-p: indica o progresso da conversão.
A parte que segue -O (que deve estar em maiúsculas) consiste no formato de imagem de destino, arquivo de imagem de origem e arquivo de imagem de destino.
Por exemplo, execute o seguinte comando para converter um arquivo de imagem QCOW2 em um arquivo ZVHD2:
qemu-img-hw convert -p -O zvhd2 test.qcow2 test.zvhd2
- Consultando informações do arquivo de imagem: qemu-img-hw info Arquivo de imagem de origem
Um exemplo de comando é qemu-img-hw info test.zvhd2.
- Exibindo informações de ajuda: qemu-img-hw –help
Apêndice 2: Erros comuns durante a execução do qemu-img-hw
- Sintoma:
As seguintes informações são exibidas quando você executa o comando qemu-img-hw:
./qemu-img-hw: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./qemu-img-hw)
Solução:
Execute o comando strings /lib64/libc.so.6 | grep glibc para verificar a versão da glibc. Se a versão for muito cedo, instale a versão mais recente. Execute os seguintes comandos em sequência:
wget http://ftp.gnu.org/gnu/glibc/glibc-2.15.tar.gz
wget http://ftp.gnu.org/gnu/glibc/glibc-ports-2.15.tar.gz
tar -xvf glibc-2.15.tar.gz
tar -xvf glibc-ports-2.15.tar.gz
mv glibc-ports-2.15 glibc-2.15/ports
mkdir glibc-build-2.15
cd glibc-build-2.15
../glibc-2.15/configure --prefix=/usr --disable-profile --enable-add-ons --with-headers=/usr/include --with-binutils=/usr/bin
Se configure: error: no acceptable C compiler found in $PATH for exibido, execute o comando yum -y install gcc.
make
make install
- Sintoma:
As seguintes informações são exibidas quando você executa o comando qemu-img-hw:
./qemu-img-hw: error while loading shared libraries: libaio.so.1: cannot open shared object file: Nenhum arquivo ou diretório
Solução: Execute o comando yum install libaio primeiro.