Patching stand-alone MSSQL Server
a)Add servers to maintenance window of Zabbix to suppress alerts
b)Check data directory of registry
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL15.<instance_name>\Setup\SQLDataRoot
c)Backup database with copy_only mode
d)Stop application if needed (confirm with application owner)
e)Pathing MSSQL Server and restart server if needed
f)Start application if needed(confirm with application owner)
g)Remove servers from maintenance window of Zabbix to active alerts
h)Check status of database and data synchronization
i)Contact application owner to check status of application
Patching Mirror-topology MSSQL Server (Primary:Node_A,Mirror:Node_B)
a)Add Node_A and Node_B to maintenance window of Zabbix to suppress alerts
b)Check data directory of registry
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL15.<instance_name>\Setup\SQLDataRoot
c)Backup databases on Node_A with copy_only mode
d)Stop application if needed (confirm with application owner)
e)Suspend mirror from Node_A
f)Pathing Node_B and restart server if needed
g)Resume mirror from Node_A
h)Failover mirror to Node_B
i)Suspend mirror from Node_B
j)Patching node_A and restart server if needed
k)Resume mirror from Node_B
l)Failove mirror to Node_A
m)Start application if needed(confirm with application owner)
n)Remove Node_A and Node_B from maintenance window of Zabbix to active alerts
o)Check status of database and data synchronization
p)Contact application owner to check status of application
Patching Mirror&log shipping-topology MSSQL Server(Primary:Node_A,Mirror:Node_B, Logshipping:Node_C)
a)Add Node_A ,Node_B and Node_C to maintenance window of Zabbix to suppress alerts
b)Check data directory of registry
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL15.<instance_name>\Setup\SQLDataRoot
c)Backup databases on Node_A with copy_only mode
d)Stop application if needed (confirm with application owner)
e)Change log shipping mode from read_only to norecovery on Node_C
f)Patching Node_C and restart server if needed
g)Stop log backup job on Node_A
h)Suspend mirror from Node_A
i)Pathing Node_B and restart server if needed
j)Resume mirror from Node_A
k)Failover mirror to Node_B
l)Suspend mirror from Node_B
m)Patching node_A and restart server if needed
n)Resume mirror from Node_B
o)Failove mirror to Node_A
p)Change log shipping mode backup from norecovery to read_only
q)Start application if needed(confirm with application owner)
r)Remove Node_A,Node_B and Node_C from maintenance window of Zabbix to active alerts
s)Check status of database and data synchronization
t)Contact application owner to check status of application