|
|
|
System Administration | smsupgrade(1m) |
| smsupgrade - upgrades the SMS software
to the current version |
SYNOPSIS
| smsupgrade [-b] [-r] directory_name |
|
smsupgrade(1M) upgrades SMS software on the main or spare SMS system controllers. Refer to the System Management Services (SMS) 1.4 Installation Guide for instructions on how to upgrade SMS using this command.
If you are not running smsupgrade from the Product directory you must use the absolute path.
If any errors occur, smsupgrade writes error messages to /var/sadm/system/logs/smsupgrade.
|
|
The following option is supported
- -b
- Neither smsbackup(1M) nor smsrestore(1M) are performed.
The default is to run smsbackup to directory /var/tmp before upgrading SMS.
- -h
- Help. Displays usage descriptions.Note Use alone. Any option specified in addition to -h is ignored.
- -p
- Performs post-package add actions only; it does not perform smsbackup or smsrestore. For use after a Web Start installation.
- -r
-
smsrestore(1M) is not performed after the upgrade
The default is to run smsrestore from directory /var/tmp after upgrading SMS.
|
|
The following operands are supported:
-
directory_name
- Name of the directory which contains the SMS packages.
If you are installing from the Web, the path to the Product directory, directory_name, is /download_directory/System_Management_Services_1_3/Product; where download_directory is the location where you downloaded the files from the Web.
If you are installing from CD-ROM, the path to the Product directory, directory_name is /cdrom/cdrom0/System_Management_Services_1_3/Product.
|
|
Group Privileges Required
|
You must have superuser privileges to run this command.
Refer to Chapter 2, "SMS Security Options and Administrative Privileges" in the System Management Services (SMS) 1.4 Administrator Guide for more information.
|
|
| Example 1. Upgrading SMS From CDROM or Web
|
|
sc0:sms-user:> smsupgrade directory_name
Attempting to stop daemon picld
/etc/init.d/picld stop
Verifying that all SMS packages are installed
...............OK
Backing up SMS to /var/tmp/sms_backup.1.3.cpio before upgrade. Please wait. . .
smsbackup /var/tmp
smsbackup: Backup configuration file created: /var/tmp/sms_backup.1.3.cpio
SMS backup complete.
Installing SMS packages. Please wait. . .
pkgadd -n -d "/cdrom/cdrom0/System_Management_Services_1.3/Product" -a
/tmp/smsinstall.admin.26021 SUNWSMSr SUNWSMSop SUNWSMSdf SUNWSMSjh SUNWSMSlp
SUNWSMSmn SUNWSMSob SUNWSMSod SUNWSMSpd SUNWSMSpo SUNWSMSpp SUNWSMSsu
SUNWscdvr.u SUNWufrx.u SUNWufu
Copyright 2002 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
205 blocks
Installation of <SUNWSMSr> was successful.
Copyright 2002 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
61279 blocks
Installation of <SUNWSMSop> was successful.
Copyright 2002 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
32 blocks
Installation of <SUNWSMSdf> was successful.
Copyright 2002 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
2704 blocks
Installation of <SUNWSMSjh> was successful.
Copyright 2002 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
5097 blocks
Installation of <SUNWSMSlp> was successful.
Copyright 2002 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
1696 blocks
Installation of <SUNWSMSmn> was successful.
Copyright 2002 Sun Microsystems, Inc. All rights reserved.
576 blocks
Installation of <SUNWSMSob> was successful.
Copyright 2002 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
1025 blocks
Installation of <SUNWSMSod> was successful.
Copyright 2002 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
1025 blocks
Installation of <SUNWSMSpd> was successful.
Copyright 2002 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
14763 blocks
Installation of <SUNWSMSpo> was successful.
Copyright 2002 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Installation of <SUNWSMSpp> was successful.
Copyright 2002 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
5 blocks
Installation of <SUNWSMSsu> was successful.
Copyright 2002 Sun Microsystems, Inc. All rights reserved.
479 blocks
Installation of <SUNWscdvr> was successful.
Copyright 2002 Sun Microsystems, Inc. All rights reserved.
33 blocks
Reboot client to install driver.
type=ddi_pseudo;name=flashprom uflash\N0
Installation of <SUNWufrx> was successful.
Copyright 2002 Sun Microsystems, Inc. All rights reserved.
13 blocks
Installation of <SUNWufu> was successful.
Verifying that all SMS packages are installed
...............OK
Checking that all installed SMS packages are correct
pkgchk -n SUNWSMSr SUNWSMSop SUNWSMSdf SUNWSMSjh SUNWSMSlp SUNWSMSmn SUNWSMSob
SUNWSMSod SUNWSMSpd SUNWSMSpo SUNWSMSpp SUNWSMSsu SUNWscdvr SUNWufrx SUNWufu
OK
Setting up /etc/init.d/sms run control script for SMS 1.3
New SMS version 1.3 is active
Restoring SMS from /var/tmp/sms_backup.1.3.cpio after upgrade. Please wait. . .
smsrestore /var/tmp/sms_backup.1.3.cpio
Attempting to start daemon picld
/etc/init.d/picld start
smsupgrade complete. Log file is /var/sadm/system/logs/smsupgrade.
#
|
|
Example 2. Installing SMS After Web Start
|
|
sc0:sms-user:> smsupgrade -p directory_name
Verifying that all SMS packages are installed
...............OK
Checking that all installed SMS packages are correct
pkgchk -n SUNWSMSr SUNWSMSop SUNWSMSdf SUNWSMSjh SUNWSMSlp SUNWSMSmn SUNWSMSob
SUNWSMSod SUNWSMSpd SUNWSMSpo SUNWSMSpp SUNWSMSsu SUNWscdvr SUNWufrx SUNWufu
OK
Setting up /etc/init.d/sms run control script for SMS 1.3
New SMS version 1.3 is active
Attempting to restart daemon picld
/etc/init.d/picld stop
/etc/init.d/picld start
smsinstall complete. Log file is /var/sadm/system/logs/smsinstall.
|
|
|
|
The following exit values are returned:
-
0
- Successful completion.
- >0
- An error occurred.
|
|
The following file is used by this command:
-
/var/sadm/system/logs/smsupgrade
-
smsupgrade log file
-
/var/temp/sms_backup.1.3.cpio
- SMS backup file
|
|
See attributes(5) for descriptions of the following attributes.
Attribute Types | Attribute Values |
Availability | SUNWSMSop |
Interface Stability | Evolving |
|
|
smsbackup(1m),smsconfig(1m),smsinstall(1m), smsrestore(1m)
System Management Services (SMS) 1.4 Installation Guide
|
SMS 1.4 | Go To Top | Last Changed 19 September 2003 |
Company Info
|
Contact
|
Copyright 2003 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, CA 95054 USA. All rights reserved.
|