In the process of Making RabbitMQ independent of hostname of system, I am using the below steps provided by you and it is working fine. However due to some limitations, I want to avoid the Step3 that is writing fixedhost in hosts file.
Can you please suggest if there is any other way to achieve the same by skipping the Step3 ?
Step 1 : Stopping RabbitMQ service
.\rabbitmq-service.bat stop
Step 2: Removing RabbitMQ service
.\rabbitmq-service.bat remove
Step 3: Renaming RabbitMQ cluster node. NOTE: fixedhost is in C:\Windows\System32\drivers\etc\hosts at this point
Step 4: Rename cluster command
.\rabbitmqctl.bat rename_cluster_node rabbit@WIN81 rabbit@fixedhost
Step 5: Moving RabbitMQ data directories
move %AppData%\RabbitMQ\db\rabbit@WIN81-mnesia %AppData%\RabbitMQ\db\rabbit@fixedhost-mnesia
move %AppData%\RabbitMQ\db\rabbit@WIN81-plugins-expand %AppData%\RabbitMQ\db\rabbit@fixedhost-plugins-expand
Step 6: Creating custom configuration file for NODENAME
vim %AppData%\RabbitMQ\rabbitmq-env-conf.bat
Step 7: Re-install RabbitMQ service
.\rabbitmq-service.bat install
.\rabbitmq-service.bat start
Badri.