Sitecore 9XP installation in details with Issues(xDB, Solr, Multiple instance)

Hi Champs,

Today I am going to share not just Sitecore 9XP installation but the issues which you might get while installing Sitecore 9 on your machine or on Servers.

I will not waste time on explaining how to install Sitecore 9 installation as you can find generic steps on below articles

https://buoctrenmay.com/2019/04/06/sitecore-xp-9-1-update-1-step-by-step-install-guide-on-your-machine/

Issues which you will face while installing Sitecore 9 are below.

Issue 1 : Solr Core are not getting created while installing

  1. You need to go to Service.msc
  2. Need to find the Solr service which got created while running mentioned PowerShell script.
  3. Now you need to stop the service again restart service check your Solr is running.
  4. You also need to check the Solr port number you mentioned in the script.
  5. Now run again the Script.

Issue 2 : SSL certificate issue

  1. While installing/running the above script you will find an error for Marketing automation service.
  2. Error is while executing the above script it tries to start Marketing automation service for xDB with unsigned/non-self signed SSL.
  3. But it is unable to find it from machine root.
  4. for which you need to run below PowerShell code one by one to get unsigned/non-self signed SSL in proper machine root.
  5. And now again restart the installation by PowerShell script. also please check below link for any other issues related to this. https://sitecore.stackexchange.com/questions/8561/xconnect-the-http-response-was-not-successful-unauthorized
Get-Childitem cert:\LocalMachine\root -Recurse | 
    Where-Object {$_.Issuer -ne $_.Subject}

If you get any certificates, Move these non-self-signed certificates into the Intermediate Certification Authorities (i.e. CA) store

Get-Childitem cert:\LocalMachine\root -Recurse | 
    Where-Object {$_.Issuer -ne $_.Subject} | 
    Move-Item -Destination Cert:\LocalMachine\CA

Issue 3 : Installing multiple Sitecore 9 instance on same machine.

While installing multiple Sitecore 9 instance you need to take care of below.

  1. First, you need to change all parameter name’s according to other instance from the mentioned script.
  2. Please make sure that you will create Solr service with a different name and a different port.
  3. Before starting installation make sure that you will need to stop all Sitecore services for the other instances which you already created.
  4. Check that you have given proper SQL parameters.
  5. Now start the execution of PowerShell script.
  6. Don’t forget to restart all the services which you stopped for other instances.

Issue 4 : After installation issues with xDB service.

  1. If you found that there are issues for xDB you need to go to services.msc.
  2. Go to the Marketing Automation service for respective Sitecore instance you may find that it is started but actually not working.
  3. In this case, you need to go to PowerShell and need to run above commands for non-self signed certificates.
  4. Then go to IIS.
  5. Go to the connect website and rearrange the SSL for xConnect website bindings.
  6. Once this is done then again start the service.

Thanks you for reading !

Please write comments and post your questions.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s