Upgrade SnapCenter plug-ins and hosts
You can upgrade SnapCenter plug-ins from SnapCenter, or you can upgrade only the Java, .NET, or PowerShell components on a host without changing the plug-in version. Choose the option that fits your environment, and put the hosts in maintenance mode before you start.
| Option | When to use | Do you stop and start the services manually? |
|---|---|---|
Plug-in upgrade from SnapCenter |
You upgrade the plug-in by using the SnapCenter user interface. |
No. SnapCenter stops and starts the services. |
Component-only upgrade |
You change only Java, .NET, or PowerShell (for example, to address a CVE). The plug-in version stays the same. |
Yes. You must stop and start the services. |
|
|
Keep the older Java, .NET, and PowerShell versions installed until you verify that the host is healthy with the new versions. |
Plug-in upgrade from SnapCenter
-
Place all affected hosts in maintenance mode.
-
Prepare prerequisites before the plug-in upgrade (install side by side; do not remove the old version yet):
-
Java 17 — set
JAVA_HOMEto Java 17; verify that the commandjava -versionshows version as 17 (On Windows, if the registry default is still Java 11, the upgrade might fail even when Java 17 is installed.) -
.NET andPowerShell as required by your SnapCenter release.
-
-
From SnapCenter, upgrade the plug-in on the host.
-
Confirm the host and services are healthy in SnapCenter.
-
Uninstall the older Java, .NET, and PowerShell versions if no other application on the host requires them.
-
Take hosts out of maintenance mode.
|
|
|
Component-only upgrade (no plug-in upgrade)
-
Place all affected hosts in maintenance mode.
-
Stop the SnapCenter plug-in services as described in Stop services before the upgrade.
-
Clear stale processes if the stop process did not clean them up.
-
Install the new Java, .NET, and PowerShell versions and update the configuration as needed (for example, set
JAVA_HOME). -
Start the SnapCenter plug-in services as described in Start services after the upgrade.
-
Confirm the host status and services in SnapCenter.
-
Uninstall the older Java, .NET, and PowerShell versions if no other application on the host requires them.
-
Take hosts out of maintenance mode.
Stop services before the upgrade
Stop the SnapCenter plug-in services on the host before you install the new Java, .NET, or PowerShell versions.
-
Run the following commands on the plug-in host:
-
/opt/NetApp/snapcenter/spl/bin/spl stop -
/opt/NetApp/snapcenter/scc/bin/scc stop
-
-
Check for remaining SnapCenter processes by running
ps -ef | grep -i snapcenter. -
If stale processes remain, run the following commands:
-
pkill -f scAgent -
pkill -f '/opt/NetApp/snapcenter/spl' -
pkill -f '/opt/NetApp/snapcenter/scc'
-
-
Run
ps -ef | grep -i snapcenteragain to confirm that no SnapCenter processes remain before you continue.
-
In PowerShell on the plug-in host, run
Stop-Service -Name PluginCreatorService -Force. -
Confirm that the service is stopped.
-
Stop any remaining Java and agent processes before you continue.
Start services after the upgrade
After you install and configure the new Java, .NET, or PowerShell versions, start the SnapCenter plug-in services on the host.
-
Run the following commands on the plug-in host:
-
/opt/NetApp/snapcenter/spl/bin/spl start -
/opt/NetApp/snapcenter/scc/bin/scc start
-
-
In PowerShell on the plug-in host, run
Start-Service -Name PluginCreatorService.
Process checklist
-
Place the hosts in maintenance mode.
-
Install the prerequisites side by side: Java 17 with
JAVA_HOMEset, and .NET and PowerShell as required. -
Upgrade the plug-in from SnapCenter.
-
Confirm the host and services are healthy.
-
Uninstall the older Java, .NET, and PowerShell versions if no other application on the host requires them.
-
Take the hosts out of maintenance mode.
-
Place the hosts in maintenance mode.
-
Stop the services and clear stale processes (use
pkillon Linux and AIX if needed). -
Install the new Java, .NET, and PowerShell versions and update the configuration.
-
Start the services.
-
Confirm the host and services are healthy.
-
Uninstall the older Java, .NET, and PowerShell versions if no other application on the host requires them.
-
Take the hosts out of maintenance mode.
|
|
|