5.3 NCS Installation and Configuration

Novell Cluster Services for Linux must be installed on the OES 2018 server before you can configure Samba to work in a cluster. NCS provides a Samba resource template, which facilitates the configuration of Samba in a cluster environment. This requires that you use Linux Logical Volume Manager commands to set up the volume group and add information to the Samba resource template.

You can alternatively use the Generic File System template (GenericFS_template) for your shared LVM volume group, and add lines from the Samba tempate’s scripts for the volume group cluster resource. The Novell Logical Volume Manager (NLVM) commands and NSSMU automatically use the GenericFS_template to create the volume group cluster resource.

Both methods to generate a Samba resource are described below. Choose either method to create your Samba resource, then continue to configure Samba for the resource.

5.3.1 Setting Up a Shared Disk Subsystem

Before you start installing NCS, review the Shared Disk Scenarios section of the OES 2018: Novell Cluster Services for Linux Administration Guide and identify a hardware configuration that meets your network’s needs.

A typical cluster configuration includes a shared disk subsystem (Storage Area Network, or SAN) that is connected to all servers in the cluster. The shared disk subsystem can be connected via Fibre Channel hardware, SCSI adapters, or iSCSI connections. Follow the manufacturer’s instructions to set up the shared disk subsystem and ensure that it is functional before proceeding.

For Linux volumes, each shared disk will contain one Linux LVM (Logical Volume Manager) volume group with one Linux POSIX volume.

5.3.2 Preparing the Cluster

Install Novell Cluster Services and configure the cluster. For information, see Installing, Configuring, and Repairing Novell Cluster Services in the OES 2018: Novell Cluster Services for Linux Administration Guide.

IMPORTANT:Ensure that you install the latest patches for SUSE Linux Enterprise Server 12 SP2. Clustered LVM volume groups require Linux kernel version 2.6.32.45-0.3 or later.

In addition to selecting Novell Cluster Services as part of the OES 2018 software installation, you should also select and configure the following:

  • NetIQ eDirectory: NetIQ eDirectory must be installed on the network in order for Novell Cluster Services to be able to create the necessary Cluster objects in the tree. All servers in the cluster must be in the same eDirectory tree.

  • Novell iManager: Novell iManager is required to configure and manage Novell Cluster Services, and must be installed on at least one server in the same tree as the cluster.

  • Samba Access for NSS and NCP Volumes: (Optional) Novell Storage Services (NSS) and NCP Server must be installed if you want to use NSS volumes or NCP volumes on Linux POSIX file systems in the cluster.

  • Resource IP Address: A unique IP address is required for each shared disk’s cluster resource.

For more information on installing and configuring OES services, see the OES 2018: Installation Guide.

5.3.3 Installing Novell Samba

If you have not already done so, install and configure the Novell Samba pattern on each cluster server that will share the Samba resource. This package can be installed when you install your OES server. You can also install it afterward by using the Open Enterprise Server > OES Install and Configuration option in YaST.

When you configure Novell Samba on subsequent OES 2018 servers after the first server in the tree, you must select the IP address of the master LDAP server (the server holding the master replica of the partition) for the Directory Server Address setting, not the IP address of the server you are installing.

Ensure that the Base Context for Samba Users is set to the container where you plan to create your Samba users, or to a container above that in the eDirectory tree. By default, the Base Context for Samba Users is set to the same container where the eDirectory Admin user is created. The users that you want to access the shared Samba resource must be located in this container or in a subcontainer. If your Samba users are located in a different branch of the tree, you must change the base context setting when you configure Novell Samba.

For more information on installing and configuring Novell Samba, see Section 3.0, Installing Novell Samba for OES.