Changing IP address for Portal server

2571
4
04-14-2018 10:50 PM
OfraAinemer
Esri Contributor

Is there a way to change the portal server's IP address so the portal will continue working?

Every time one of our clients tried it - the portal stopped functioning and only reinstalling it solved the problem. In some cases we had to completely define everything from scratch.

What is the right way to do this?

Thanks in advance

Ofra Ainemer

Systematics

0 Kudos
4 Replies
JonathanQuinn
Esri Notable Contributor

Does the hostname stay the same? If you were to stop Portal, then change the IP address, (not sure if this is something scheduled or automatic), and then start Portal, does that work? What is the behavior when things are broken? What do the logs say?

0 Kudos
OfraAinemer
Esri Contributor

Hi Jonathan

The situation was unplaned, and we couldn't do things in advance.

The host name stayed the same.

We could not stop and start the portal.

The change is one time event and not automatic.

The behavior is that we get the red message, something like 'we could not access any portal. Please contact the administrator'.

The logs were unaccesible, same as portal and portal admin.

It happened several times, for different customers.

Is there a file that holds the IP address, and if we'll change it to the new one, magically everything will work again?

(Right now we don't have site like that, since we had to reinstall as fast as possible).

Thanks

Ofra

0 Kudos
JonathanQuinn
Esri Notable Contributor

Was it an HA configuration? Unless you're in AWS, the Portal should always be using the hostname of the machine, and DNS should be able to resolve the new IP address with the hostname. There isn't a file that stores specifically the IP address. Do you recall what the logs said? Something about the database not being accessible?

0 Kudos
OfraAinemer
Esri Contributor

Hi,

It was a basic installation on one machine.

Next time it will happen  I will investigate the logs, if it will be possible, and open a case in Esri support.

If anyone had this situation, I will appreciate any more information.

Thanks

Ofra Ainemer

0 Kudos