Tsafs not loading with settings in tsafs.conf . Duplicate cluster volumes showing up in Syncsort

  • 7002465
  • 27-Jan-2009
  • 30-Apr-2012

Environment

Novell Open Enterprise Server 2 (OES 2)
Novell Open Enterprise Server (Linux based)
Syncsort Tape Backup Software
NCS Clustering

Situation

Tsafs did not load with the tsamode settings specified in the tsafs.conf file if the server was rebooted or the smdrd was reloaded with rcnovell-smdrd restart. /opt/novell/sms/bin/smsconfig -t would always show the tsafs loaded in default mode: tsafs after the reboot or restart. When working properly, smsconfig -t should have returned tsafs --tsamode=Dual. (which is what was in the tsafs.conf file) This was causing problems with Syncsort not being able to find the cluster resources. Setting the tsamode=Dual with smsconfig caused duplicate cluster resources to show up in Syncsort. These could not be backed up.  We tried setting the various modes for tsafs with smsconfig. These worked ok. The problem was setting them in the tsafs.conf file. The settings in this file did not appear to be recognized as the smsconfig -t output was always just tsafs, and nothing else when restarting smdrd, or rebooting the box. Tsafs had to be manually set to Linux mode everytime.

Resolution

 
Setting the tsa mode to Dual is what caused the duplicate cluster volumes that couldn't be backed up. Syncsort suggest using Linux mode, which is the only way to backup both the linux volumes, and the cluster volumes (assuming they are on the master cluster node).
 
/opt/novell.sms/bin/./smsconfig -u tsafs
/opt/novell/sms/bin/./smsconfig -l tsafs --tsamode=Linux or (Dual or Netware)
 
When the TSAFS options are set in the tsafs config file they are not seen from smsconfig -t. This is because tsafs picks them up directly from the configuration file. When you  "vi tsafs.conf" and set tsamode="dual", tsafs picks it up but smsconfig is not aware of it and hence smsconfig -t won't show it. You can use DE and connect to the IP of the server, you'll see both the "Linux file system" and "NetWare file system" targets are displayed if the tsafs.conf file has tsamode as dual. There is one other way to pass options to tsafs which is also visible to smsconfig. You can edit the /etc/opt/novell/sms/smdrd.conf file so that the "autoload: tsafs" line becomes "autoload: tsafs --tsamode=Linux (Netware or Dual) ". This way smsconfig will be aware of the arguments passed to tsafs and display it with the smsconfig -t option.