Alcatel Carrier Internetworking Solutions omniswitch Switch User Manual


 
Managing System Files Registering Software Image Files
OmniSwitch 6600 Family Switch Management Guide March 2005 page 2-27
Using the Install Command
The install command verifies that the version number of the new file is compatible with files already on
the switch. It will also perform installation procedures required by the new file or the switch. Once these
procedures are completed, the install command will update the appropriate switch files so the newly regis-
tered file can be used. The new software must be loaded into the working directory of the switch in order
for the install command to work.
To register an image file that has been loaded into the switch’s working directory, enter the following
command along with the name of the file being registered:
-> install Hos.img
In this example, Hos.img is the name of the file being registered.
Note. You can use wildcards with the install command. For example to install all image files in the current
directory, use the following command:
-> install *.img
For more information, refer to “Using Wildcards” on page 2-7.
Executing the install command adds comments to the “Release” archive and package name; in addition,
version numbers are updated in the “Release” archive.
When the install command is executed it will perform a set of default operations to ensure version
compatibility. If the registration can not succeed without intervention or if there is a compatibility prob-
lem, the registration will be aborted and an error message will display.
Note. All registration processes take place within the working directory of the switch. New files are never
directly written to the certified directory. It is possible to perform registration procedures in the working
directory even if the switch is running off the files in the working directory. If the switch is booted using
files in the certified directory, no immediate effect from the registration will be realized until the system is
restarted from the working directory. If the system was booted from the working directory, the new soft-
ware will be immediately available for use by the system following the successful completion of the regis-
tration process.