Este documento descreve o processo para substituir o vESA e o vSMA quando uma atualização está falhando devido a uma partição pequena do Nextroot.
Inicialmente, as imagens virtuais do Email Security Appliance (vESA) e do Security Management Appliance (vSMA) foram criadas com um tamanho de partição do Nextroot inferior a 500 MB. Com o passar dos anos, e com versões mais recentes do AsyncOS que incluem recursos adicionais, as atualizações exigiram mais espaço nessa partição durante todo o processo de atualização. As atualizações podem falhar devido ao tamanho da partição. Este documento fornece detalhes sobre a solução, que é implantar uma nova imagem virtual com uma partição Nextroot de 4 GB.
Defeitos relacionados ao ESA:bug da Cisco ID CSCvy69068 e SMA: ID de bug da Cisco CSCvy69076
Uma imagem mais antiga vESA ou vSMA com um tamanho de partição Nextroot inferior a 500M pode falhar na atualização com esses erros sendo vistos.
...
...
...
Finding partitions... done.
Setting next boot partition to current partition as a precaution... done.
Erasing new boot partition... done.
Extracting eapp done.
Extracting scanerroot done.
Extracting splunkroot done.
Extracting savroot done.
Extracting ipasroot done.
Extracting ecroot done.
Removing unwanted files in nextroot done.
Extracting distroot
/nextroot: write failed, filesystem is full
./usr/share/misc/termcap: Write failed
./usr/share/misc/pci_vendors: Write to restore size failed
./usr/libexec/getty: Write to restore size failed
./usr/libexec/ld-elf.so.1: Write to restore size failed
./usr/lib/libBlocksRuntime.so: Write to restore size failed
./usr/lib/libBlocksRuntime.so.0: Write to restore size failed
./usr/lib/libalias.so: Write to restore size failed
./usr/lib/libarchive.so: Write to restore size failed
Para garantir que o dispositivo virtual possa ser atualizado, verifique se o tamanho da partição do Nextroot é de 4 GB.
Comando: ipcheck
(example.cisco.com) > ipcheck
<----- Example output (relevant section) ----->
Root 4GB 7%
Nextroot 4GB 1%
Var 400MB 3%
Log 172GB 3%
DB 2GB 0%
Swap 6GB
Mail Queue 10GB
<----- End of example output ----->
Saída esperada: O Nextroot mostra 4 GB.
Se a partição do Nextroot for inferior a 4 GB, conclua o procedimento aplicável para migrar o modelo de máquina virtual atual para uma imagem mais recente.
Importante: Escolha um caminho com base no tipo de dispositivo: O vESA usa uma migração baseada em cluster (etapas 4-5). O vSMA usa uma migração baseada em backup (etapa 6).
Nos pré-requisitos, faça download da imagem virtual do ESA/SMA e implante-a de acordo com o Guia de instalação do Cisco Content Security Virtual Appliance.
Depois que o novo ESA ou SMA virtual tiver sido implantado, é hora de carregar o arquivo de licença. Para o licenciamento tradicional (versões 15.0 e anteriores), a licença está contida em um arquivo XML e deve ser carregada usando a CLI. Na CLI, use o comando loadlicense e siga os avisos para concluir a importação da licença.
Se a versão for posterior à 15.5, você poderá revisar este artigo, pois o Smart Licensing é obrigatório: Ativar o Smart Licensing e solucionar problemas no ESA/SMA/WSA
Verifique se ambos os dispositivos executam a mesma versão do AsyncOS. Se as versões forem diferentes, execute a atualização no novo equipamento para corresponder à versão original antes da migração.
No vESA original, execute clusterconfig para criar um novo cluster.
Original-ESA.example.com> clusterconfig
Do you want to join or create a cluster?
1. No, configure as standalone.
2. Create a new cluster.
3. Join an existing cluster over SSH.
4. Join an existing cluster over CCS.
[1]> 2
Enter the name of the new cluster.
[]> Cluster-1
Must all machines in the cluster communicate with each other by hostname or by IP address?
1. Communicate by IP address.
2. Communicate by hostname.
[2]> 1
What IP address should other machines use to communicate with Machine C170.local?
1. 192.0.2.10 port 22 (SSH on interface Management)
2. Enter an IP address manually
[]> 1
Other machines will communicate with Machine C195.local using IP address 192.0.2.10 port 22. You can change this by using the COMMUNICATION subcommand of the clusterconfig command.
New cluster committed: Sat Jun 08 11:45:33 2019 GMT
Creating a cluster takes effect immediately, there is no need to commit.
Cluster Cluster-1
Choose the operation you want to perform:
- ADDGROUP - Add a cluster group.
- SETGROUP - Set the group that machines are a member of.
- RENAMEGROUP - Rename a cluster group.
- DELETEGROUP - Remove a cluster group.
- REMOVEMACHINE - Remove a machine from the cluster.
- SETNAME - Set the cluster name.
- LIST - List the machines in the cluster.
- CONNSTATUS - Show the status of connections between machines in the cluster.
- COMMUNICATION - Configure how machines communicate within the cluster.
- DISCONNECT - Temporarily detach machines from the cluster.
- RECONNECT - Restore connections with machines that were previously detached.
- PREPJOIN - Prepare the addition of a new machine over CCS.
[]>
(Cluster Cluster-1)>
Na CLI do novo vESA, execute clusterconfig e selecione Join an existing cluster para adicionar o novo vESA ao cluster configurado no vESA original.
New-ESA.example.com> clusterconfig
Do you want to join or create a cluster?
1. No, configure as standalone.
2. Create a new cluster.
3. Join an existing cluster over SSH.
4. Join an existing cluster over CCS.
[1]> 3
While joining a cluster, you will need to validate the SSH host key of the remote machine to which you are joining. To get the public host key fingerprint of the remote host, connect to the cluster and run: logconfig -> hostkeyconfig -> fingerprint.
WARNING: All non-network settings will be lost. System will inherit the values set at the group or cluster mode for the non-network settings. Ensure that the cluster settings are compatible with your network settings (e.g. dnsconfig settings)
Exception:Centralized Policy, Virus, and Outbreak Quarantine settings are not inherited from the cluster. These settings on this machine will remain intact.
Do you want to enable the Cluster Communication Service on esa.example.com? [N]> n
Enter the IP address of a machine in the cluster.
[]> 192.0.2.10
Enter the remote port to connect to. This must be the normal admin ssh port, not the CCS port.
[22]>
Would you like to join this appliance to a cluster using pre-shared keys? Use this option if you have enabled two-factor authentication on the appliance. [Y]> n
Enter the name of an administrator present on the remote machine
[admin]>
Enter passphrase:
Please verify the SSH host key for 192.0.2.11:
Public host key fingerprint: 80:11:33:aa:bb:44:ee:ee:22:77:88:ff:77:88:88:bb
Is this a valid key for this host? [Y]> y
Joining cluster group Main_Group.
Joining a cluster takes effect immediately, there is no need to commit.
Cluster Cluster-1
Choose the operation you want to perform:
- ADDGROUP - Add a cluster group.
- SETGROUP - Set the group that machines are a member of.
- RENAMEGROUP - Rename a cluster group.
- DELETEGROUP - Remove a cluster group.
- REMOVEMACHINE - Remove a machine from the cluster.
- SETNAME - Set the cluster name.
- LIST - List the machines in the cluster.
- CONNSTATUS - Show the status of connections between machines in the cluster.
- COMMUNICATION - Configure how machines communicate within the cluster.
- DISCONNECT - Temporarily detach machines from the cluster.
- RECONNECT - Restore connections with machines that were previously detached.
- PREPJOIN - Prepare the addition of a new machine over CCS.
[]>
(Cluster Cluster-1)>
Depois que os dispositivos são conectados e sincronizados, o novo vESA tem a mesma configuração que o vESA existente.
Comando: verificação de cluster
Saída esperada: Nenhuma inconsistência foi relatada e a sincronização foi concluída.
Revise os pré-requisitos para o backup de dados do SMA no Guia do Administrador do SMA: Pré-requisitos de Backup.
Execute backupconfig no equipamento que está sendo substituído para agendar um backup para o vSMA recém-implantado.
Para iniciar um backup imediato:
Após a conclusão do backup, o novo vSMA recebeu todos os dados do SMA anterior.
Para configurar a nova máquina como o dispositivo primário, consulte o Guia do Administrador do SMA: Configure a nova máquina como o dispositivo primário.
Caso precise implantar mais de um ESA/SMA, siga as etapas de 1 a 6.
Guia de instalação do Cisco Content Security Virtual Appliance
Configuração e requisitos do cluster ESA
| Revisão | Data de publicação | Comentários |
|---|---|---|
4.0 |
23-Jun-2026
|
Conteúdo técnico, título, introdução, tradução automática, requisitos de estilo e formatação atualizados. |
1.0 |
27-May-2021
|
Versão inicial |