# SGA 4 Upgrade

Administrators need to schedule a maintenance window to upgrade their SGA VM(s) to ensure users know not to access the SGA-enabled workload VMs while the SGA upgrade is in progress. Administrators can use the [Maintenance Mode](https://docs.difr.com/books/platform-administrators-guide/page/maintenance-mode) feature to alert users that the account is undergoing maintenance.

<p class="callout warning">**Caution**   
 The time to perform an SGA upgrade will depend on the infrastructure your account is using, infrastructure traffic, and the number of SGA Nodes to be deployed.</p>

## Automatically Deployed SGA Nodes

To upgrade your SGA 4 VMs, add new SGA nodes. Once the new SGA nodes are **Available** under **Streaming Gateways** page for the SGA Cluster, power off the old SGA 4 nodes to test the new SGA 4 nodes. If those new SGA 4 nodes work, then delete the old SGA 4 nodes.

## Manually Deployed SGA Nodes

Add new SGA node(s) for the existing SGA Cluster in **Streaming Gateways** page to obtain the Registration Code(s). Then manually provision new SGA node(s) using those Registration Code(s).

Once the new SGA node(s) are availabe, power off the old SGA 4 nodes in your cloud infrastructure console to test the new SGA 4 nodes. If those new SGA 4 nodes work, then delete the old SGA 4 nodes from your cloud infrastructure console.