...
The machine should restart keeping the existing elastic ip.
Changing Crowd Database URL
In order to change the database URL used by crowd, you will need to edit one of the configuration files:
Attempting to change the database url for Crowd
- ssh into prod-crowd
- Made a copy of the config file:
- cp /var/crowd-home/crowd.cfg.xml /var/crowd-home/crowd.cfg-old.xml
- changed /var/crowd-home/crowd.cfg.xml:
- from: <property name="hibernate.connection.url">jdbc:mysql://<old_db_host>/crowd_prod?autoReconnect=true&characterEncoding=utf8&useUnicode=true</property>
- to: <property name="hibernate.connection.url">jdbc:mysql://<new_db_host>/crowd_prod?autoReconnect=true&characterEncoding=utf8&useUnicode=true</propert>
- Reboot the crowd machine:
- sudo reboot
- sudo reboot