此产品的文档集力求使用非歧视性语言。在本文档集中,非歧视性语言是指不隐含针对年龄、残障、性别、种族身份、族群身份、性取向、社会经济地位和交叉性的歧视的语言。由于产品软件的用户界面中使用的硬编码语言、基于 RFP 文档使用的语言或引用的第三方产品使用的语言,文档中可能无法确保完全使用非歧视性语言。 深入了解思科如何使用包容性语言。
思科采用人工翻译与机器翻译相结合的方式将此文档翻译成不同语言,希望全球的用户都能通过各自的语言得到支持性的内容。 请注意:即使是最好的机器翻译,其准确度也不及专业翻译人员的水平。 Cisco Systems, Inc. 对于翻译的准确性不承担任何责任,并建议您总是参考英文原始文档(已提供链接)。
在硬件(HW)生命周期中,客户可能拥有较旧型号的设备,稍后会被较新的硬件取代。 随着AsyncOS版本的更新,支持的版本将达到寿命终止(EoL)和支持终止(EoS)状态。 EoL/EoS和硬件生命周期曾经达到AsyncOS版本升级不能与较新硬件上装运和安装的AsyncOS版本相匹配的程度。(例如,思科电子邮件安全CX70 >思科电子邮件安全CX95。)
本文档将提供管理员选项来弥补版本之间的差距,以便将现有配置从旧硬件迁移到新硬件。
本文档将使用Cx70作为要更换的基本设备。 所有Cx70型号在AsyncOS 11.0.x上都有EoS。 为了弥补AsyncOS版本之间的任何差距,您需要将现有配置迁移到vESA,然后利用该vESA将配置同步到新设备。
要将现有配置迁移到新硬件,请将设备升级到设备的最新AsyncOS常规部署(GD)或维护部署(MD)版本。
在思科邮件安全设备AsyncOS 11.0版本说明中,使用以下说明升级邮件安全设备:
重新启动后,验证运行的AsyncOS版本:
注意:如果集群配置中已运行多个设备,则可以跳过下一部分。
创建集群可共享现有配置。 有关使用群集进行集中管理的信息,请参阅《用户指南》。 使用clusterconfig > Create a new cluster命令,类似于以下命令:
C170.local> 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.
[]> migration.local
Should 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. 10.10.10.56 port 22 (SSH on interface Management)
2. Enter an IP address manually
[]> 1
Other machines will communicate with Machine C170.local using IP address 10.10.10.56 port 22. You can change this by using the COMMUNICATION subcommand of the clusterconfig command.
New cluster committed: Sat Jun 08 07:47:59 2019 GMT
Creating a cluster takes effect immediately, there is no need to commit.
Cluster migration.local
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 migration.local)
本文档将使用Cx70作为要更换的基本设备。 所有Cx70型号在AsyncOS 11.0.x上都有EoS。 为了弥补AsyncOS版本之间的任何差距,您需要将现有配置迁移到vESA,然后利用该vESA将配置同步到新设备。
从前提条件下载vESA映像并根据《思科内容安全虚拟设备安装指南》进行部署。
注意:安装指南提供有关DHCP(接口配置)的信息,在虚拟主机上设置默认网关(setgateway),并加载虚拟设备许可证文件。 请确保您已按照指示阅读和部署。
部署vESA后,验证运行的AsyncOS版本:
当您将Cx70的AsyncOS版本升级到11.0.3-238时,您还需要使vESA运行与邮件安全的AsyncOS版本相同的匹配版本。(即11.0.3-238:11.0.3-238,而不是11.0.0-274:11.0.3-238。)
重新启动后,验证运行的AsyncOS版本:
UI,导航至监控>系统信息
从vESA的CLI中,运行clusterconfig > Join an existing... 将vESA添加到集群中,如下所示:
vESA.local> 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 ironport.example.com? [N]> n
Enter the IP address of a machine in the cluster.
[]> 10.10.10.56
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 10.10.10.56:
Public host key fingerprint: 80:22:44:aa:cc:55:ff:ff:11:66:77:ee:66:77:77:aa
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 migration.local
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 migration.local)>
此时,您的vESA现在具有与现有Cx70/HW运行相同的配置。
运行clustercheck命令以验证同步,并验证现有vESA与Cx95之间是否存在任何不一致。 (有关详细信息,请参阅“集群不一致”。)
注意:您的vESA未处理邮件。 为了安慰您,您必须将vESA作为额外的MX添加到DNS记录中,或包括在ESA外部的任何负载均衡池中。
从vESA上的CLI,请运行clusterconfig ,并使用removemachine操作从集群中删除设备:
(Cluster migration.local)> clusterconfig
Cluster migration.local
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.
[]> removemachine
Choose the machine to remove from the cluster.
1. C170.local (group Main_Group)
2. vESA.local (group Main_Group)
[1]> 2
Warning:
- You are removing the machine you are currently connected to, and you will no longer be able to access the cluster.
- This change will happen immediately without a commit.
Are you sure you want to continue? [N]> y
Please wait, this operation may take a minute...
Machine vESA.local removed from the cluster.
此时,在配置迁移中,您需要升级vESA以匹配新HW/Cx95的修订版。 本文档将假设您使用Cx95作为替换Cx70的设备。
CX95硬件随附运行AsyncOS 11.5.x。 思科建议从11.5.x升级到12.5.x。
vESA需要运行相同的匹配版本的邮件安全AsyncOS。(即12.5.0-059:12.5.0-059,而不是11.0.3-238:12.5.0-059。)
在升级之前,您需要更改vESA上的动态主机设置。 [解释为什么需要这样做:当vESA加入Cx70群集时,它假设为HW更新程序的群集配置(update-manifests.ironport.com 443)。 此时,要升级vESA,需要将其重新指向VM更新程序。]
要完成此操作,请从CLI运行以下命令:
要升级vESA和Cx95:
重新启动后,验证运行的AsyncOS版本:
对于本文档,我们假设您已经接收、机架安装、供电并完成了新硬件(即Cx95)的基本网络配置。 有关Cx95的详细信息,请参阅《思科电子邮件安全设备C195、C395、C695和C695F入门指南》。
如果希望重新使用相同的群集名称,请使用Cx70群集中的相同群集名称创建。 或者,使用新群集名称创建新群集。 这是之前步骤的重复,现在在vESA上:
vESA.local> 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.
[]> newcluster.local
Should 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. 10.10.10.58 port 22 (SSH on interface Management)
2. Enter an IP address manually
[]> 1
Other machines will communicate with Machine C195.local using IP address 10.10.10.58 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 newcluster.local
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 newcluster.local)>
在Cx95的CLI中,运行clusterconfig > Join an existing... 将Cx95添加到vESA上配置的新集群中,如下所示:
C195.local> 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 ironport.example.com? [N]> n
Enter the IP address of a machine in the cluster.
[]> 10.10.10.58
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 10.10.10.56:
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 newcluster.local
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 newcluster.local)>
重复此过程,将其他Cx95加入您的群集。
此时,您的Cx95现在具有与现有Cx70/HW和vESA运行相同的配置。
运行clustercheck命令以验证同步,并验证现有vESA与Cx95之间是否存在任何不一致。 (有关详细信息,请参阅“集群不一致”。)
与vESA的第二部分中的步骤类似,您需要将updateconfig 设置为指向HW更新程序。 要完成此操作,请从CLI运行以下命令:
此时,您需要做出关闭Cx70设备电源以及将现有IP地址和关联主机名迁移到Cx95的决策。 在此流程中要审核的项目包括:
您还希望决定如何继续使用虚拟ESA。 要通过运行clusterconfig > removemachine从现有集群中删除此项,并选择要从集群中删除的虚拟设备的编号:
(Cluster newcluster.local)> clusterconfig
Cluster cluster
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.
[]> removemachine
Choose the machine to remove from the cluster.
1. vESA.local (group Main_Group)
2. C195.local (group Main_Group)
[1]> 1
Warning:
- This is the last machine in the cluster. Removing it from the cluster will destroy the cluster.
- This change will happen immediately without a commit.
Are you sure you want to continue? [N]> y
Please wait, this operation may take a minute...
Machine vESA.local removed from the cluster.
迁移后使用虚拟设备的想法:
注意:您的虚拟许可证文件将以XML格式发送,并在三小时内收到您指定的电子邮件地址。
注意:您的虚拟许可证文件将以XML格式发送,并在三小时内收到您指定的电子邮件地址。
11.0.3-238(版本说明) |
11.5.0-066(版本说明) |
12.5.0-059(版本说明) |
AsyncOS for Cx70的EoS版本 |
Cx95的制造版本 |
Cx80/Cx90/Cx95推荐的GA版本 |
菲比11-0-1-027 ->菲比 — 11-0-3-238 菲比11-0-1-301 ->菲比 — 11-0-3-238 菲比11-0-1-602 ->菲比 — 11-0-3-238 菲比11-0-2-037 ->菲比 — 11-0-3-238 菲比11-0-2-038 ->菲比 — 11-0-3-238 菲比11-0-2-044 ->菲比 — 11-0-3-238 菲比9-1-2-053 ->菲比 — 11-0-3-238 菲比9-7-2-145 ->菲比 — 11-0-3-238 菲比9-8-1-015 ->菲比 — 11-0-3-238
|
升级路径不可用,因为这是x95平台的制造版本。 |
菲比11-0-1-027 ->菲比 — 12-5-0-059 菲比11-0-2-044 ->菲比 — 12-5-0-059 菲比11-0-3-238 ->菲比 — 12-5-0-059 菲比11-0-3-242 ->菲比 — 12-5-0-059 菲比11-1-1-042 ->菲比 — 12-5-0-059 菲比11-1-2-023 ->菲比 — 12-5-0-059 菲比11-5-0-058 ->菲比 — 12-5-0-059 菲比11-5-0-077 ->菲比 — 12-5-0-059 菲比12-0-0-419 ->菲比 — 12-5-0-059 菲比12-1-0-089 ->菲比 — 12-5-0-059
|
升级到AsyncOS 12.x后,如果设备处于集群模式且配置了DLP,则使用CLI运行clustercheck命令时,DLP设置中的不一致性会出现。
要解决此不一致问题,请强制整个集群使用集群中任何其他计算机的DLP配置。使用以下提示“How do you want to resolve this inconsistency?” 在clustercheck命令中,如以下示例所示:
(Cluster)> clustercheck
Checking DLP settings...
Inconsistency found!
DLP settings at Cluster test:
mail1.example.com was updated Wed Jan 04 05:52:57 2017 GMT by 'admin' on mail2.example.com mail2.example.com was updated Wed Jan 04 05:52:57 2017 GMT by 'admin' on mail2.example.com How do you want to resolve this inconsistency?
1. Force the entire cluster to use the mail1.example.com version.
2. Force the entire cluster to use the mail2.example.com version.
3. Ignore.
[3]>
请确保阅读ESA上运行的AsyncOS版本的版本说明。
其他参考:ESA集群要求和设置