Oracle Solaris 11.4 SRU1 is out!

We got the first SRU for Solaris 11.4! Now you can find the 11.4 stream in your “standard” support repository and upgrade easily to the latest version:

root@psvsparc1:~# pkg publisher
PUBLISHER                   TYPE     STATUS P LOCATION
solarisstudio               origin   online F https://pkg.oracle.com/solarisstudio/support/
ha-cluster                  origin   online F https://pkg.oracle.com/ha-cluster/support/
solaris                     origin   online F https://pkg.oracle.com/solaris/support/
root@psvsparc1:~#
root@psvsparc1:~# pkg list -af entire | head -4
NAME (PUBLISHER)                                  VERSION                    IFO
entire (solaris)                                  11.4-11.4.1.0.1.4.0        ---
entire (solaris)                                  11.4-11.4.0.0.1.15.0       ---
entire (solaris)                                  0.5.11-0.175.3.35.0.6.0    i--
root@psvsparc1:~# pkg list -af ha-cluster-framework-full@latest
NAME (PUBLISHER)                                  VERSION                    IFO
ha-cluster/group-package/ha-cluster-framework-full (ha-cluster) 4.4-0.21.0                 ---
root@psvsparc1:~#

This version should include all patches and mostly all IDRs from 11.3 SRU35…

GoGoGo, let’s feel the future 🙂

root@t7primary01:~# pkg list entire@latest
NAME (PUBLISHER)                                  VERSION                    IFO
entire                                            11.4-11.4.1.0.1.4.0        i--
root@t7primary01:~# uname -a
SunOS t7primary01 5.11 11.4.1.4.0 sun4v sparc sun4v

Read more about at OracleBlogs

Fast ZFS Based File Copying

Just a quick try on my new Solaris 11.4… The reflink() function creates a new file with the content of an existing file without reading or writing the underlying data blocks.

root@t7primary01:/downloads# uname -a
SunOS t7primary01 5.11 11.4.0.15.0 sun4v sparc sun4v
root@t7primary01:/downloads# df -h .
Filesystem             Size   Used  Available Capacity  Mounted on
rpool/downloads        1.1T    52G       999G     5%    /downloads
root@t7primary01:/downloads# ls -lh zones.dump
-rw-r--r--   1 root     root         50G Jul 30 09:49 zones.dump
root@t7primary01:/downloads# time cp -z zones.dump zones.dump.zfs.reflink

real	0m11.481s
user	0m0.001s
sys	0m1.932s
root@t7primary01:/downloads# df -h .
Filesystem             Size   Used  Available Capacity  Mounted on
rpool/downloads        1.1T   102G       998G    10%    /downloads
root@t7primary01:/downloads# ls -lh zones.dump*
-rw-r--r--   1 root     root         50G Jul 30 09:49 zones.dump
-rw-r--r--   1 root     root         50G Aug 31 17:29 zones.dump.zfs.reflink
root@t7primary01:/downloads#

That’s cool, isn’t it… might be confusing but seems to be something like a relinking clone which could be very usefull saving space and time…

seems to be here but not really… may become confusing 🙂
used my zfsize:

root@t7primary01:/downloads# $HOME/scripts/zfsize -z rpool/downloads
ZFS = rpool/downloads
Mountpoint = /downloads
TempDir = /tmp
This may take a while ...
FILE	SIZE
/downloads/zones.dump	51331.97 MB
/downloads/zones.dump.zfs.reflink	51331.97 MB
root@t7primary01:/downloads#

VLAN on Virtual Functions (SPARC LDOM)

This example comes from a SuperCluster M7 which runs an SVA version not able to apply VLANs using the GUI:

root@primary:~# ldm stop ssccn1-io-io-dom
root@primary:~# ldm set-io vid=1620,1621,1680,1690 alt-mac-addrs=auto,auto,auto,auto,auto /SYS/CMIOU3/PCIE2/IOVNET.PF0.VF0
root@primary:~# ldm set-io vid=1620,1621,1680,1690 alt-mac-addrs=auto,auto,auto,auto,auto /SYS/CMIOU3/PCIE2/IOVNET.PF1.VF0
root@primary:~# ldm start ssccn1-io-io-dom

I/O Domain (Guest-Domain):

 
root@io-dom:~# ipadm show-addr
root@io-dom:~# ipadm delete-ipmp -f sc_ipmp0
root@io-dom:~# ipadm delete-ip net0
root@io-dom:~# ipadm delete-ip net1
root@io-dom:~# dladm create-vlan -l net0 -v 1680 net0_1680
root@io-dom:~# dladm create-vlan -l net1 -v 1680 net1_1680
root@io-dom:~# ipadm create-ip net0_1680
root@io-dom:~# ipadm create-ip net1_1680
root@io-dom:~# ipadm create-ipmp -i net0_1680 -i net1_1680 sc_ipmp0   
root@io-dom:~# ipadm set-ifprop -p standby=off -m ip net0_1680
root@io-dom:~# ipadm set-ifprop -p standby=on -m ip net1_1680
root@io-dom:~# ipadm create-addr -T static -a 192.168.180.101/24 sc_ipmp0/v4

@SPECTRE

Like already mentioned and updated in my previous post Meltdown and Spectre on SPARC we got some patches from Oracle for Solaris:
Oracle Support Document 2349278.1 (Oracle Solaris on SPARC — Spectre (CVE-2017-5753, CVE-2017-5715) and Meltdown (CVE-2017-5754) Vulnerabilities)

Will update some performance impacts if I see them… please share your experiences about performance issues with those patches….

[Update]
Oracle published a new MOS article about the impact:
Oracle Support Document 2386271.1 (Performance impact of technical mitigation measure against vulnerability CVE-2017-5715 (Spectre v2) on SPARC Servers)

Like on other architectures 2-10% … heard some very bad news from customers using older Intel boxes with up to 70% IO loss… real world examples will be interesting…