Go to main content

Oracle® Solaris Cluster Data Service for Samba Guide

Exit Print View

Updated: February 2020

How to Install and Verify Samba Software

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

  1. Assume the root role.
  2. Determine whether Samba software is already installed on any nodes in the cluster and, if so, which version is installed.

    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
    Packaging Date: Sat Apr 13 00:49:09 2013
              Size: 185.70 MB
              FMRI: pkg://solaris/service/network/samba@3.6.12,5.11-
  3. For any cluster node that is not already installed with the correct version of Samba software, install the Samba software package.
    1. Ensure that the Samba package is available from the configured publisher and that the solaris publisher is valid.
      # 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.

      Tip  -  Use the –nv options whenever you install or update to see what changes will be made, such as which versions of which packages will be installed or updated and whether a new BE will be created.

      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.

    2. Install the Samba software package.
      phys-schost-N# pkg install service/network/samba
    3. Verify that the package installed successfully.
      $ pkg info service/network/samba

      Installation is successful if output shows that State is Installed.

Next Steps

Go to How to Prepare the Cluster for HA for Samba.