|
@@ -19,9 +19,9 @@ Also, reminder that the legacy `Reposerver` was shutdown in late February 2021,
|
|
|
|
|
|
Each month the AWS `GovCloud (GC) TEST/PROD` environments must be patched to comply with FedRAMP requirements. This wiki page outlines the process for patching the environment.
|
|
|
|
|
|
-Email Template that needs to be sent out prior to patching and email addresses of individuals who should get the email.
|
|
|
+Email Template that needs to be sent out prior or create a Calendar event for patching and email addresses of individuals who should get the invite.
|
|
|
```
|
|
|
-Leonard, Wesley A. <wesley.a.leonard@accenturefederal.com>; Waddle, Duane E. <duane.e.waddle@accenturefederal.com>; Nair, Asha A. <asha.a.nair@accenturefederal.com>; Crawley, Angelita <angelita.crawley@accenturefederal.com>; Rivas, Gregory A. <gregory.a.rivas@accenturefederal.com>; Damstra, Frederick T. <frederick.t.damstra@accenturefederal.com>; Poulton, Brad <brad.poulton@accenturefederal.com>; Williams, Colby <colby.williams@accenturefederal.com>; Naughton, Brandon <brandon.naughton@accenturefederal.com>; Cooper, Jeremy <jeremy.cooper@accenturefederal.com>; Jennings, Kendall <kendall.jennings@accenturefederal.com>; Lohmeyer, Dean <dean.lohmeyer@accenturefederal.com>; xdr.patching@accenturefederal.com
|
|
|
+Leonard, Wesley A. <wesley.a.leonard@accenturefederal.com>; Waddle, Duane E. <duane.e.waddle@accenturefederal.com>; Nair, Asha A. <asha.a.nair@accenturefederal.com>; Crawley, Angelita <angelita.crawley@accenturefederal.com>; Rivas, Gregory A. <gregory.a.rivas@accenturefederal.com>; Damstra, Frederick T. <frederick.t.damstra@accenturefederal.com>; Poulton, Brad <brad.poulton@accenturefederal.com>; Kuykendall, Charles S. <charles.s.kuykendall@accenturefederal.com>; Williams, Colby <colby.williams@accenturefederal.com>; Naughton, Brandon <brandon.naughton@accenturefederal.com>; Cooper, Jeremy <jeremy.cooper@accenturefederal.com>; Jennings, Kendall <kendall.jennings@accenturefederal.com>; Lohmeyer, Dean <dean.lohmeyer@accenturefederal.com>; XDR-Patching <xdr.patching@accenturefederal.com>
|
|
|
```
|
|
|
|
|
|
```
|
|
@@ -90,13 +90,13 @@ FYI, patching today.
|
|
|
Starting with Moose and Internal infra patching within `GC TEST`. Check disk space for potential issues. Return here to start on PROD after TEST is patched.
|
|
|
```
|
|
|
# Test connectivity between Salt Master and Minions
|
|
|
-salt -C '* not ( afs* or nga* or dc-c19* or la-c19* or bp-ot-demo* or bas-* or doed* or ca-c19* or frtib* or dgi* or threatq* or vmray* )' test.ping --out=txt
|
|
|
+salt -C '* not ( afs* or nga* or dc-c19* or la-c19* or bp-ot-demo* or bas-* or doed* or ca-c19* or frtib* or dgi* or threatq* or vmray* or resolver-vmray* or qcompliance* )' test.ping --out=txt
|
|
|
|
|
|
# Fred's update for df -h - checks for disk utilization at the 80-90% area
|
|
|
-salt -C '* not ( afs* or nga* or dc-c19* or la-c19* or bp-ot-demo* or bas-* or doed* or ca-c19* or frtib* or dgi* or threatq* or vmray* )' cmd.run 'df -h | egrep "[890][0-9]\%"'
|
|
|
+salt -C '* not ( afs* or nga* or dc-c19* or la-c19* or bp-ot-demo* or bas-* or doed* or ca-c19* or frtib* or dgi* or threatq* or vmray* or resolver-vmray* or qcompliance* )' cmd.run 'df -h | egrep "[890][0-9]\%"'
|
|
|
|
|
|
# Review packages that will be updated. some packages are versionlocked (Collectd, Splunk,etc.).
|
|
|
-salt -C '* not ( afs* or nga* or dc-c19* or la-c19* or bp-ot-demo* or bas-* or doed* or ca-c19* or frtib* or dgi* or threatq* or vmray* )' cmd.run 'yum check-update'
|
|
|
+salt -C '* not ( afs* or nga* or dc-c19* or la-c19* or bp-ot-demo* or bas-* or doed* or ca-c19* or frtib* or dgi* or threatq* or vmray* or resolver-vmray* or qcompliance* )' cmd.run 'yum check-update'
|
|
|
|
|
|
#Older commands that are still viable if Fred's one-liner has issues; feel free to skip and move to pkg.upgrade line
|
|
|
salt -C '* not ( afs* or nga* or dc-c19* or la-c19* or bp-ot-demo* or bas-* or doed* or ca-c19* or frtib* or dgi* or threatq* )' cmd.run 'df -h /boot'
|
|
@@ -111,7 +111,7 @@ salt -C '* not ( afs* or nga* or dc-c19* or la-c19* or bp-ot-demo* or bas-* or d
|
|
|
|
|
|
### Also, the phantom_repo pkg wants to upgrade, but we are not ready. Let's exclude that and OpenVPN server to prevent errors.
|
|
|
```
|
|
|
-salt -C '* not ( afs* or nga* or dc-c19* or la-c19* or bp-ot-demo* or bas-* or doed* or ca-c19* or frtib* or dgi* or threatq* or openvpn* or vmray* or phantom-0* )' pkg.upgrade
|
|
|
+salt -C '* not ( afs* or nga* or dc-c19* or la-c19* or bp-ot-demo* or bas-* or doed* or ca-c19* or frtib* or dgi* or threatq* or openvpn* or vmray* or resolver-vmray* or phantom-0* or qcompliance* )' pkg.upgrade
|
|
|
|
|
|
#update phantom, but exclude the phantom repo.
|
|
|
salt -C 'phantom-0*' pkg.upgrade disablerepo='["phantom-base",]'
|
|
@@ -134,7 +134,7 @@ salt -C 'openvpn*' pkg.upgrade
|
|
|
# What about threatq? Ask Duane! It needs special handling.
|
|
|
|
|
|
# Just to be sure, run it again to make sure nothing got missed.
|
|
|
-salt -C '* not ( afs* or nga* or dc-c19* or la-c19* or bp-ot-demo* or bas-* or doed* or ca-c19* or frtib* or dgi* or threatq* or vmray* or phantom-0* )' pkg.upgrade
|
|
|
+salt -C '* not ( afs* or nga* or dc-c19* or la-c19* or bp-ot-demo* or bas-* or doed* or ca-c19* or frtib* or dgi* or threatq* or vmray* or resolver-vmray* or phantom-0* or qcompliance* )' pkg.upgrade
|
|
|
```
|
|
|
> :warning: After upgrades check on Portal to make sure it is still up.
|
|
|
|
|
@@ -248,15 +248,15 @@ watch "salt -C 'vault-3* or sensu*' test.ping --out=txt"
|
|
|
|
|
|
Reboot majority of servers in `GC Test`.
|
|
|
```
|
|
|
-salt -C '*com not ( modelclient-splunk-idx* or moose-splunk-idx* or resolver* or sensu* or threatq-* or vault-3* )' test.ping --out=txt
|
|
|
-date; salt -C '*com not ( modelclient-splunk-idx* or moose-splunk-idx* or resolver* or sensu* or threatq-* or vault-3* )' system.reboot --async
|
|
|
+salt -C '*com not ( modelclient-splunk-idx* or moose-splunk-idx* or resolver* or sensu* or threatq-* or vmray-* or vault-3* )' test.ping --out=txt
|
|
|
+date; salt -C '*com not ( modelclient-splunk-idx* or moose-splunk-idx* or resolver* or sensu* or threatq-* or vmray-* or vault-3* )' system.reboot --async
|
|
|
```
|
|
|
> :warning:
|
|
|
### You will lose connectivity to Openvpn and Salt Master
|
|
|
### Log back in and verify they are back up
|
|
|
|
|
|
```
|
|
|
-watch "salt -C '*com not ( modelclient-splunk-idx* or moose-splunk-idx* or resolver* or sensu* or threatq-* or vault-3* )' cmd.run 'uptime' --out=txt"
|
|
|
+watch "salt -C '*com not ( modelclient-splunk-idx* or moose-splunk-idx* or resolver* or sensu* or threatq-* or vmray-* or vault-3* )' cmd.run 'uptime' --out=txt"
|
|
|
```
|
|
|
|
|
|
Take care of the govcloud Resolvers one at a time. The vmray can be combined with one of the govcloud ones.
|
|
@@ -272,7 +272,7 @@ watch "salt -C 'resolver-govcloud-2.pvt.*com' test.ping --out=txt"
|
|
|
|
|
|
Check uptime on the minions in GC to make sure you didn't miss any.
|
|
|
```
|
|
|
-salt -C '*com not ( modelclient-splunk-idx* or moose-splunk-idx* or threatq-* )' cmd.run 'uptime | grep days'
|
|
|
+salt -C '*com not ( modelclient-splunk-idx* or moose-splunk-idx* or threatq-* or resolver-vmray-* or vmray-server* )' cmd.run 'uptime | grep days'
|
|
|
```
|
|
|
### Duane Section (feel free to bypass)
|
|
|
--
|
|
@@ -319,16 +319,16 @@ watch "salt -C 'vault-1*com or sensu*com' test.ping --out=txt"
|
|
|
|
|
|
Reboot majority of servers in GC.
|
|
|
```
|
|
|
-salt -C '*com not ( afs* or nga* or dc-c19* or la-c19* or dgi-* or moose-splunk-idx* or modelclient-splunk-idx* or bp-ot-demo* or bas-* or doed* or frtib* or ca-c19* or resolver* or vault-1*com or sensu*com or vmray-worker* )' test.ping --out=txt
|
|
|
+salt -C '*com not ( afs* or nga* or dc-c19* or la-c19* or dgi-* or moose-splunk-idx* or modelclient-splunk-idx* or bp-ot-demo* or bas-* or doed* or frtib* or ca-c19* or resolver* or vault-1*com or sensu*com or qcompliance* or vmray-worker* )' test.ping --out=txt
|
|
|
|
|
|
-date; salt -C '*com not ( afs* or nga* or dc-c19* or la-c19* or dgi-* or moose-splunk-idx* or modelclient-splunk-idx* or bp-ot-demo* or bas-* or doed* or frtib* or ca-c19* or resolver* or vault-1*com or sensu*com or vmray-worker* )' system.reboot --async
|
|
|
+date; salt -C '*com not ( afs* or nga* or dc-c19* or la-c19* or dgi-* or moose-splunk-idx* or modelclient-splunk-idx* or bp-ot-demo* or bas-* or doed* or frtib* or ca-c19* or resolver* or vault-1*com or sensu*com or qcompliance* or vmray-worker* )' system.reboot --async
|
|
|
```
|
|
|
> :warning:
|
|
|
### You will lose connectivity to openvpn and salt master
|
|
|
### Log back in and verify they are back up
|
|
|
|
|
|
```
|
|
|
-watch "salt -C '*accenturefederalcyber.com not ( afs* or nga* or dc-c19* or la-c19* or dgi-* or moose-splunk-idx* or modelclient-splunk-idx* or bp-ot-demo* or bas-* or doed* or frtib* or ca-c19* or resolver* or vault-1*com or sensu*com )' cmd.run 'uptime' --out=txt"
|
|
|
+watch "salt -C '*accenturefederalcyber.com not ( afs* or nga* or dc-c19* or la-c19* or dgi-* or moose-splunk-idx* or modelclient-splunk-idx* or bp-ot-demo* or bas-* or doed* or frtib* or ca-c19* or resolver* or vault-1*com or sensu*com or qcompliance* )' cmd.run 'uptime' --out=txt"
|
|
|
```
|
|
|
|
|
|
Take care of the resolvers one at a time and with the `GC Prod Salt Master`. Reboot one of each at the same time.
|
|
@@ -351,7 +351,7 @@ watch "salt -C 'vmray-worker*com' test.ping --out=txt"
|
|
|
|
|
|
Check uptime on the minions in `GC Prod` to make sure you didn't miss any.
|
|
|
```
|
|
|
-salt -C '*accenturefederalcyber.com not ( afs* or nga* or dc-c19* or la-c19* or dgi-* or moose-splunk-idx* or modelclient-splunk-idx* or bp-ot-demo* or bas-* or doed* or frtib* or ca-c19* or resolver* or vault-1*com or sensu*com )' cmd.run 'uptime | grep days'
|
|
|
+salt -C '*accenturefederalcyber.com not ( afs* or nga* or dc-c19* or la-c19* or dgi-* or moose-splunk-idx* or modelclient-splunk-idx* or bp-ot-demo* or bas-* or doed* or frtib* or ca-c19* or resolver* or vault-1*com or sensu*com or qcompliance* )' cmd.run 'uptime | grep days'
|
|
|
```
|
|
|
|
|
|
Verify Portal is up: [Portal](https://portal.xdr.accenturefederalcyber.com/)
|
|
@@ -373,14 +373,14 @@ salt 'moose-splunk-idx*' test.ping --out=txt
|
|
|
# date; salt moose-splunk-idx-63f.pvt.xdrtest.accenturefederalcyber.com system.reboot --async
|
|
|
|
|
|
# Added during Dec 2021 patching
|
|
|
-salt moose-splunk-idx-f6b.pvt.xdrtest.accenturefederalcyber.com test.ping --out=txt
|
|
|
-date; salt moose-splunk-idx-f6b.pvt.xdrtest.accenturefederalcyber.com system.reboot --async
|
|
|
+salt moose-splunk-idx-ad9.pvt.xdrtest.accenturefederalcyber.com test.ping --out=txt
|
|
|
+date; salt moose-splunk-idx-ad9.pvt.xdrtest.accenturefederalcyber.com system.reboot --async
|
|
|
|
|
|
# Indexers take a while to restart
|
|
|
# watch "salt moose-splunk-idx-63f.pvt.xdrtest.accenturefederalcyber.com cmd.run 'uptime' --out=txt"
|
|
|
# salt 'moose-splunk-idx-63f.pvt.xdrtest.accenturefederalcyber.com' test.ping --out=txt
|
|
|
|
|
|
-watch "salt moose-splunk-idx-f6b.pvt.xdrtest.accenturefederalcyber.com cmd.run 'uptime' --out=txt"
|
|
|
+watch "salt moose-splunk-idx-ad9.pvt.xdrtest.accenturefederalcyber.com cmd.run 'uptime' --out=txt"
|
|
|
|
|
|
```
|
|
|
|
|
@@ -393,14 +393,14 @@ salt 'modelclient-splunk-idx*' test.ping --out=txt
|
|
|
# salt 'modelclient-splunk-idx-a74.pvt.xdrtest.accenturefederalcyber.com' test.ping --out=txt
|
|
|
# date; salt modelclient-splunk-idx-a74.pvt.xdrtest.accenturefederalcyber.com system.reboot --async
|
|
|
|
|
|
-salt 'modelclient-splunk-idx-498.pvt.xdrtest.accenturefederalcyber.com' test.ping --out=txt
|
|
|
-date; salt modelclient-splunk-idx-498.pvt.xdrtest.accenturefederalcyber.com system.reboot --async
|
|
|
+salt 'modelclient-splunk-idx-822.pvt.xdrtest.accenturefederalcyber.com' test.ping --out=txt
|
|
|
+date; salt modelclient-splunk-idx-822.pvt.xdrtest.accenturefederalcyber.com system.reboot --async
|
|
|
|
|
|
# Indexers take a while to restart
|
|
|
#watch "salt modelclient-splunk-idx-a74.pvt.xdrtest.accenturefederalcyber.com cmd.run 'uptime' --out=txt"
|
|
|
#salt 'modelclient-splunk-idx-a74.pvt.xdrtest.accenturefederalcyber.com' test.ping --out=txt
|
|
|
|
|
|
-watch "salt modelclient-splunk-idx-498.pvt.xdrtest.accenturefederalcyber.com cmd.run 'uptime' --out=txt"
|
|
|
+watch "salt modelclient-splunk-idx-822.pvt.xdrtest.accenturefederalcyber.com cmd.run 'uptime' --out=txt"
|
|
|
|
|
|
```
|
|
|
#### WAIT FOR SPLUNK CLUSTER TO HAVE 3 CHECKMARKS
|
|
@@ -413,43 +413,43 @@ Repeat the above patching steps for the additional indexers, waiting for `3 gree
|
|
|
# date; salt moose-splunk-idx-d4f.pvt.xdrtest.accenturefederalcyber.com system.reboot --async
|
|
|
|
|
|
# Added during Dec 2021 patching
|
|
|
-salt moose-splunk-idx-7d5.pvt.xdrtest.accenturefederalcyber.com test.ping --out=txt
|
|
|
-date; salt moose-splunk-idx-7d5.pvt.xdrtest.accenturefederalcyber.com system.reboot --async
|
|
|
+salt moose-splunk-idx-b22.pvt.xdrtest.accenturefederalcyber.com test.ping --out=txt
|
|
|
+date; salt moose-splunk-idx-b22.pvt.xdrtest.accenturefederalcyber.com system.reboot --async
|
|
|
|
|
|
# Indexers take a while to restart
|
|
|
# watch "salt moose-splunk-idx-d4f.pvt.xdrtest.accenturefederalcyber.com cmd.run 'uptime' --out=txt"
|
|
|
-watch "salt moose-splunk-idx-7d5.pvt.xdrtest.accenturefederalcyber.com cmd.run 'uptime' --out=txt"
|
|
|
+watch "salt moose-splunk-idx-b22.pvt.xdrtest.accenturefederalcyber.com cmd.run 'uptime' --out=txt"
|
|
|
```
|
|
|
|
|
|
```
|
|
|
# Do the second Modelclient indexer
|
|
|
# salt 'modelclient-splunk-idx-c9f.pvt.xdrtest.accenturefederalcyber.com' test.ping --out=txt
|
|
|
# date; salt modelclient-splunk-idx-c9f.pvt.xdrtest.accenturefederalcyber.com system.reboot --async
|
|
|
-salt 'modelclient-splunk-idx-561.pvt.xdrtest.accenturefederalcyber.com' test.ping --out=txt
|
|
|
-date; salt modelclient-splunk-idx-561.pvt.xdrtest.accenturefederalcyber.com system.reboot --async
|
|
|
+salt 'modelclient-splunk-idx-f28.pvt.xdrtest.accenturefederalcyber.com' test.ping --out=txt
|
|
|
+date; salt modelclient-splunk-idx-f28.pvt.xdrtest.accenturefederalcyber.com system.reboot --async
|
|
|
|
|
|
# Indexers take a while to restart
|
|
|
#watch "salt modelclient-splunk-idx-c9f.pvt.xdrtest.accenturefederalcyber.com cmd.run 'uptime' --out=txt"
|
|
|
-watch "salt modelclient-splunk-idx-561.pvt.xdrtest.accenturefederalcyber.com cmd.run 'uptime' --out=txt"
|
|
|
+watch "salt modelclient-splunk-idx-f28.pvt.xdrtest.accenturefederalcyber.com cmd.run 'uptime' --out=txt"
|
|
|
```
|
|
|
|
|
|
```
|
|
|
# Do the third Moose indexer
|
|
|
-salt moose-splunk-idx-273.pvt.xdrtest.accenturefederalcyber.com test.ping --out=txt
|
|
|
-date; salt moose-splunk-idx-273.pvt.xdrtest.accenturefederalcyber.com system.reboot --async
|
|
|
+salt moose-splunk-idx-568.pvt.xdrtest.accenturefederalcyber.com test.ping --out=txt
|
|
|
+date; salt moose-splunk-idx-568.pvt.xdrtest.accenturefederalcyber.com system.reboot --async
|
|
|
|
|
|
# Indexers take a while to restart
|
|
|
-watch "salt moose-splunk-idx-273.pvt.xdrtest.accenturefederalcyber.com cmd.run 'uptime' --out=txt"
|
|
|
+watch "salt moose-splunk-idx-568.pvt.xdrtest.accenturefederalcyber.com cmd.run 'uptime' --out=txt"
|
|
|
|
|
|
# Do the third Modelclient indexer
|
|
|
# salt 'modelclient-splunk-idx-a2a.pvt.xdrtest.accenturefederalcyber.com' test.ping --out=txt
|
|
|
# date; salt modelclient-splunk-idx-a2a.pvt.xdrtest.accenturefederalcyber.com system.reboot
|
|
|
-salt 'modelclient-splunk-idx-bb5.pvt.xdrtest.accenturefederalcyber.com' test.ping --out=txt
|
|
|
-date; salt modelclient-splunk-idx-bb5.pvt.xdrtest.accenturefederalcyber.com system.reboot --async
|
|
|
+salt 'modelclient-splunk-idx-820.pvt.xdrtest.accenturefederalcyber.com' test.ping --out=txt
|
|
|
+date; salt modelclient-splunk-idx-820.pvt.xdrtest.accenturefederalcyber.com system.reboot --async
|
|
|
|
|
|
# Indexers take a while to restart
|
|
|
# watch "salt modelclient-splunk-idx-a2a.pvt.xdrtest.accenturefederalcyber.com cmd.run 'uptime' --out=txt"
|
|
|
-watch "salt modelclient-splunk-idx-bb5.pvt.xdrtest.accenturefederalcyber.com cmd.run 'uptime' --out=txt"
|
|
|
+watch "salt modelclient-splunk-idx-820.pvt.xdrtest.accenturefederalcyber.com cmd.run 'uptime' --out=txt"
|
|
|
```
|
|
|
```
|
|
|
# Verify all indexers on Moose and Modelclient have been patched:
|