Installing a Mixed Node Cluster in VMware
Novell Cool Solutions: Feature
By Bhogilal Hirani
|
Digg This -
Slashdot This
Posted: 31 May 2005 |
Novell's Bhogilal Hirani details how to install a mixed node cluster (NetWare and Linux) in VMware.
Tips
- Install and create the NetWare node first.
- Install and create the Linux node next.
- Start iSCSI, NSS, NCS or chkconfig <all 3> on.
- Create all resources on the NetWare node.
Demonstration
- Start the NetWare server.
- initstrt.ncf (Starts initiator, connects to target, loads NCS.)
- Start the Linux server.
- iSCSI will start automatically
- Novell-nss will start automatically
- Check connections: iSCSI-ls
- Check devices: sfdisk -l
- Check sbd partition:
/opt/Novell/ncs/bin/sbdutil -f
/opt/Novell/ncs/bin/sbdutil -v
cat /proc/ncs/sbdlib
- Start NCS.
Setup
Install NetWare node
- server name oesnw
- oestree/admin/Novell/192.168.1.10 ? 255.255.255.0
Install VMware tools
- VM > Install VMware Tools
- vmwtools:\setup.ncf
- When the installation finishes, the message VMware Tools for NetWare are now running appears in the Logger Screen.
Configure iSCSI
- Create iSCSI partition using nssmu ? label iSCSI sbd (20Mb) and iSCSI data (500Mb).
- Make oesnw a trustee of the target objects.
- Connect to the Target
- ION
- iSCSInit connect 192.168.1.10
- iSCSInit info
Set up Single Node Cluster
- Copy ncsinstall.jar to the snapin directory.
- Create the cluster ? master ip address 192.168.1.15
- Add NetWare node to the cluster.
- Use TBX to copy sys:system\_ldncss.ncf and _uldncss.ncf to LDNCS.NCF AND ULDNCS.NCF
Create the sbd partition on the 20 Mb partitions.
- clstrlib
- sbdlib
- vll
- gipc
- sbd
- sbd install
Start Cluster Services on the NetWare node
LDNCS
You should end up with a single node cluster.
BUT YOU CANNOT MANAGE IT AS MASTER IP ADDRESS IS DELETED (VMware ISSUE). ADD SECONDARY IPADDRESS 192.168.1.15 TO THE NetWare SERVER
Install Linux node
- Install gcc, kernel-source, binutils, make, Linux-iSCSI
(Do not select Novell-nss and Novell-ncs -- will be done later.) - Enter root password.
- Change the network configuration to have the following:
- ip address 192.168.1.20/255.255.255.0
- hostname=oeslinux
- domainname=training.Novell.com
- Don't test the connection to the internet.
- Add the server to an existing tree with an existing server (oestree/192.168.1.10).
- Authenticate admin/Novell.
- NTP server 192.168.1.10
- User authentication method= LOCAL (etc/password)
- After server reboots check the following:
- /etc/init.d/namcd status
- /etc/init.d/ndsd status
- ndsstat
- ndslogin .admin.Novell
Install VMware tools
- Start vm to runlevel 3
- On tty2 ? login as root (su -), mount the VMware Tools virtual CD-ROM image, change to a working directory (for example, /tmp), uncompress the installer, then unmount the CD-ROM image.
- mount /dev/cdrom /mnt
- cd /tmp
- tar zxf /mnt/VMware-Linux-tools.tar.gz
- umount /mnt
- Run the VMware Tools installer.
- cd VMware-tools-distrib
- ./VMware-install.pl
REBOOT
Reboot.
Configure iSCSI
- Make the Linux server a trustee of the targets.
- Edit the initiatorname.isci and iscsi.conf files
- Initiatorname.iscsi:
initiatorname.iscsi=iqn.1987-05.cisco:cn=<Linuxserver>,o=<context> - iSCSIconf
DiscoveryAddress = <IP of Target Server>
FirstBurstLength=262144
MaxRecvDataSegmentLength=262144
MaxBurstLength=262144 - Start iSCSI: /etc/init.d/iscsi start
- Check connections: iscsi-ls
- Check drives: sfdisk -l
Install Novell-nss and Novell-ncs
- YaST -> System
- Install into existing cluster
Restart both the nodes..
Start oesnw
- initstrt.ncf
- ion
- iscsinit connect 192.168.1.10
- iscsinit info
- ?ldncs
- add secondary ipaddress <master IP address>
Start oeslin
- Start NCS.
- /etc/init.d/Novell-ncs start
- Check sbd partition:
- /opt/Novell/ncs/bin/sbdutil -f
- /opt/Novell/ncs/bin/sbdutil -v (((((sbd view all)))))
Start order
- iSCSI
- nss
- ncs
- Create an NSS pool on the second iSCSI partition using the NetWare node and cluster-enable it.
- Create a volume in the pool and copy some files to it.
- Migrate the volume to the Linux node.
- Issue the mount command to see the mount point.
- Make changes to a file and migrate back to NetWare.
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

