Upgrading from Opensolaris b134 to Solaris 11 Express

Right it’s here – so having carefully weighed up all the pros and cons and in no way just blindly updating just for the sake of it without thinking through the consequences – here goes upgrading from a running opensolaris b134 to solaris 11express. I’ve only ever installed things using ‘pkg install’ no weird stuff, either as binaries or compiled myself, so I guess if any system will upgrade cleanly this one should.

<UPDATE> – although Solaris 11 express installed OK I managed to paint myself int a corner and couldn’t configure the COMSTAR Fiber Channel stuff.

Read further but to get round the error message about qlc/qlt driver I unbound them both an continued with the upgrade. But that mean’t for some reason that I couldn’t get the qlt (or qlc) drivers to bind with the HBA in the upgraded system.

SO BEWARE – if you have a OpenSolaris system setup as a SAN server using the qlt driver – be carefull when you upgrade.

I guess I should have gone back and unbound the qlt driver and bound the original qlc driver then let it upgrade but I don’t have time to experiment I need to get the SAN back in time for the Night Garden! So I did a fresh install of S11EXP – – it all works just fine.

</UPDATE>

First just to check (since these are the important bits for me – ZFS and COMSTAR)…
root@sol:~# pfexec zpool upgrade
This system is currently running ZFS pool version 22.

root@sol:~# sbdadm -V
sbdadm: Version 1.0

