martedì 17 novembre 2015

VIOS - Solve incomplete installations that prevent updates to be applied

Due to previous broken commit operations , it is not possible to commit the updates .
We aren't able to update our vio servers , but maybe there is a workaround...



viosdr21-int:padmin # updateios -commit
Command did not complete.

Commit did not complete successfully, see install.log for details.

viosdr21-int:padmin # tail -50f install.log    
devices.pciex.e4145616e4140528.rte  USR     6.1.9.30                APPLIED
devices.pciex.e414571614102004.rte  USR     6.1.9.30                APPLIED
devices.sas.rte                     USR     6.1.9.45                APPLIED
devices.scsi.disk.diag.com          USR     6.1.9.30                APPLIED
devices.scsi.disk.rte               USR     6.1.9.45                APPLIED
devices.scsi.disk.rte               ROOT    6.1.9.45                APPLIED
devices.tty.rte                     USR     6.1.9.45                APPLIED
devices.vdevice.IBM.l-lan.rte       USR     6.1.9.45                APPLIED
devices.vdevice.IBM.v-scsi.rte      ROOT    6.1.9.45                APPLIED
devices.vdevice.IBM.v-scsi.rte      USR     6.1.9.45                APPLIED
devices.vdevice.IBM.v-scsi-host.rte USR     6.1.9.45                APPLIED
devices.vdevice.IBM.v-scsi-host.rte ROOT    6.1.9.45                APPLIED
devices.vdevice.IBM.vfc-client.rte  USR     6.1.9.45                APPLIED
devices.vdevice.vbsd.rte            ROOT    6.1.9.45                APPLIED
devices.vdevice.vbsd.rte            USR     6.1.9.45                APPLIED
dsm.core                            USR     6.1.9.45                APPLIED
dsm.core                            ROOT    6.1.9.45                APPLIED
dsm.dsh                             USR     6.1.9.45                APPLIED
ios.artex_profile.rte               USR     6.1.9.45                APPLIED
ios.cli.man.es_ES                   USR     6.1.9.30                APPLIED
ios.cli.man.fr_FR                   USR     6.1.9.30                APPLIED
ios.database.solid                  USR     6.1.9.30                APPLIED
ios.lparmgr.cim.rte                 USR     6.1.9.30                APPLIED
ios.migration.rte                   USR     6.1.9.45                APPLIED
ios.migration.rte                   ROOT    6.1.9.45                APPLIED
ios.paging.rte                      ROOT    6.1.9.45                APPLIED
ios.paging.rte                      USR     6.1.9.45                APPLIED
ios.sea                             USR     6.1.9.45                APPLIED
ios.sea                             ROOT    6.1.9.45                APPLIED
perfagent.tools                     ROOT    6.1.9.45                APPLIED
perfagent.tools                     USR     6.1.9.45                APPLIED
pool.basic.rte                      USR     6.1.9.45                APPLIED
pool.basic.rte                      ROOT    6.1.9.45                APPLIED
printers.rte                        USR     6.1.9.45                APPLIED
printers.rte                        ROOT    6.1.9.45                APPLIED
sysmgt.websm.rte                    USR     6.1.9.15                APPLIED
wio.fcp                             USR     6.1.9.45                APPLIED

END:Tue Nov 17 15:16:01 2015:111714160115

BEGIN:Tue Nov 17 15:16:01 2015:111714160115
Command line is:
installp -e install.log -c all  
0503-434 installp:  There are incomplete installation operations
       on the following filesets.  Run installp -C to clean up
       the previously failed installations before continuing.

       sysmgt.websm.rte

END:Tue Nov 17 15:16:01 2015:111714160115
q^Cviosdr21-int:padmin # oem_setup_env  
viosdr21-int:root # installp -C
0503-409 installp:  bosboot verification starting...
0503-497 installp:  An error occurred during bosboot verification processing.

As a workaround we can edit /usr/sbin/bosboot and place an exit 0 row just after the shebang, save the file and retry the cleanup operation.



viosdr21-int:root # vi /usr/sbin/bosboot  


viosdr21-int:root # installp -C
0503-409 installp:  bosboot verification starting...
installp:  bosboot verification completed.
0503-408 installp:  bosboot process starting...
0503-292 This update will not fully take effect until after a
       system reboot.

   * * *  A T T E N T I O N  * * *
   System boot image has been updated. You should reboot the
   system as soon as possible to properly integrate the changes
   and to avoid disruption of current functionality.

installp:  bosboot process completed.

installp:  Cleaning up software for:
       sysmgt.websm.rte 6.1.9.15


Installation Summary
--------------------
Name                        Level           Part        Event       Result
-------------------------------------------------------------------------------
sysmgt.websm.rte            6.1.9.15        ROOT        CLEANUP     SUCCESS   
viosdr21-int:root #



So let's go trying after bring the bosboot file to the original situation removing the added row.

Let's become padmin again and issue :

viosdr21-int:padmin # updateios -commit            
All updates have been committed.

viosdr21-int:padmin #


viosdr21-int:padmin #

Nessun commento: