Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If you wish to utilize other than localhost, it is important to create your own vhost with the RabbitCLI which is calculated based on the below. This is important because the services utilize this unique db name to connect to the correct vhost.

Wiki Markup
$uniqueDbNameuniqueDbName = $local:DamDatabaseRef.Substring($local:DamDatabaseRef.LastIndexOf('.') + 1);
    $ContainsDam = $uniqueDbName.EndsWith("_dam", "CurrentCultureIgnoreCase")
	if($ContainsDam) {
		    $uniqueDbName = $uniqueDbName.Substring(0, $uniqueDbName.Length - 4) 
	}

Furthermore, setting the right user privileges for that vhost is also crucial. As an examle, you would need to do the two following steps to create a vhost and set privileges with the RabbitMQ CLI:
rabbitmqctl.bat add_vhost $uniqueDbName 
rabbitmqctl.bat set_permissions -p $uniqueDbName guest ".*" ".*" ".*"

...