vCPU | RAM (GB) | Disk Size (GB) |
---|---|---|
4 | 12 | 64 |
Scale up Migration Concurrency
vCPU | RAM (GB) | Disk Size (GB) | Tuning |
---|---|---|---|
4 | 12 | 64 | N/A |
vCPU | RAM (GB) | Disk Size (GB) | Tuning |
---|---|---|---|
32 | 48 | 300 | Y |
mount /dev/sdc1 /common_ext df -hT # Check if /common_ext has been mounted and has the correct type
vi /etc/fstab /dev/sdc1 /common_ext ext3 rw,nosuid,nodev,exec,auto,nouser,async 1 2Note: Use Linux VI editor to edit/modify the file.
# systemctl stop postgresdb # systemctl stop zookeeper # systemctl stop kafka # systemctl stop app-engine # systemctl stop web-engine # systemctl stop appliance-management
cd /common mv kafka-db kafka-db.bak
cd /common_ext mkdir kafka-dbNote: The contents inside Kafka doesn't require to be copied and will be generated after kafka/app-engine services restart.
chmod 755 kafka-db chown kafka:kafka kafka-db
cd /common ln -s /common_ext/kafka-db kafka-db
cd /common mv postgres-db postgres-db.bak
cp -r /common/postgres-db.bak /common_ext/postgres-db chown -R postgres:postgres /common_ext/postgres-db
cd /common ln -s /common_ext/postgres-db postgres-dbStep 5: Start HCX services as below:
# systemctl start postgresdb # systemctl start zookeeper # systemctl start kafka # systemctl start app-engine # systemctl start web-engine # systemctl start appliance-management
Login to HCX Connector/Cloud Manager Root Console # systemctl stop postgresdb # systemctl stop zookeeper # systemctl stop kafka # systemctl stop app-engine # systemctl stop web-engine # systemctl stop appliance-managementStep 7: Increase memory page in app-engine framework.
vi /etc/systemd/app-engine-start JAVA_OPTS="-Xmx4096m -Xms4096m -XX:MaxPermSize=1024m ...Step 8: Increase thread pooling for Mobility Migration services.
vi /opt/vmware/deploy/zookeeper/MobilityMigrationService.zql "numberOfThreads": "50", vi /opt/vmware/deploy/zookeeper/MobilityTransferService.zql "numberOfThreads":50,Step 9: Increase message size limit for kafka framework.
vi /opt/vmware/deploy/zookeeper/vchsApplication.zql "kafkaMaxMessageSizeBytes":4194304
vi /etc/kafka/server.properties message.max.bytes=4194304Step 10: Start HCX services.
# systemctl start postgresdb # systemctl start zookeeper # systemctl start kafka # systemctl start app-engine # systemctl start web-engine # systemctl start appliance-managementStep 11: Check the below services running in the HCX Connector/Cloud Manager:
admin@hcx [ ~ ]$ systemctl --type=service | grep "zoo\|kaf\|web\|app\|postgres" app-engine.service loaded active running App-Engine appliance-management.service loaded active running Appliance Management kafka.service loaded active running Kafka postgresdb.service loaded active running PostgresDB web-engine.service loaded active running WebEngine zookeeper.service loaded active running ZookeeperIMPORTANT: In the event the HCX Manager fails to reboot OR any above listed services fail to start, revert the configuration changes immediately and ensure the system comes back on-line. Additionally, Snapshots can also be used to revert the above configurations incase of any failure while applying the steps.
NOTE These steps are only required for HCX Manager systems that were previously scaled-up using the steps specified in this document
- Before upgrade with scale settings implemented:
root@hcx [ /common_ext ]# ls -l | grep postgres
drwx------ 19 postgres postgres 4096 Oct 31 11:33 postgres-db
- After upgrade on the same system:
root@hcx [ /common_ext ]# ls -l
drwx------ 19 1001 appmgmt 4096 Oct 31 11:33 postgres-db
NOTE: User (1001) and group (appmgmt) mappings are arbitrary
- Change the ownership and group for the postgres-db
root@hcx [ /common_ext ]# chown -R postgres:postgres postgres-db
root@hcx [ /common_ext ]# ls -l
drwx------ 19 postgres postgres 4096 Oct 31 12:41 postgres-db
Recommendations operating concurrent migrations at scale