存储迁移可能会导致重命名 vCenter 数据存储。这又可能会导致一些问题,例如,VIP 缺少 SE,没有弹性,没有创建新的 VIP,等等。
NSX Advanced Load Balancer 支持更改 vCenter 中的数据存储的名称。
注:
NSX Advanced Load Balancer 将数据存储名称专门存储在 SE 组中。
在更改数据存储名称后,数据存储对象的
ManagedObjectId
在 vCenter 中保持不变。确保您在 NSX Advanced Load Balancer 中跟踪 vCenterManagedObjectId
及其相应的名称。如果在 SE 组中缺少
ManagedObjectId
,NSX Advanced Load Balancer 中的操作将改用数据存储名称。
在服务引擎组中配置数据存储名称
使用 datastore_name
和 managed_object_id
命令配置服务引擎组,如下所示:
[admin:10-102-96-215]: > configure serviceenginegroup TestSEG Updating an existing object. Currently, the object is: +-----------------------------------------+---------------------------------------------------------+ | Field | Value | +-----------------------------------------+---------------------------------------------------------+ | uuid | serviceenginegroup-6eec6635-bd09-41c7-9def-3220a6393b31 | | name | TestSEG | ...... [admin:10-102-96-215]: serviceenginegroup> vcenter_datastore_mode vcenter_datastore_shared Overwriting the previously entered value for vcenter_datastore_mode ..... [admin:10-102-96-215]: serviceenginegroup> vcenter_datastores datastore_name blr-01-vc13c01-vsan managed_object_id datastore-1042 New object being created [admin:10-102-96-215]: serviceenginegroup:vcenter_datastores> save [admin:10-102-96-215]: serviceenginegroup> vcenter_datastores_include Overwriting the previously entered value for vcenter_datastores_include [admin:10-102-96-215]: serviceenginegroup> save +-----------------------------------------+---------------------------------------------------------+ | Field | Value | +-----------------------------------------+---------------------------------------------------------+ | uuid | serviceenginegroup-6eec6635-bd09-41c7-9def-3220a6393b31 | | name | TestSEG | | max_vs_per_se | 10 | | min_scaleout_per_vs | 1 | | max_scaleout_per_vs | 4 | | max_se | 10 | | vcpus_per_se | 1 | | memory_per_se | 2048 | | disk_per_se | 15 gb | | max_cpu_usage | 80 percent | | min_cpu_usage | 30 percent | | se_deprovision_delay | 120 min | | auto_rebalance | False | | se_name_prefix | Avi | | vs_host_redundancy | True | | vcenter_folder | AviSeFolder | | vcenter_datastores[1] | | | datastore_name | blr-01-vc13c01-vsan | managed_object_id | datastore-1042 | | vcenter_datastores_include | True | | vcenter_datastore_mode | VCENTER_DATASTORE_SHARED |