Samba software is provided in the Oracle Solaris package service/network/samba. Perform the following procedure on each node to determine whether the same version of Samba software is installed on all nodes and to install Samba software if necessary.
Before You Begin
Determine how many Samba instances to use. See Multiple Samba Instances That Require winbind.
Create a cluster file system or highly available local file system for the Samba files. For guidelines on locations for Samba files, see Location of Samba Files. For information about the file system for the Samba files, see Chapter 9, Updating Software Packages in Updating Your Oracle Solaris Cluster 4.4 Environment.
Command output is similar to the following.
phys-schost-N# pkg info service/network/samba Name: service/network/samba Summary: samba - A Windows SMB/CIFS fileserver for UNIX Category: System/File System State: Installed Publisher: solaris Version: 3.6.12 Build Release: 5.11 Branch: 0.175.1.7.0.2.0 Packaging Date: Sat Apr 13 00:49:09 2013 Size: 185.70 MB FMRI: pkg://email@example.com,5.11-0.175.1.7.0.2.0:20130413T004909Z
# pkg list -a service/network/samba # pkg publisher PUBLISHER TYPE STATUS P LOCATION solaris origin online F solaris-repository ha-cluster origin online F ha-cluster-repository
For information about setting the solaris publisher, see Adding, Modifying, or Removing Package Publishers in Updating Systems and Adding Software in Oracle Solaris 11.4.
If you do not get any error messages when you use the –nv options, run the command again without the –n option to actually perform the installation or update. If you do get error messages, run the command again with more –v options (for example, –nvv) or more of the package FMRI to get additional information to help you diagnose and fix the problem. For troubleshooting information, see Appendix A, Troubleshooting Package Installation and Update, in Updating Systems and Adding Software in Oracle Solaris 11.4.
phys-schost-N# pkg install service/network/samba
$ pkg info service/network/samba
Installation is successful if output shows that State is Installed.