Menu

Home

David Stes

After setting up an IPS repository with the LGTOrepo script, it is possible to install the NetWorker software using:

# pkg install -v LGTOman LGTOcltn LGTOrc LGTOxtdclnt LGTOnode

This installation is similar to the one using "pkgadd" but it uses IPS pkg instead. The pkgadd method is more interactive, while the IPS method does not ask for a /nsr/res/servers file (it installs without a list of backup servers, although that the LGTOrepo script could deal with a customized local backup server restriction).

Note that the IPS package names correspond mostly - and intentionally - to the SVR4 (System-V R4) package names as distributed by Dell EMC but there is one special package : LGTOrc. This is a package of our own that packages the NetWorker RC scripts :

# pkg contents LGTOrc
PATH
etc/init.d/networker
etc/rc0.d/K05networker
etc/rc3.d/S95networker

After installation of the LGTOrc package, rebooting the Solaris operating system will automatically start the nsrexecd client process as a legacy_run service:

# svcs -a | grep networker
legacy_run     17:03:10 lrc:/etc/rc3_d/S95networker

The storage node software LGTOnode also works with the IPS method, but some differences are : the SVR4 package will modify the /etc/system, while our method delivers a 'fragment' that forceloads the Solaris sgen device driver :

# pkg contents LGTOnode | grep system.d
etc/system.d/emc:LGTOnode

Instead of modifying the /etc/system (which is possble with IPS , because IPS defines /etc/system as overlay=allow), we prefer to put the sgen forceload command in a fragment :

# ls /etc/system.d
emc:LGTOnode
# cat /etc/system.d/emc\:LGTOnode
#begin - added by LGTOnode - do not EDIT
forceload: drv/sgen
#end - added by LGTOnode - do not EDIT

Basically after installing all of the above packages, the Solaris machine can serve as a SCSI storage node and the "inquire" command will work.

When updating the software one obviously should NOT mix the different methods such as SVR4 pkgadd or IPS pkg, or NetWorker nsrpush.

The IPS method is one of the available methods, especially interesting when used with Automated Installer to automatically deploy and to patch ( update) a large number of Solaris hosts (in an enterprise setup).

The NetWorker software can be installed via an Automated Installer "manifest" as follows :

        <publisher name="emc">
          <origin name="http://192.168.0.1/"/>
        </publisher>

      <software_data action="install">
        <name>pkg:/entire@11.4-11.4</name>
        <name>pkg:/group/system/solaris-minimal-server</name>
      </software_data>
      <software_data action="install">
        <name>pkg://emc/LGTOrc</name>
        <name>pkg://emc/LGTOman</name>
        <name>pkg://emc/LGTOclnt</name>
        <name>pkg://emc/LGTOxtdclnt</name>
      </software_data>

Note the "software_data" action in the AI manifest which instructs the Solaris installer to automatically install the NetWorker packages.

For more info also see my paper on this : Installing NetWorker 9.2 with an Automated Installer manifest on Oracle Solaris 11