w###s####.##.###a.####d.#e NSX 2023043 LOAD-BALANCER [nsx@6876 comp="nsx-edge" subcomp="lb" s2comp="lb" level="FATAL"] [7######9-e###-###5-###2-c########892] could not build server_names_hash, you should increase server_names_hash_bucket_size: 128"
VMware NSX 4.x
VMware NSX-T Data Center 3.x
Bucket size is being increased to 256 this can handle SNI CN/SAN length up to 238 characters
Important Notes:
If the Load Balancer is detached and re-attached, the value in nginx.conf
will revert to the default 128
.
When restarting the LB container, a failover to the standby edge occurs. Therefore, this workaround must be applied on both active and standby edges to ensure continuity.
Workaround steps:
Access the LB container:
Find the container ID:
Look for the container running nsx-edge-lb:current
.
Enter the container:
Back up the original template:
Modify the template:
Copy the backup for editing:
Make the file writable (if not already):
Edit the file:
Locate and change:
to:
Replace the original template:
Exit the LB container
Restart the LB container:
Verify:
Check the generated nginx.conf
to confirm the updated value.
Ensure the nginx
process restarted without errors.