In questo documento viene descritto il processo di sostituzione di vESA e vSMA quando un aggiornamento non riesce a causa di una partizione Nextroot ridotta.
Inizialmente, le immagini di Virtual Email Security Appliance (vESA) e Virtual Security Management Appliance (vSMA) sono state create con una partizione Nextroot di dimensioni inferiori a 500 MB. Nel corso degli anni, e con le nuove versioni di AsyncOS che includono funzionalità aggiuntive, gli aggiornamenti hanno richiesto più spazio in questa partizione durante l'intero processo di upgrade. Gli aggiornamenti possono non riuscire a causa di queste dimensioni della partizione. In questo documento vengono fornite informazioni dettagliate sulla soluzione, ovvero la distribuzione di una nuova immagine virtuale con una partizione Nextroot da 4 GB.
Difetti correlati per ESA:Cisco bug ID CSCvy69068 e SMA: ID bug Cisco CSCvy69076
Un'immagine precedente di vESA o vSMA con una dimensione della partizione Nextroot inferiore a 500M può non essere aggiornata con questi errori.
...
...
...
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
Per garantire l'aggiornamento del dispositivo virtuale, verificare che le dimensioni della partizione Nextroot siano pari a 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 ----->
Output previsto: Nextroot mostra 4 GB.
Se la partizione Nextroot è inferiore a 4 GB, completare la procedura applicabile per eseguire la migrazione del modello di macchina virtuale corrente a un'immagine più recente.
Importante: Scegliere un percorso in base al tipo di accessorio: vESA utilizza una migrazione basata su cluster (passaggi 4-5). vSMA utilizza una migrazione basata su backup (passaggio 6).
Dai prerequisiti, scaricare l'immagine ESA/SMA virtuale e installarla in base alla Guida all'installazione di Cisco Content Security Virtual Appliance.
Una volta implementata la nuova ESA virtuale o SMA, è il momento di caricare il file della licenza. Per le licenze tradizionali (versioni 15.0 e precedenti), la licenza è contenuta in un file XML e deve essere caricata utilizzando la CLI. Dalla CLI, usare il comando loadlicense e seguire le istruzioni per completare l'importazione della licenza.
Se la versione è successiva alla 15.5, è possibile rivedere questo articolo in quanto la licenza intelligente è obbligatoria:Attivare la licenza intelligente e risolvere i problemi su ESA/SMA/WSA
Verificare che entrambi gli accessori eseguano la stessa versione di AsyncOS. Se le versioni sono diverse, eseguire l'aggiornamento sul nuovo accessorio in modo che corrisponda alla versione originale prima della migrazione.
Sul vESA originale, eseguire clusterconfig per creare un nuovo 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)>
Dalla CLI della nuova vESA, eseguire clusterconfig e selezionare Join a existing cluster per aggiungere la nuova vESA al cluster configurato sulla vESA originale.
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)>
Dopo il collegamento e la sincronizzazione degli accessori, la nuova vESA presenta la stessa configurazione della vESA esistente.
Comando: controllo cluster
Output previsto: Non vengono segnalate incoerenze e la sincronizzazione è stata completata.
Esaminare i prerequisiti per il backup dei dati SMA nella Guida per l'amministratore di SMA: Prerequisiti di backup.
Eseguire il comando backupconfig sull'accessorio da sostituire per pianificare un backup sulla vSMA appena implementata.
Per avviare un backup immediato:
Al termine del backup, il nuovo vSMA ha ricevuto tutti i dati dal precedente SMA.
Per configurare il nuovo computer come dispositivo principale, consultare la Guida dell'amministratore SMA: Configurare il nuovo computer come dispositivo primario.
Se è necessario installare più di un ESA/SMA, seguire i passaggi 1-6.
Guida all'installazione di Cisco Content Security Virtual Appliance
Requisiti e configurazione del cluster ESA
| Revisione | Data di pubblicazione | Commenti |
|---|---|---|
4.0 |
23-Jun-2026
|
Contenuto tecnico, titolo, introduzione, traduzione automatica, requisiti di stile e formattazione aggiornati. |
1.0 |
27-May-2021
|
Versione iniziale |