679d076209bae6c5f6f26df2ab4b38f9686abee6
wiki/info/landscape/archive-server-upgrade.md
| ... | ... | @@ -101,19 +101,19 @@ Following the mandatory automated content comparison you should do a few spot ch |
| 101 | 101 | ### Switching in Reverse Proxy |
| 102 | 102 | |
| 103 | 103 | Once you are content with the quality of the new archive server candidate's contents it's time to switch. Technically, switching archive servers is done by adjusting the corresponding configuration in the central Apache reverse proxy server. You find this in ``root@sapsailing.com:/etc/httpd/conf.d/000-macros.conf`` in the definition of the macro ``ArchiveRewrite`` defined usually at the top of the file. You'll find a macro definition that looks like this: |
| 104 | -```<Macro ArchiveRewrite> |
|
| 104 | +```<Macro ArchiveRewrite> |
|
| 105 | 105 | # ARCHIVE, based on i3.2xlarge, 64GB RAM and 1.9TB swap |
| 106 | 106 | # Use Rewrite 172.31.4.106 8888 |
| 107 | 107 | Use Rewrite 172.31.9.176 8888 |
| 108 | -</Macro> |
|
| 108 | +</Macro> |
|
| 109 | 109 | ``` |
| 110 | 110 | Copy the uncommented ``Use Rewrite`` line and in the new copy adjust the internal IP to match the internal IP of your new archive server candidate. Then comment the line that pointed to the currently active primary archive server. Your macro definition then would look something like this, assuming that ``172.31.8.7`` were the IP address of your new archive server candidate: |
| 111 | -```<Macro ArchiveRewrite> |
|
| 111 | +```<Macro ArchiveRewrite> |
|
| 112 | 112 | # ARCHIVE, based on i3.2xlarge, 64GB RAM and 1.9TB swap |
| 113 | 113 | # Use Rewrite 172.31.4.106 8888 |
| 114 | 114 | # Use Rewrite 172.31.9.176 8888 |
| 115 | 115 | Use Rewrite 172.31.8.7 8888 |
| 116 | -</Macro> |
|
| 116 | +</Macro> |
|
| 117 | 117 | ``` |
| 118 | 118 | Exit your editor and reload the reverse proxy configuration by issuing the following command: |
| 119 | 119 | ``` |