Install Plug-ins Package for Linux or AIX using the command-line interface

Contributors netapp-soumikd netapp-asubhas Download PDF of this page

You can install SnapCenter Plug-ins Package for Linux or SnapCenter Plug-ins Package for AIX locally on the Linux or AIX host respectively. You can use the command-line interface to install the plug-ins package.

The SnapCenter Plug-ins Package for Linux or SnapCenter Plug-ins Package for AIX should be installed on each Linux or AIX hosts respectively, where the Oracle database resides.

Install Plug-ins Package for Linux interactively

You can install the SnapCenter Plug-ins Package for Linux interactively on a Linux host.

What you will need

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

  • You should set the DISPLAY environment variable to specify the IP address and port number of the Linux host where you want to launch the wizard.

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\Package Repository. This path is accessible from the host where the SnapCenter Server is installed.

  2. Copy the installation file to the host on which you want to install the plug-in.

  3. From the command prompt, navigate to the directory where you downloaded the installation file and run: ./SnapCenter_linux_host_plugin.bin –i swing

  4. Follow the on-screen prompts in the wizard to install the plug-ins package.

  5. Click Finish to complete the installation.

Install Plug-ins Package for Linux or AIX 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.

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.

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. 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.

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. After the host is added, the installed plug-ins are automatically discovered.