2

We upgraded to Web8 . We would like to setup two website "staging and testing" on a single server for this i need to configure two deployer service. will this setup require separate discovery service as well for both website??

8

Yes - even though you're on a single machine, each environment is completely independent of each other, so everything needs to be duplicated.

Deployer, Discovery, Website, etc, must all be duplicated (and make sure to use different ports for the services).

In a nutshell, it's not different from doing it in multiple machines.

  • Well, it actually is a bit trickier than doing it on multiple machines, because you have to ensure that ports, Windows Service names and working directories are distinct for the two environments. You can easily waste some hours figuring out why sometimes env. B seems to pick up env. A's work or vice versa. – Rick Pannekoek Jul 18 '16 at 17:37
2

As Nuno said, it is possible to install it all on one box.

When the services are installed, before running the PowerShell scripts, make sure to update the port number and name in the installService.ps1 script. You don't need to worry about the uninstall as it creates a text file with the service name in it for later.

Also, after installing it is expected that the installer will not show a 'running' service in the first try because it takes a while for the service to startup and listen. In my experience it takes 3-5 attempts before a green comes back.

If it still doesn't start, then try to start it from the Services window, and also check your log files for more info...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.