OpenIndiana: Difference between revisions

From Hack Sphere Labs Wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
==Upgrading==
=
 
=Upgrading=


If you are currently running OpenIndiana oi_147 or oi_148, first, verify you have the correct publishers set:
If you are currently running OpenIndiana oi_147 or oi_148, first, verify you have the correct publishers set:
Line 37: Line 39:


{{ Note | You may want to upgrade your zpool if you have a new version of ZFS }}
{{ Note | You may want to upgrade your zpool if you have a new version of ZFS }}
===References===
==References==
*http://wiki.openindiana.org/oi/oi_151a+Release+Notes
*http://wiki.openindiana.org/oi/oi_151a+Release+Notes
*http://wiki.openindiana.org/oi/Upgrading+OpenIndiana
*http://wiki.openindiana.org/oi/Upgrading+OpenIndiana


==Interesting==
=Interesting=
*http://wiki.openindiana.org/oi/Spec+Files+Extra+Repository
*http://wiki.openindiana.org/oi/Spec+Files+Extra+Repository
*http://www.solarisinternals.com/wiki/index.php/ZFS_Best_Practices_Guide#Using_ZFS_Snapshots
*http://www.solarisinternals.com/wiki/index.php/ZFS_Best_Practices_Guide#Using_ZFS_Snapshots
*http://www.dansketcher.com/solaris-sata-support-for-onboard-chipsets/
*http://www.dansketcher.com/solaris-sata-support-for-onboard-chipsets/

Revision as of 19:41, 16 January 2012

=

Upgrading

If you are currently running OpenIndiana oi_147 or oi_148, first, verify you have the correct publishers set:

pfexec pkg publisher

PUBLISHER TYPE STATUS URI openindiana.org (preferred) origin online http://pkg.openindiana.org/dev/

If your openindiana.org publisher is set to a different URI, for example http://pkg.openindiana.org/dev-il/ (our release candidate branch), you can correct this with:

pfexec pkg set-publisher -O http://pkg.openindiana.org/dev/ openindiana.org

opensolaris.org publisher If you currently have the opensolaris.org publisher set, we would highly recommend unsetting it by running:

pfexec pkg unset-publisher opensolaris.org

Make sure pkg is up to date:

pfexec pkg install package/pkg

You can now identify what will be upgraded by issuing the command:

pfexec pkg image-update -nv

The -n flag specifies to perform no action (i.e. perform a trial run), and the -v flag is the verbose option, to provide additional output.

I always do big upgrades in screen so:

screen

If you are satisfied with the actions to be taken, you can perform the upgrade by typing:

pfexec pkg image-update -v

You may want to consider also passing the "--be-name" flag to give the new boot environment created a more memorable name, such as oi_151a.

Note: You may want to upgrade your zpool if you have a new version of ZFS

References

Interesting