- Visão geral de serviço
-
Guia de usuário
- Gerenciamento de permissões
-
Gerenciamento de cofre
- Consulta de um cofre
- Exclusão de um cofre
- Dissociação de um recurso
- Migração de um recurso
- Expansão da capacidade do cofre
- Redução da capacidade do cofre
- Alteração do modo de cobrança de pagamento por uso para anual/mensal
- Alteração de especificações do cofre
- Replicação de um cofre
- Gerenciamento de tags do cofre
- Gerenciamento dos projetos empresariais de cofres
- Gerenciamento de backup
- Gerenciamento de políticas
- Restauração de dados
- Backup consistente com a aplicação
-
Backup de arquivos
- O que é backup de arquivos?
- Processo de backup de arquivos
- Criação de um cofre de backup em nuvem híbrida
- Download e instalação do Agente
- Configuração de cofre
- Adição de diretórios
- Criação de backups de arquivos
- Restauração de dados usando um backup de arquivo
- Desinstalação do Agente
- Casos de resolução de problemas
- (Opcional) Migração de recursos do CSBS/VBS
- Gerenciamento de tarefas
- Monitoramento
- Auditoria
- Cotas
- Apêndice
- Referência de API
- Primeiros passos
-
Perguntas frequentes
-
Conceitos
- O que backup completo e backup incremental são?
- Quais são as diferenças entre backup e recuperação de desastres?
- Quais são as diferenças entre backups e snapshots?
- Por que o tamanho do meu backup é maior que o tamanho do meu disco?
- Quais são as diferenças entre backups e imagens?
- Quais são as diferenças entre o backup de servidor em nuvem e o backup de disco em nuvem?
- Por que a capacidade usada de um cofre só muda ligeiramente depois da exclusão de backups indesejados?
-
Cobrança
- Como o CBR é cobrado?
- Qual o tamanho de um cofre que preciso?
- Qual é o ciclo de cobrança e o tempo de pagar do modo pagamento por uso?
- Como desativar o CBR?
- Como cancelar a assinatura de pacotes de recursos do CSBS ou VBS?
- Por que uma mensagem exibida indicando direitos de usuário insuficientes quando criar uma política?
- O que fazer se um cofre de cobrança anual/mensal estiver prestes a expirar?
- Como cancelar a assinatura de um cofre?
- O que fazer se a taxa for muito alta ao expandir a capacidade de um cofre?
- Posso alterar um cofre de backup de servidor para um cofre de backup de disco ou o contrário?
- Por que os backups do CBR são exibidos no console do VBS?
- Quais itens serão cobrados ao usar um backup para criar uma imagem
- Como adquirir um pacote de tráfego de replicação do CBR?
- Posso alterar o tipo de proteção de um cofre existente?
- Quais recursos preciso comprar para backup de replicação entre regiões?
-
Backup
- Preciso parar o servidor antes de executar um backup?
- Posso fazer backup de um servidor implementado com bancos de dados?
- Como distinguir backups automáticos de backups manuais?
- Posso optar por fazer backup apenas de algumas partições de um disco?
- O CBR oferece suporte ao backup entre regiões?
- Como migrar dados do servidor entre regiões usando backups de servidor?
- Posso fazer backup de dois discos em um disco de destino?
- Como replicar um disco para a mesma AZ em uma região que o disco de origem?
- Posso migrar backups entre cofres?
- O desempenho do servidor será afetado se excluir seus backups?
- Posso usar seu backup para restauração depois que um recurso é excluído?
- Quantos backups posso criar para um recurso?
- Posso usar um backup incremental para restaurar dados após um backup completo ser excluído?
- Posso parar uma tarefa de backup em andamento?
- Como reduzir o espaço do cofre ocupado por backups?
- Como exibir o tamanho de cada backup?
- Como visualizar meus dados de backup?
- Por quanto tempo meus backups serão mantidos?
- Como implementar backups completos periódicos para meus recursos?
-
Restauração
- Preciso parar o servidor antes de restaurar dados usando backups?
- Posso usar um backup em disco do sistema para recuperar um ECS?
- Preciso parar o servidor antes de restaurar dados usando backups em disco?
- Um servidor pode ser restaurado usando seus backups após ser alterado?
- Um disco pode ser restaurado usando seus backups depois que sua capacidade é expandida?
- O que fazer se a senha se tornar aleatória depois de usar um backup para restaurar um servidor ou usar uma imagem para criar um servidor?
- Que alterações serão feitas no backup original quando usar o backup para restaurar um servidor?
- Como restaurar dados no servidor original para um novo?
- Como restaurar um backup de disco de dados para um disco do sistema?
- Posso usar o CBR para restaurar dados para qualquer ponto quando os dados foram copiados?
- Posso parar uma tarefa de restauração em andamento?
-
Políticas
- Como configurar o backup automático para um servidor ou disco?
- Por que a regra de retenção não entra em vigor depois de ser alterada?
- Como fazer backup de vários recursos por vez?
- Como manter meus backups permanentemente?
- Como cancelar o backup automático ou a replicação automática?
- Como fazer com que o sistema exclua automaticamente os backups que não preciso mais?
- Por que meus backups não são excluídos com base na regra de retenção?
- Optimização
-
Outros
- Existe uma cota para cofres do CBR?
- Posso mesclar meus cofres?
- Como excluir um backup que foi usado para criar uma imagem enquanto mantém a imagem?
- O que fazer se a capacidade do cofre não for suficiente?
- O backup continuará se o uso de um cofre atingir o limite superior?
- Posso exportar dados de backup de disco para outro servidor?
- Como reduzir a capacidade do meu cofre?
- Por que preciso de um cofre para aceitar a imagem compartilhada comigo?
- Posso baixar dados de backup para um PC local?
- Como copiar dados de disco para outra conta?
- O que fazer se receber um e-mail ou uma mensagem SMS indicando uma falha de backup?
-
Conceitos
- 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
- Product Bulletin
-
Billing
- Billing Overview
- Billing Modes
- Billed Items
- Billing Examples
- Billing Mode Changes
- Renewing Subscriptions
- Bills
- Arrears
- Billing Termination
- Cost Management
-
Billing FAQ
- How Is CBR Billed?
- What Is the Billing Cycle of Pay-per-Use Vaults?
- How Do I Disable CBR?
- How Do I Unsubscribe from CSBS or VBS Resource Packages?
- Why Is a Message Displayed Indicating Insufficient User Rights When I Create a Policy?
- What Can I do If a Yearly/Monthly-Billed Vault Is About to Expire?
- How Do I Unsubscribe from a Vault?
- What Should I Do If the Fee Is Too High When I Expand the Capacity of a Vault?
- Why Are CBR Backups Displayed on the VBS Console?
- How Do I Purchase a CBR Replication Traffic Package?
- What Resources Do I Need to Implement Cross-Region Backup Replication?
- Why AM I Still Being Billed After a Resource is Deleted?
-
Hybrid Cloud Backup Feature Guide
- Hybrid Cloud Backup
- Application Scenarios
- Constraints and Limitations
-
VMware Backup
- VMware Backup Process
- Downloading and Installing eBackup
- Configuring eBackup
- Adding a VMware Protected Environment
- Preparing for VMware Backup Storage
- Performing VMware Backup
- Restoring Data Using VMware Backups
- Managing a Protected VMware Environment
- Managing VMware Backup Storage
- Managing VMware Backups
- Common Operations
-
Best Practices
-
Using a Custom Script to Implement Application-Consistent Backup
- Using a Custom Script to Implement Consistent Backup for MySQL
- Using a Custom Script to Implement Consistent Backup for SAP HANA
- Using a Custom Script to Implement Consistent Backup for Other Linux Applications
- Verifying the Application-Consistent Backup Result
- Protecting SQL Server
- Troubleshooting a Custom Script Error
- Performing Periodic Recovery Drills Using the Backup Data
- Creating Backup Policies Based on Service Tiering
-
Using a Custom Script to Implement Application-Consistent Backup
- SDK Reference
-
Troubleshooting
- Failed to Execute a Backup Task
- Failed to Delete a Backup
- Failed to Expand the Vault Capacity
- Failed to Attach Disks
- Data Disks Are Not Displayed After a Windows Server Is Restored
- Failed to Cancel Backup Sharing
- Failed to Download or Install the Agent Required by Application-Consistent
- Failed to Install the Agent on Windows
- Failed to Implement Application-Consistent Backup
- A Server Created Using an Image Enters Maintenance Mode After Login
- Failed to Migrate VMware Backups to the Cloud
- Failed to Restore a VMware Backup to a Cloud Server
- An Error Message Is Displayed Indicating that the Path of a Storage Unit Is Invalid
- Failed to Import an eBackup Image Template, with an Error Displayed Indicating That the File Is Invalid
- The Download Dialog Box Disappears When I Download eBackup on a VMware VM
- File Backup Failed Due to Inconsistent Time Between Backup Client and UTC Time
- Videos
-
More Documents
-
User Guide (ME-Abu Dhabi Region)
- Service Overview
- Getting Started
- Vault Management
- Backup Management
- Policy Management
- Restoring Data
- Managing Tasks
- Monitoring
- Quotas
-
FAQs
- Concepts
- Billing
-
Backup
- Do I Need to Stop the Server Before Performing a Backup?
- Can I Back Up a Server Deployed with Databases?
- How Can I Distinguish Automatic Backups From Manual Backups?
- Can I Choose to Back Up Only Some Partitions of a Disk?
- Does CBR Support Cross-Region Backup?
- Can I Back Up Two Disks to One Target Disk?
- How Do I Replicate a Disk to the Same AZ in a Region as the Source Disk?
- Will the Server Performance Be Affected If I Delete Its Backups?
- Can I Use Its Backup for Restoration After a Resource Is Deleted?
- How Many Backups Can I Create for a Resource?
- Can I Use an Incremental Backup to Restore Data After a Full Backup Is Deleted?
- Can I Stop an Ongoing Backup Task?
- How Do I Reduce the Vault Space Occupied by Backups?
- How Do I View the Size of Each Backup?
- How Do I View My Backup Data?
- How Long Will My Backups Be Kept?
- Capacity
-
Restoration
- Do I Need to Stop the Server Before Restoring Data Using Backups?
- Can I Use a System Disk Backup to Recover an ECS?
- Do I Need to Stop the Server Before Restoring Data Using Disk Backups?
- Can a Server Be Restored Using Its Backups After It Is Changed?
- Can a Disk Be Restored Using Its Backups After Its Capacity Is Expanded?
- What Can I Do if the Password Becomes a Random One After I Use a Backup to Restore a Server or Use an Image to Create a Server?
- What Changes Will Be Made to the Original Backup When I Use the Backup to Restore a Server?
- How Do I Restore Data to a New Server?
- Can I Stop an Ongoing Restoration Task?
-
Policies
- How Do I Configure Automatic Backup for a Server or Disk?
- Why the New Retention Rule I Changed Is Not Applied?
- How Do I Back Up Multiple Resources at a Time?
- How Do I Retain My Backups Permanently?
- How Can I Cancel Auto Backup?
- How Can I Have the System Automatically Delete Backups That I No Longer Need?
- Why Aren't My Backups Deleted Based on the Retention Rule?
- Optimization
-
Others
- Is There a Quota for CBR Vaults?
- Can I Merge My Vaults?
- How Do I Delete a Backup That Has Been Used to Create an Image While Retaining the Image?
- Can I Export Disk Backup Data to Another Server?
- Why Do I Need a Vault to Accept the Image Shared to Me?
- Can I Download Backup Data to a Local PC?
- How Do I Copy Disk Data to Another Account?
- Troubleshooting Cases
- Appendix
- API Reference (ME-Abu Dhabi Region)
-
Best Practices (ME-Abu Dhabi Region)
-
Using a Custom Script to Implement Application-Consistent Backup
- Using a Custom Script to Implement Consistent Backup for MySQL
- Using a Custom Script to Implement Consistent Backup for SAP HANA
- Using a Custom Script to Implement Consistent Backup for Other Linux Applications
- Troubleshooting a Custom Script Error
- Verifying the Application-Consistent Backup Result (Linux)
- Verifying the Application-Consistent Backup Result (Windows)
- Protecting SQL Server in Failover Cluster Mode
- Protecting SQL Server in Always on Availability Groups Mode
- Change History
-
Using a Custom Script to Implement Application-Consistent Backup
-
User Guide (Paris)
- Service Overview
- Getting Started
- Vault Management
- Backup Management
- Policy Management
- Restoring Data
- Application-Consistent Backup
- (Optional) Migrating Resources from CSBS/VBS
- Managing Tasks
- Monitoring
- Auditing
- Quotas
-
FAQs
- Concepts
-
Backup
- Do I Need to Stop the Server Before Performing a Backup?
- Can I Back Up a Server Deployed with Databases?
- How Can I Distinguish Automatic Backups From Manual Backups?
- Can I Choose to Back Up Only Some Partitions of a Disk?
- Does CBR Support Cross-Region Backup?
- Can I Back Up Two Disks to One Target Disk?
- How Do I Replicate a Disk to the Same AZ in a Region as the Source Disk?
- Will the Server Performance Be Affected If I Delete Its Backups?
- Can I Use Its Backup for Restoration After a Resource Is Deleted?
- How Many Backups Can I Create for a Resource?
- Can I Use an Incremental Backup to Restore Data After a Full Backup Is Deleted?
- Can I Stop an Ongoing Backup Task?
- How Do I Reduce the Vault Space Occupied by Backups?
- How Do I View the Size of Each Backup?
- How Do I View My Backup Data?
- How Long Will My Backups Be Kept?
- Capacity
-
Restoration
- Do I Need to Stop the Server Before Restoring Data Using Backups?
- Can I Use a System Disk Backup to Recover an ECS?
- Do I Need to Stop the Server Before Restoring Data Using Disk Backups?
- Can a Server Be Restored Using Its Backups After It Is Changed?
- Can a Disk Be Restored Using Its Backups After Its Capacity Is Expanded?
- What Can I Do if the Password Becomes a Random One After I Use a Backup to Restore a Server or Use an Image to Create a Server?
- What Changes Will Be Made to the Original Backup When I Use the Backup to Restore a Server?
- How Do I Restore Data to a New Server?
- How Do I Restore a Data Disk Backup to a System Disk?
- Can I Stop an Ongoing Restoration Task?
-
Policies
- How Do I Configure Automatic Backup for a Server or Disk?
- Why the New Retention Rule I Changed Is Not Applied?
- How Do I Back Up Multiple Resources at a Time?
- How Do I Retain My Backups Permanently?
- How Can I Cancel Auto Backup or Auto Replication?
- How Can I Have the System Automatically Delete Backups That I No Longer Need?
- Why Aren't My Backups Deleted Based on the Retention Rule?
- Optimization
-
Others
- Is There a Quota for CBR Vaults?
- Can I Merge My Vaults?
- How Do I Delete a Backup That Has Been Used to Create an Image While Retaining the Image?
- Can I Export Disk Backup Data to Another Server?
- Why Do I Need a Vault to Accept the Image Shared to Me?
- Can I Download Backup Data to a Local PC?
- How Do I Copy Disk Data to Another Account?
- Troubleshooting Cases
- Appendix
- API Reference (Paris)
-
Best Practices (Paris)
-
Using a Custom Script to Implement Application-Consistent Backup
- Using a Custom Script to Implement Consistent Backup for MySQL
- Using a Custom Script to Implement Consistent Backup for SAP HANA
- Using a Custom Script to Implement Consistent Backup for Other Linux Applications
- Troubleshooting a Custom Script Error
- Verifying the Application-Consistent Backup Result (Linux)
- Verifying the Application-Consistent Backup Result (Windows)
- Protecting SQL Server in Failover Cluster Mode
- Protecting SQL Server in Always on Availability Groups Mode
- Performing Periodic Recovery Drills Using the Backup Data
- Creating Backup Policies Based on Service Tiering
- Change History
-
Using a Custom Script to Implement Application-Consistent Backup
-
User Guide (Kuala Lumpur Region)
- Service Overview
- Getting Started
- Permissions Management
- Vault Management
- Backup Management
- Policy Management
- Restoring Data
- Application-Consistent Backup
- Managing Tasks
- Monitoring
- Quotas
-
FAQs
- Concepts
-
Backup
- Do I Need to Stop the Server Before Performing a Backup?
- Can I Back Up a Server Deployed with Databases?
- How Can I Distinguish Automatic Backups From Manual Backups?
- Can I Choose to Back Up Only Some Partitions of a Disk?
- Does CBR Support Cross-Region Backup?
- Will the Server Performance Be Affected If I Delete Its Backups?
- Can I Use Its Backup for Restoration After a Resource Is Deleted?
- How Many Backups Can I Create for a Resource?
- Can I Stop an Ongoing Backup Task?
-
Restoration
- Do I Need to Stop the Server Before Restoring Data Using Backups?
- Can I Use a System Disk Backup to Recover an ECS?
- Do I Need to Stop the Server Before Restoring Data Using Disk Backups?
- Can a Server Be Restored Using Its Backups After It Is Changed?
- Can a Disk Be Restored Using Its Backups After Its Capacity Is Expanded?
- What Can I Do if the Password Becomes a Random One After I Use a Backup to Restore a Server or Use an Image to Create a Server?
- What Changes Will Be Made to the Original Backup When I Use the Backup to Restore a Server?
- Can I Stop an Ongoing Restoration Task?
- Policies
- Others
- Troubleshooting Cases
- Appendix
- API Reference (Kuala Lumpur Region)
-
Best Practices (Kuala Lumpur Region)
-
Using a Custom Script to Implement Application-Consistent Backup
- Using a Custom Script to Implement Consistent Backup for MySQL
- Using a Custom Script to Implement Consistent Backup for SAP HANA
- Using a Custom Script to Implement Consistent Backup for Other Linux Applications
- Troubleshooting a Custom Script Error
- Verifying the Application-Consistent Backup Result (Linux)
- Verifying the Application-Consistent Backup Result (Windows)
- Protecting SQL Server in Failover Cluster Mode
- Protecting SQL Server in Always on Availability Groups Mode
- Change History
-
Using a Custom Script to Implement Application-Consistent Backup
-
User Guide (Ankara Region)
- Service Overview
- Getting Started
- Permissions Management
- Vault Management
- Backup Management
- Policy Management
- Restoring Data
- Application-Consistent Backup
- Managing Tasks
- Monitoring
- Quotas
-
FAQs
- Concepts
-
Backup
- Do I Need to Stop the Server Before Performing a Backup?
- Can I Back Up a Server Deployed with Databases?
- How Can I Distinguish Automatic Backups From Manual Backups?
- Can I Choose to Back Up Only Some Partitions of a Disk?
- Does CBR Support Cross-Region Backup?
- Will the Server Performance Be Affected If I Delete Its Backups?
- Can I Use Its Backup for Restoration After a Resource Is Deleted?
- How Many Backups Can I Create for a Resource?
- Can I Stop an Ongoing Backup Task?
- Capacity
-
Restoration
- Do I Need to Stop the Server Before Restoring Data Using Backups?
- Can I Use a System Disk Backup to Recover an ECS?
- Do I Need to Stop the Server Before Restoring Data Using Disk Backups?
- Can a Server Be Restored Using Its Backups After It Is Changed?
- Can a Disk Be Restored Using Its Backups After Its Capacity Is Expanded?
- What Can I Do if the Password Becomes a Random One After I Use a Backup to Restore a Server or Use an Image to Create a Server?
- What Changes Will Be Made to the Original Backup When I Use the Backup to Restore a Server?
- Can I Stop an Ongoing Restoration Task?
- Policies
- Others
- Troubleshooting Cases
- Appendix
- API Reference (Ankara Region)
-
Best Practices (Ankara Region)
-
Using a Custom Script to Implement Application-Consistent Backup
- Using a Custom Script to Implement Consistent Backup for MySQL
- Using a Custom Script to Implement Consistent Backup for SAP HANA
- Using a Custom Script to Implement Consistent Backup for Other Linux Applications
- Troubleshooting a Custom Script Error
- Verifying the Application-Consistent Backup Result (Linux)
- Verifying the Application-Consistent Backup Result (Windows)
- Protecting SQL Server in Failover Cluster Mode
- Protecting SQL Server in Always on Availability Groups Mode
- Change History
-
Using a Custom Script to Implement Application-Consistent Backup
-
User Guide (ME-Abu Dhabi Region)
- Glossary
- Ubuntu 16.04/CentOS 7: falhou ao definir a inicialização automática do Cloud-Init
- Ubuntu14.04: chkconfig e systemctl não instalados
- Debian 9.5: falhou ao consultar a versão do Cloud-Init e definir a inicialização automática
- CentOS 7/Fedora 28: compilador C necessário não instalado
- CentOS 7/Fedora: falhou ao usar a nova senha para fazer logon no servidor criado de um backup após a instalação do Cloud-Init com êxito
Mostrar todos
Copiado.
Quais são os problemas comuns durante a instalação do Cloud-Init?
Recomendamos que você instale o Cloud-Init após a restauração para garantir que o novo servidor restaurado usando backups ofereça suporte a configurações personalizadas.
Para instalar o Cloud-Init, consulte Instalação do Cloud-Init.
Para configurar o Cloud-Init, consulte Configuração do Cloud-Init.
Esta seção ilustra as perguntas frequentes encontradas ao instalar o Cloud-Init e suas soluções.
Ubuntu 16.04/CentOS 7: falhou ao definir a inicialização automática do Cloud-Init
- Sintoma
Depois que o Cloud-Init for instalado, execute o seguinte comando para definir a inicialização automática do Cloud-Init:
systemctl enable cloud-init-local.service cloud-init.service cloud-config.service cloud-final.service
Informação semelhante à seguinte foi exibida:
Figura 1 Falhou ao definir a inicialização automática do Cloud-Init - Solução
- Execute o seguinte comando:
systemctl unmask cloud-init-local.service cloud-init.service cloud-config.service cloud-final.service
- Execute os seguintes comandos para definir a inicialização automática novamente:
systemctl enable cloud-init-local.service cloud-init.service cloud-config.service cloud-final.service
- Execute os seguintes comandos para verificar o status do Cloud-Init:
systemctl status cloud-init-local.service cloud-init.service cloud-config.service cloud-final.service
Conforme mostrado nas figuras a seguir, failed é exibido e todos os serviços estão no estado inactive.
Isso ocorre porque o endereço que o sistema usa para acessar o Cloud-Init é redirecionado para /usr/bin/, mas o caminho de instalação real é /usr/local/bin.
Figura 2 Verificar o status do Cloud-InitFigura 3 Verificar o status do Cloud-Init - Execute o comando cp /usr/local/cloud-init /usr/bin/ para copiar o arquivo cloud-init para o diretório usr/bin e execute o seguinte comando para reiniciar o Cloud-Init:
# systemctl restart cloud-init-local.service cloud-init.service cloud-config.service cloud-final.service
Figura 4 Reiniciar o Cloud-Init - Execute os seguintes comandos para verificar o status do Cloud-Init:
systemctl status cloud-init-local.service cloud-init.service cloud-config.service cloud-final.service
- Execute o seguinte comando:
Ubuntu14.04: chkconfig e systemctl não instalados
- Sintoma
- Solução
Execute os seguintes comandos para instalar o chkconfig:
# apt-get update
# apt-get install sysv-rc-conf
# cp /usr/sbin/sysv-rc-conf /usr/sbin/chkconfig
Após a conclusão da instalação, execute o seguinte comando para consultar a versão do Cloud-Init:
cloud-init -v
Informação semelhante à seguinte foi exibida:
-bash:/usr/bin/cloud-init:not found this command
Solução: execute o seguinte comando para copiar o arquivo cloud-init para o diretório usr/bin:
# cp /usr/local/bin/cloud-init /usr/bin/
Debian 9.5: falhou ao consultar a versão do Cloud-Init e definir a inicialização automática
- Depois que o Cloud-Init for instalado, execute o seguinte comando para consultar sua versão:
Informação semelhante à seguinte foi exibida:
-bash:/usr/bin/cloud-init:not found this command
Solução: execute o comando # cp /usr/local/bin/cloud-init /usr/bin/ para copiar o arquivo cloud-init para o diretório usr/bin.
- Execute o comando cloud-init init --local.
Informação semelhante à seguinte foi exibida:
Figura 5 As informações retornadas quando a inicialização automática do Cloud-Init é definida com êxitoAnálise de causa: a compilação falha porque a coleção do compilador GNU (GCC) não está instalada.
Solução
Depois que a GCC for instalada, execute o seguinte comando para instalar o Cloud-Init:
yum -y install gcc
- Depois que o Cloud-Init for instalado, execute o seguinte comando para definir a inicialização automática do Cloud-Init:
systemctl enable cloud-init-local.service cloud-init.service cloud-config.service cloud-final.service
Informação semelhante à seguinte foi exibida:
Figura 6 Falhou ao definir a inicialização automática do Cloud-InitSolução
- Execute o seguinte comando:
# systemctl unmask cloud-init-local.service cloud-init.service cloud-config.service cloud-final.service
- Execute os seguintes comandos para definir a inicialização automática novamente:
# systemctl enable cloud-init-local.service cloud-init.service cloud-config.service cloud-final.service
- Execute o seguinte comando para reiniciar o Cloud-Init:
# systemctl restart cloud-init-local.service cloud-init.service cloud-config.service cloud-final.service
Execute o comando systemctl status status para verificar o status do Cloud-Init. Informação semelhante à seguinte foi exibida:
Figura 7 Verificar o status do Cloud-Init
- Execute o seguinte comando:
CentOS 7/Fedora 28: compilador C necessário não instalado
- Sintoma
Depois que o Cloud-Init for instalado, execute o seguinte comando:
cloud-init init --local
As seguintes informações são exibidas:
/usr/lib/python2.5/site-packages/Cheetah/Compiler.py:1532: UserWarning: You don't have the C version of NameMapper installed! I'm disabling Cheetah's useStackFrames option as it is painfully slow with the Python version of NameMapper. You should get a copy of Cheetah with the compiled C version of NameMapper. "\nYou don't have the C version of NameMapper installed!
- Causa possível
Este alarme é gerado porque a versão C do NameMapper precisa ser compilada ao instalar o Cloud-Init. No entanto, a GCC não está instalada no sistema e a compilação não pode ser realizada. Como resultado, a versão C do NameMapper está ausente.
- Solução
Execute o seguinte comando para instalar a GCC:
yum -y install gcc
Reinstale o Cloud-Init.
CentOS 7/Fedora: falhou ao usar a nova senha para fazer logon no servidor criado de um backup após a instalação do Cloud-Init com êxito
- Sintoma
Depois que o Cloud-Init é instalado, a nova senha não pode ser usada para iniciar o novo servidor. Após fazer logon no servidor usando a senha antiga, você descobre que a NIC não foi iniciada.
Figura 8 NIC não iniciada - Solução
Faça logon no servidor, abra o arquivo de configuração DHCP /etc/sysconfig/network-scripts/ifcfg-ethX e comente HWADDR.