If you are using Solaris AI to provision Linux machines, you must configure and publish the vRealize Automation guest agent as an IPS software package to include in your AI manifest.

Prerequisites

Create or identify an Oracle Solaris IPS Repository. For an example of creating an IPS repository, see Create a Local IPS Repository and Publish the Guest Agent.

Procedure

  1. Log in to the Solaris machine hosting your IPS Repository.
  2. Download the guest agent files from your vRealize Appliance.
    wget  https://vRealize_VA_Hostname_fqdn:5480/installer/LinuxGuestAgentPkgs.zip

    If you are using self-signed certificates, you might have to use the wget option --no-check-certificate. For example:

    wget --no-check-certificate https://vRealize_VA_Hostname_fqdn:5480/installer/LinuxGuestAgentPkgs.zip
  3. Unpack the guest agent files.
  4. Navigate to LinuxGuestAgentPkgs/solaris11-amd64.
  5. Run create_pkg_manifest.sh to establish communication with your Manager Service machine and create a package manifest file gugent-pkg.p5m.
    /bin/bash ./create_pkg_manifest.sh Manager_Service_Hostname_fdqn:port

    The default port for the Manager Service is 443.

  6. Publish your configured guest agent package to your IPS repository.

    For example,

    pkgsend -s /export/my-repository -d gugent-proto gugent-pkg.p5m

Results

You can verify that your configured guest agent package is published in your repository by running the list command for your repository. For example

 pkgrepo list -s http://localhost:9000

Create a Local IPS Repository and Publish the Guest Agent

You configure a Solaris 11.3 virtual machine to serve as your IPS repository and enable remote access to the repository over HTTP connections. You run a script to configure your guest agent to communicate with your manager service, then publish the configured guest agent as an IPS software package on the local repository.

  1. Create or identify a Solaris 11.3 virtual machine with SSH root login enabled.

  2. Log in to the virtual machine as root by using SSH.

  3. Create an IPS Repository called gugent-repo and set the default publisher as VMware.

    root@solaris:~# cd /export
    root@solaris:/export# pkgrepo create gugent-repo
    root@solaris:/export# pkgrepo -s gugent-repo set publisher/prefix=vmware
  4. Configure the application/pkg/server service to enable clients to access the repository over HTTP connections.

    root@solaris:~# svccfg -s application/pkg/server setprop pkg/inst_root=/export/gugent-repo
    root@solaris:~# svccfg -s application/pkg/server setprop pkg/readonly=false
    root@solaris:~# svccfg -s application/pkg/server setprop pkg/port=9000
    root@solaris:~# svcadm refresh application/pkg/server
    root@solaris:~# svcadm enable application/pkg/server
  5. Download a copy of the guest agent from your vRealize Appliance without checking certificates.

    wget --no-check-certificate https://vra01svr01.rainpole.local:5480/installer/LinuxGuestAgentPkgs.zip
  6. Run create_pkg_manifest.sh to establish communication with your Manager Service machine and create a package manifest file called gugent-pkg.p5m.

    /bin/bash ./create_pkg_manifest.sh vra01svr01.rainpole.local:443
  7. Publish your guest agent package.

    pkgsend -s /export/gugent-repo -d gugent-proto gugent-pkg.p5m
  8. Verify that your configured guest agent package is published in your repository.

     pkgrepo list -s http://localhost:9000

What to do next

You must include your configured guest agent software package in your Automated Installer manifest. See Customize your Solaris Automated Installation for Linux Kickstart Provisioning.