Author: Binoy Thomas
This article explains the procedure for installing ZDML SP1 IR2 (ZEN 7 SP1 for Linux) or later versions on OES2 SP1 cluster using iSCSI. iSCSI is a protocol that permits remote access of various mediums. The iSCSI protocol permits remote access of storage via standard TCP/IP. This would be very useful for testers to test ZDML on a cluster when the SAN and related cluster hardware (Fiber Channels and HBA card etc.) are not available. This describes the product installation on a two node cluster but the same can be used with clusters having more nodes.
Minimum System Requirements
- Two machines for cluster nodes (OES2 supported)
- One for ISCSI target
- OES2 SP1
- SLES10 SP2 (as ISCSI target)
- Total four static IPs. Two for cluster nodes, one for shared resource(Pool), and one as Cluster Master IP.
Important steps involved in the setup:
Note: Please ensure that the steps are performed in the following order.
- Install OES2 SP1 on two cluster nodes
- Install SLES10 SP2 and configure the iSCSI target
- Configure the iSCSI initiator on both cluster nodes
- Start Novell Cluster service on both nodes
- Create POOL and VOLUME on the iSCSI partition from any one of the nodes and mount it
- Check the cluster using iManager
- Install ZDML on both nodes
- Take the shared resource offline and then to online and check whether all ZDML services are started or not
1. Install OES2 on two cluster nodes
2. Install SLES10 SP2 and configure the iSCSI target
During the SLES installation, leave some space to create the iSCSI partition.
Create a partition without formatting. No mount point should be mentioned as it needs to be mounted using iSCSI initiators from cluster nodes.
Configure the iSCSI target using YaST
Run yast2 iscsi-server. For test setup, only the 'Services' and 'Targets' tabs need to be modified.
Select "When Booting" under the Service tab. Need not select iSNS server.
Click on the "Targets" tab. Delete any entry that already exists and add the target as shown below.
Click on 'Add' and browse and select a partition that you want to make as the iscsi target, say /dev/hda3
In the following example, it is /dev/cciss/c0d0p3.
3. Configure iSCSI initiator on both cluster nodes
Here we are not using iSNS and authentication. Start the iSCSI initiators on each node as shown below.
- Run yast2 iscsi-client
- Make the service start as "When booting"
Select the 'connected targets' tab and click on 'add'. Enter the iSCSI target machine's IP address then click next.
Click on 'connect' to establish connection with iSCSI target then click next and again click next.
Ensure the "start-up" is marked as automatic, otherwise click on 'Toggle Startup' to make it automatic.
Now the iSCSI partition can be seen on the nodes as a virtual disk. It can be verified by "yast2 disk".
4. Start Novell Cluster service on both nodes
Start the cluster service using YaST, run yast2 ncs.
Provide eDirectory credentials and select 'New Cluster'. Give the cluster IP address as shown below.
Note: Select the shared media as storage device. (In the example it is sdb.)
Then run 'yast2 ncs' from second node and add it to the cluster by selecting 'existing cluster'.
5. Create POOL and VOLUME on the iSCSI partition from any one of the nodes and mount it
This volume will act as the shared storage for the cluster invoke partitioning tool by "nssmu" from one of the node's command line and select 'pools'.
Press insert on pool to make a new pool, and give the resource IP address.
Then create a volume in the pool.
6. Check the cluster using iManager
Access iManager of the node https://node_IP/nps and give the eDirectory credentials. Use Cluster Manager to view the cluster as shown below.
7. Install ZDML on both nodes
Ensure the shared resource is mounted on node 1 before starting the ZDML installation on it.
Once the installation on node 1 is finished, migrate the shared resource to node 2 and complete the ZDML installation on it. (the mount point cannot be specified during the ZDML installation without migrating the shared resource to respective node)
8. Take the shared resource offline and then to online (using cluster manger in iManager) to start all ZDML services
- Installing ZENworks 7 Desktop Management with SP1 in an OES Linux Cluster Environment (Refer to the Appendixes section B.11 Installing ZENworks 7 Desktop Management with SP1 in an OES Linux Cluster Environment)
- OES Novell Cluster Services 1.8.2 Administration Guide for Linux(It will provide Novell clustering concepts)
Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).
It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.