There’s a simple explanation of how to update opensolaris to Solaris 11 Express in the release notes which seems like a good place to start (http://docs.sun.com/app/docs/doc/821-1479/gklaa).

I haven’t reproduced the whole procedure but here’s some output (the initial image-update in my case downloaded 214MB and took about 23 minutes (on a ADSL internet connection).

root@sol~#date
Tuesday, January 11, 2011 02:44:27 PM GMT
root@sol:~# pfexec pkg image-update
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                              783/783   9885/9885  214.0/214.0

PHASE                                        ACTIONS
Removal Phase                              4788/4788
Install Phase                              5235/5235
Update Phase                             13585/13585

A clone of opensolaris exists and has been updated and activated.
On the next boot the Boot Environment opensolaris-1 will be mounted on ‘/’.
Reboot when ready to switch to this updated BE.

root@sol:~# date
Tuesday, January 11, 2011 03:07:34 PM GMT

Fine then followed the rest of the instructions with one tiny wrinkle – the #pkg install pkg:/package/pkg needs to be performed BEFORE the #pkg image-update 2>&1 | less bit otherwise you just see a blank screen.

The the final stage #pkg image-update --accept this is the one that took the real time of course downloading 700MB and taking 1hr 15minutes. In fact when I did ‘#pkg image-update’ I got an error message about the qlc/qlt drivers!

Action upgrade failed for ‘qlc’ (pkg://solaris/driver/network/qlc):

RuntimeError: The ‘qlc’ driver shares the alias ‘pciex1077,2432’ with the ‘qlt’
driver; both drivers cannot be installed simultaneously.  Please remove
the package delivering ‘qlt’ or ensure that the package delivering
‘qlc’ will not be installed, and try the operation again.
The running system has not been modified. Modifications were only made to a clone of the running system.  This clone is mounted at /tmp/tmpmuuw38 should you wish to inspect it.
pkg: image-update failed: The ‘qlc’ driver shares the alias ‘pciex1077,2432’ with the ‘qlt’
driver; both drivers cannot be installed simultaneously.  Please remove
the package delivering ‘qlt’ or ensure that the package delivering
‘qlc’ will not be installed, and try the operation again.

This is due to installing different drivers in order to get qlogic FC card to act as a target (see – http://wikis.sun.com/display/OpenSolarisInfo/How+to+Configure+Fibre+Channel+Ports) which gives instructions to upgrade qlc (default) drivers to qlt. To overcome this I decided to unbind the qlt driver

root@sol#update_drv -d -i ‘pciex1077,2432’ qlt
Cannot unload module: qlt
Will be unloaded upon reboot.

after a reboot…
root@sol:~# update_drv -d -i ‘pciex1077,2432’ qlt
Alias not bound to driver qlt.
root@sol:~# update_drv -d -i ‘pciex1077,2432’ qlc
Alias not bound to driver qlc.

so try again with ‘pkg image-update –accept’ this time (because the files are already downloaded it took just 10 minutes) no error were reported.

Tuesday, January 11, 2011 05:34:58 PM GMT
root@sol:~# pkg image-update –accept
Refreshing catalog 2/2 solarisate
————————————————————
Package: pkg://solaris/consolidation/osnet/osnet-incorporation@0.5.11,5.11-0.151.0.1:20101104T230646Z
License: usr/src/pkg/license_files/lic_OTN

Oracle Technology Network Developer License Agreement

[SNIP – remove license statement]
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                              940/940 43821/43821  699.8/699.8

PHASE                                        ACTIONS
Removal Phase                            19373/19373
Install Phase                            28531/28531
Update Phase                             37984/37984

A clone of opensolaris-1 exists and has been updated and activated.
On the next boot the Boot Environment opensolaris-3 will be mounted on ‘/’.
Reboot when ready to switch to this updated BE.

—————————————————————————
NOTE: Please review release notes posted at:

http://docs.sun.com/doc/821-1479
—————————————————————————

root@sol:~# date
Tuesday, January 11, 2011 05:44:06 PM GMT

reboot and hey presto everything has gone Oracle (don’t really like the new branding but then I’m not a dot-com millionaire so what do I know.).

The setup for the first network interface is badly broken somehow – something to do with me setting a static IP in the /etc/nwam/llp file maybe? Plugging a cable into another interface and using DHCP gets me online just fine! Oh yes and it’s sneakily changed my locale to the US I don’t think I live in the US (CHECK am I living in a trailer with my sister – NO, do I harbor ill advised urges to invade sovereign nations and install a ‘democracy’ – NO) so I didn’t want it to.

The solution to the keyboard map behaviour is to reset your keymap
# svccfg -s keymap:default setprop keymap/layout = UK-English
# svcadm refresh keymap
# svcadm restart keymap
# svcadm restart hal

I haven’t noticed any other problems yet (I do need to go back and work out the FC issue with qlc/qlt drivers now – I guess just rebind the qlt driver again).

Checkout the same versions as I did at the beginning…
root@sol:~#zpool upgrade
This system is currently running ZFS pool version 31.

root@sol:~# sbdadm -V
sbdadm: Version 1.0

99 Comments

  1. Rafael Said,

    December 21, 2014 @ 4:49 am

    .

    ñïñ….

  2. gerard Said,

    December 21, 2014 @ 10:26 pm

    .

    tnx!…

  3. Nelson Said,

    December 22, 2014 @ 9:50 am

    .

    ñïñ!…

  4. Joey Said,

    December 22, 2014 @ 12:35 pm

    .

    ñïàñèáî!…

  5. sean Said,

    December 22, 2014 @ 1:07 pm

    .

    ñïàñèáî çà èíôó!…

  6. Kevin Said,

    December 22, 2014 @ 1:40 pm

    .

    ñïàñèáî çà èíôó….

  7. Leo Said,

    December 22, 2014 @ 2:13 pm

    .

    áëàãîäàðñòâóþ….

  8. Terrence Said,

    December 22, 2014 @ 2:45 pm

    .

    ñïñ!…

  9. donnie Said,

    December 24, 2014 @ 5:26 am

    .

    ñïàñèáî çà èíôó!!…

  10. Mario Said,

    December 24, 2014 @ 6:27 am

    .

    áëàãîäàðñòâóþ!!…

  11. todd Said,

    December 24, 2014 @ 9:05 am

    .

    áëàãîäàðåí!…

  12. marc Said,

    December 24, 2014 @ 4:33 pm

    .

    ñïñ!!…

  13. Phillip Said,

    December 24, 2014 @ 5:20 pm

    .

    ñýíêñ çà èíôó….

  14. herbert Said,

    December 24, 2014 @ 5:50 pm

    .

    ñïñ çà èíôó!…

  15. mark Said,

    December 24, 2014 @ 6:22 pm

    .

    áëàãîäàðþ!…

  16. Brandon Said,

    December 25, 2014 @ 11:40 pm

    .

    tnx for info!!…

  17. Terrence Said,

    January 15, 2015 @ 3:55 pm

    .

    good….

  18. Rodney Said,

    January 16, 2015 @ 2:59 am

    .

    ñïñ!!…

  19. mathew Said,

    January 18, 2015 @ 12:56 am

    .

    ñïñ!…

  20. Antonio Said,

    January 18, 2015 @ 2:16 pm

    .

    thanks….

  21. walter Said,

    January 20, 2015 @ 4:21 pm

    .

    ñïñ!!…

  22. otis Said,

    January 20, 2015 @ 4:45 pm

    .

    good!…

  23. alex Said,

    January 22, 2015 @ 2:46 am

    .

    ñýíêñ çà èíôó!!…

  24. Rex Said,

    January 23, 2015 @ 10:39 am

    .

    áëàãîäàðþ!!…

  25. lawrence Said,

    January 27, 2015 @ 8:22 am

    .

    ñïàñèáî çà èíôó!…

  26. Walter Said,

    January 27, 2015 @ 8:56 am

    .

    ñïñ çà èíôó….

  27. Calvin Said,

    January 27, 2015 @ 9:29 am

    .

    ñïàñèáî çà èíôó!!…

  28. brett Said,

    January 27, 2015 @ 10:02 am

    .

    good!…

  29. Sidney Said,

    January 27, 2015 @ 10:28 am

    .

    ñïñ çà èíôó!…

  30. joel Said,

    January 29, 2015 @ 10:57 am

    .

    tnx for info!…

  31. everett Said,

    January 29, 2015 @ 6:13 pm

    .

    thanks….

  32. ralph Said,

    January 30, 2015 @ 2:19 am

    .

    áëàãîäàðþ!!…

  33. Edward Said,

    January 31, 2015 @ 9:16 am

    .

    ñýíêñ çà èíôó….

  34. Jeremiah Said,

    February 3, 2015 @ 1:56 pm

    .

    good info!…

  35. Clyde Said,

    February 3, 2015 @ 2:27 pm

    .

    good….

  36. oliver Said,

    February 4, 2015 @ 2:15 am

    .

    ñïñ çà èíôó….

  37. ron Said,

    February 5, 2015 @ 5:51 pm

    .

    ñïñ….

  38. Edwin Said,

    February 6, 2015 @ 6:13 pm

    .

    good!…

  39. alfonso Said,

    February 7, 2015 @ 1:47 am

    .

    tnx for info!…

  40. kurt Said,

    February 7, 2015 @ 11:21 am

    .

    hello!!…

  41. enrique Said,

    February 7, 2015 @ 11:52 am

    .

    thank you!…

  42. Daniel Said,

    February 7, 2015 @ 2:34 pm

    .

    ñïñ!!…

  43. Christian Said,

    February 8, 2015 @ 3:57 am

    .

    ñïñ!!…

  44. eduardo Said,

    February 8, 2015 @ 4:27 am

    .

    thanks for information!!…

  45. Ben Said,

    February 11, 2015 @ 7:30 am

    .

    thank you!!…

  46. ted Said,

    February 12, 2015 @ 7:44 pm

    .

    ñïàñèáî….

  47. Gary Said,

    February 13, 2015 @ 8:36 am

    .

    ñýíêñ çà èíôó….

  48. Guy Said,

    February 14, 2015 @ 4:10 am

    .

    tnx for info!!…

  49. Manuel Said,

    February 14, 2015 @ 4:41 am

    .

    áëàãîäàðñòâóþ….