Script for how to update/customize login.vm file on Confluence servers:
Staging (lib-confluence-staging1):
[Log in to VPN]
ssh pulsys@lib-confluence-staging1
sudo systemctl stop confluence
sudo systemctl status confluence
sudo bash [changes me to root]
cd /
fd login.vm
In new iTerm tab:
cd /Desktop/Confluence
scp login.vm pulsys@lib-confluence-staging1:~
[Check that login.vm file is there]
Back to ssh connection to lib-confluence-staging1 tab:
sudo cp ~/login.vm /opt/atlassian/confluence/confluence/login.vm
systemctl start confluence
systemctl status confluence
Wait 10 minutes and check to see how changes rendered
Production (lib-confluence-prod1)
Notify #incident_reports Slack of downtime ("We are performing maintenance on...")
[Log in to VPN]
ssh pulsys@lib-confluence-prod1
sudo systemctl stop confluence
sudo systemctl status confluence
sudo bash [changes me to root]
cd /
fd login.vm
In new iTerm tab:
cd /Desktop/Confluence
scp login.vm pulsys@lib-confluence-prod1:~
[Check that login.vm file is there]
Back to ssh connection to lib-confluence-prod1:
sudo cp ~/login.vm /opt/atlassian/confluence/confluence/login.vm
systemctl restart confluence
systemctl status confluence
Check to see how changes rendered
Notify #incident_reports Slack of service resuming ("Maintenance complete with services resumed")
Script for how to update/customize login.vm file on Confluence servers:
Staging (lib-confluence-staging1):
[Log in to VPN] ssh pulsys@lib-confluence-staging1 sudo systemctl stop confluence sudo systemctl status confluence sudo bash [changes me to root] cd / fd login.vm
In new iTerm tab: cd /Desktop/Confluence scp login.vm pulsys@lib-confluence-staging1:~ [Check that login.vm file is there]
Back to ssh connection to lib-confluence-staging1 tab: sudo cp ~/login.vm /opt/atlassian/confluence/confluence/login.vm systemctl start confluence systemctl status confluence
Wait 10 minutes and check to see how changes rendered
Production (lib-confluence-prod1)
Notify #incident_reports Slack of downtime ("We are performing maintenance on...")
[Log in to VPN] ssh pulsys@lib-confluence-prod1 sudo systemctl stop confluence sudo systemctl status confluence sudo bash [changes me to root] cd / fd login.vm
In new iTerm tab: cd /Desktop/Confluence scp login.vm pulsys@lib-confluence-prod1:~ [Check that login.vm file is there]
Back to ssh connection to lib-confluence-prod1: sudo cp ~/login.vm /opt/atlassian/confluence/confluence/login.vm systemctl restart confluence systemctl status confluence
Check to see how changes rendered Notify #incident_reports Slack of service resuming ("Maintenance complete with services resumed")