After BOS installation you will be able to determine maintenance level.
The general syntax of the oslevel command is -
# oslevel [ -l Level | -g Level | -q ] [ -r ] [ -f ]
-l filesets earlier than the maintenance levels
-g filesets later than the current maintenance level.
-r Applies all flags to Recommended Maintenance Levels
-f Forces cache rebuilt
-q Lists names of known maintenance levels, use with -l flag.
To show current maintenance level of system
# oslevel -r
O/p → 5300-03
Here 03 means maintenance level is 3.
Note:-Do not confuse this output with the M in V.R.M.F.
Software Installation:-
- Software can be installed in one of two states: applied or committed.
- The applied state places Software on the system. It retains the previous Version of the Software.
- When an update is in the applied state Previous Version is stored in the /usr/LPP/PackageName directory. This process is useful for deploying or testing new Software, where it may be necessary to go back to the previousVersion of the Software in case of errors.
- The committed state places Software on the system and removes all previous levels of the Software from the /usr/LPP/PackageName directory
- If committed Software needs to be removed, you cannot go back to the previous Version without a complete reinstall of the previous Version Software.
- We recommend you install new Software in the applied state, rather than the committed state, until the newSoftware has been thoroughly tested.
- Sofware are installed by using installp command.
Command to install Software in an Applied State :-
# installp -a [ -eLogFile ] [ -V Number ] [ -dDevice ] { FilesetName [ Level ]… | -f ListFile | all }
Command to install Software in an Commited State:-
installp -ac [ -N ] [ -eLogFile ] [ -V Number ] [ -dDevice ] { FilesetName [ Level ]… | -f ListFile | all }
For Example- To install all filesets within the bos.net Software Package in Applied State
# installp -avX -d /usr/sys/inst.images bos.net
To preview an install of all filesets within the bos.net Software Package in /usr/sys/inst.images directory in the Committed State
# installp -acpX -d /usr/sys/inst.images bos.net
# cat /var/adm/sw/installp.summary ( record of the installp output will found in this file)
Committing applied updates :-
For Example : To Commit all updates, type
# installp -cgX all
Rejecting applied updates :-
For Example-:, to reject all applied updates listed in the file ./reject.list, type
# installp -rBfX ./reject.list
Removing installed Software:-
For Example, to preview a remove of bos.net.ipsec.rte and its dependents, type
# installp -ugp -V2 bos.net.ipsec.rte
Cleaning up after failed installations :-
For Example , to do cleanup of all fileset for reinstallation, type
# installp -C
Listing all installable Software on media :-
For example, to list the Software that is on your CD-ROM, type
# installp -L -d /dev/cd0
Software Installation Using Smit command:-
You all are now familiar with installpcommand for S/W installation but S/W’s installation can be done by using SMIT.
To install Software products:
# smitty install_latestspan>
INPUT DEVICE / directory for Software |
SOFTWARE TO INSTALL → [_all_latest] |
Committing applied updates :-
# smitty install_commit
SOFTWARE NAME → [all] |
Rejecting applied updates :-
# smitty install_reject
SOFTWARE NAME → [] (Press F4 on the SOFTWARE name field to select the Software update you want to reject.) |
Removing installed Software:-
# smitty install_remove
SOFTWARE NAME → [] ( Press F4 → Select the Software you want to remove by pressing F7, followed by Enter) |
No comments:
Post a Comment