Alternate ways to install Plug-ins Package for Linux or AIX

Contributors netapp-soumikd

Install on multiple remote hosts using cmdlets

You should use the Install-SmHostPackage PowerShell cmdlet to install the SnapCenter Plug-ins Package for Linux or SnapCenter Plug-ins Package for AIX on multiple hosts.

What you will need

You should be logged in to SnapCenter as a domain user with local administrator rights on each host on which you want to install the plug-in package.

Steps

  1. Launch PowerShell.

  2. On the SnapCenter Server host, establish a session using the Open-SmConnection cmdlet, and then enter your credentials.

  3. Install the SnapCenter Plug-ins Package for Linux or SnapCenter Plug-ins Package for AIX using the Install-SmHostPackage cmdlet and the required parameters.

    You can use the -skipprecheck option when you have already installed the plug-ins manually and do not want to validate whether the host meets the requirements to install the plug-in.

    Note The precheck script does not validate the plug-in port firewall status if it is specified in the firewall reject rules.
  4. Enter your credentials for remote installation.

The information regarding the parameters that can be used with the cmdlet and their descriptions can be obtained by running Get-Help command_name. Alternatively, you can also refer to the SnapCenter Software Cmdlet Reference Guide.

Install on cluster host

You should install SnapCenter Plug-ins Package for Linux or SnapCenter Plug-ins Package for AIX on both the nodes of the cluster host.

Each of the nodes of the cluster host has two IPs. One of the IPs will be the public IP of the respective nodes and the second IP will be the cluster IP that is shared between both the nodes.

Steps

  1. Install SnapCenter Plug-ins Package for Linux or SnapCenter Plug-ins Package for AIX on both the nodes of the cluster host.

  2. Validate that the correct values for SNAPCENTER_SERVER_HOST, SPL_PORT, SNAPCENTER_SERVER_PORT, and SPL_ENABLED_PLUGINS parameters are specified in the spl.properties file located at /var/opt/snapcenter/spl/etc/.

    If SPL_ENABLED_PLUGINS is not specified in spl.properties, you can add it and assign the value SCO,SCU.

  3. On the SnapCenter Server host, establish a session using the Open-SmConnection cmdlet, and then enter your credentials.

  4. In each of the nodes, set the preferred IPs of the node using the Set-PreferredHostIPsInStorageExportPolicy sccli command and the required parameters.

  5. In the SnapCenter Server host, add an entry for the cluster IP and corresponding DNS name in C:\Windows\System32\drivers\etc\hosts.

  6. Add the node to the SnapCenter Server using the Add-SmHost cmdlet by specifying the cluster IP for the host name.

Discover the Oracle database on node 1 (assuming the cluster IP is hosted on node 1) and create a backup of the database. If a failover happens, you can use the backup created on node 1 to restore the database on node 2. You can also use the backup created on node 1 to create a clone on node 2.

Note There will be stale volumes, directories, and lock file if the failover happens while any other SnapCenter operations are running.

Install Plug-ins Package for Linux in silent mode or console mode

You can install the SnapCenter Plug-ins Package for Linux either in console mode or in silent mode by using the command-line interface (CLI).

What you will need

  • You should review the prerequisites for installing the plug-ins package.

  • You should ensure that the DISPLAY environment variable is not set.

    If the DISPLAY environment variable is set, you should run unset DISPLAY, and then try to manually install the plug-in.

About this task

You are required to provide the necessary installation information while installing in console mode, whereas in silent mode installation you do not have to provide any installation information.

Steps

  1. Download the SnapCenter Plug-ins Package for Linux from the SnapCenter Server installation location.

    The default installation path is C:\ProgramData\NetApp\SnapCenter\PackageRepository. This path is accessible from the host where the SnapCenter Server is installed.

  2. From the command prompt, navigate to the directory where you downloaded the installation file.

  3. Depending on your preferred mode of installation, perform one of the following step.

    Install mode Steps

    Console mode

    1. Run:

      ./SnapCenter_linux_host_plugin.bin –i console

    2. Follow the on-screen prompts to complete the installation.

    Silent mode

    Run:

    ./SnapCenter_linux_host_plugin.bin-i silent-DPORT=8145-DSERVER_IP=SnapCenter_Server_FQDN-DSERVER_HTTPS_PORT=SnapCenter_Server_Port-DUSER_INSTALL_DIR==/opt/custom_path

  4. Edit the spl.properties file located at /var/opt/snapcenter/spl/etc/ to add SPL_ENABLED_PLUGINS=SCO,SCU, and then restart the SnapCenter Plug-in Loader service.

Important The installation of the plug-ins package registers the plug-ins on the host and not on the SnapCenter Server. You should register the plug-ins on the SnapCenter Server by adding the host using the SnapCenter GUI or PowerShell cmdlet. While adding the host, select “None” as the credential. After the host is added, the installed plug-ins are automatically discovered.

Install Plug-ins Package for AIX in silent mode

You can install the SnapCenter Plug-ins Package for AIX in silent mode by using the command-line interface (CLI).

What you will need

  • You should review the prerequisites for installing the plug-ins package.

  • You should ensure that the DISPLAY environment variable is not set.

    If the DISPLAY environment variable is set, you should run unset DISPLAY, and then try to manually install the plug-in.

Steps

  1. Download the SnapCenter Plug-ins Package for AIX from the SnapCenter Server installation location.

    The default installation path is C:\ProgramData\NetApp\SnapCenter\PackageRepository. This path is accessible from the host where the SnapCenter Server is installed.

  2. From the command prompt, navigate to the directory where you downloaded the installation file.

  3. Run

    ./snapcenter_aix_host_plugin.bsx-i silent-DPORT=8145-DSERVER_IP=SnapCenter_Server_FQDN-DSERVER_HTTPS_PORT=SnapCenter_Server_Port-DUSER_INSTALL_DIR==/opt/custom_path-DINSTALL_LOG_NAME=SnapCenter_AIX_Host_Plug-in_Install_MANUAL.log-DCHOSEN_FEATURE_LIST=CUSTOMDSPL_USER=install_user

  4. Edit the spl.properties file located at /var/opt/snapcenter/spl/etc/ to add SPL_ENABLED_PLUGINS=SCO,SCU, and then restart the SnapCenter Plug-in Loader service.

Important The installation of the plug-ins package registers the plug-ins on the host and not on the SnapCenter Server. You should register the plug-ins on the SnapCenter Server by adding the host using the SnapCenter GUI or PowerShell cmdlet. While adding the host, select “None” as the credential. After the host is added, the installed plug-ins are automatically discovered.