====== Restarting the Dig Portal ====== Author: Colm Carew **Please Edit this if you see any errors** * Email the Noc - Check what Anna sends previously (ReleaseManagement@crowncastle.com, FiberDigTeam@crowncastle.com, support@errigal.com) * Connect to 1a and 1b vis ssh * Make sure to change your name here where appropriate: ssh -i '/Users/colmcarew/Dropbox/Errigal Shared Documents/Amazon EC2/prod keys/digportal.pem' -l ubuntu digportal1a ssh -i '/Users/colmcarew/Dropbox/Errigal Shared Documents/Amazon EC2/prod keys/digportal.pem' -l ubuntu digportal1b * aws.amazon.com/console log in here and check password safe for password * Top right -> Northern California Region -> EC2 Section -> Load Balancers -> Dig Portal Balancer * Check 1a and 1b links directly in browser * Remove them from load balancer * Verify both tickets not parsing tail -f /usr/local/logs/Ticketer.log * Check Ticketer/quartz/list in browser * cd /var/tomcat/Ticketer/bin * ./shutdown.sh * ps -edf | grep Ticketer * #check no Ticketer processes are running * cd /var/tomcat/NocPortal/bin * ./shutdown.sh * ps -edf | grep NocPortal * Start NOC * tail -f ../logs/catalina.out * cd /var/tomcat/NocPortal/bin * ./startup.sh - Do not start both simultaneously * Exception for saved sessions is fine * tail -f /usr/local/logs/NocPortal.log * Hit dig portal 1a and 1b directly and do not log in * Start 1 ticketer at a time to prevent double email parsing * cd /var/tomcat/Ticketer/bin/ * ./startup.sh * tail -f /var/tomcat/Ticketer/logs/catalina.out * tail -f /usr/local/logs/Ticketer.log * Hit digportal1a:8083/Ticketer/admin * Ticketer/quartz/list * aws.amazon.com/console * northern california region load balancer dig portal instances * edit instances * Pick the 2 running dig portal instance and wait * Go to load balancer link (http://digportalbalancer-1695191914.us-west-1.elb.amazonaws.com/NocPortal/portal) **If anything goes wrong:** * Chrome developer tools -> resources cookies worker 1 or 2 * Keeping logging in verifying - At this point we are done and can email them back saying restart completed * If having to log in twice * cd /var/tomcat/NOCPortal/conf * vi server.xml look for jbmRoot