smsversion(1M) can be used to switch between two co-installed (and consecutively released) versions of SMS.
Note SMS 1.1 and SMS 1.3 are not consecutive releases and you cannot switch from one to the other using smsversion. You must do a fresh installation. Refer to the System Management Services (SMS) 1.4 Installation Guide for more information.
smsversion permits two-way SMS version-switching between sequential co-resident installations on the same operating environment but with the following conditions:
Condition | Explanation |
New features | The features supported in the newer version of SMS may not be supported in the older version. Switching to an older version of SMS can result in the lose of those features. Also, the settings for the new features might be erased. |
Flash PROM differences | Switching versions of SMS requires reflashing the CPU flash PROMs with the correct files. These files can be found in the /opt/SUNWSMS/<SMS_version>/firmware directory. Use flashupdate(1M) to reflash the PROMs after you have switched versions. Refer to the flashupdate man page, Chapter 11 of the System Management Services (SMS) 1.4 Administrator Guide and the System Management Services (SMS) 1.4 Installation Guide for more information on updating flash PROMs. |
smsversion, when invoked with no command-line argument, displays the list of all properly installed versions of SMS on the current system controller. You can pick from that list, and smsversion stores a copy of the current configuration environment and then switches all necessary software links necessary for activating the new version of the software. smsversion can run with an optional command-line argument specifying the target version for switching.
Once smsversion completes the switch, the target version becomes the active version. To restore the configuration automatically saved by smsversion you must use smsrestore(1M). Your previous configuration is not automatically restored as part of the version switch.
To restore your previous configuration do one of the following:
- Turn off failover and stop SMS. Then run smsrestore.
-
Note If you changed your network configuration using smsconfig
-m after you created the backup you just restored, you must run smsconfig
-m and reboot now.
- Start SMS and turn on failover. For information about manually starting and stopping SMS refer to the System Management Services (SMS) 1.4 Installation Guide .
If any errors occur, smsversion writes error messages to /var/sadm/system/logs/smsversion.
|