Troubleshooting for Netware

From SEPsesam
Redirect page
Jump to: navigation, search

<<Back

Checking the reachability of the TSA services

To determine all available TSAs of a NetWare/OES Server

  • Example with a Netware server (the sbc_smdr command has to be executed on a machine with package sesam-novell-client installed)
 #> /opt/sesam/bin/sesam/sbc_smdr -D -N "nw1:::admin.admins.mydomain:novell:0" "/NetWare"
 2007-03-21 16:42:50: sbc-3500: Info:     ::/NetWare
 2007-03-21 16:42:50: sbc-3036: Info:     # @(#)SESAM BACKUP CLIENT FOR NETWARE FILE SYSTEMS, VERSION: 1.8R3 Build: 1.161 20070320 17:31:00 Linux i386 abas #
 2007-03-21 16:42:50: sbc-3074: Info:     Backup start time [20070321164250]
 2007-03-21 16:42:50: sbc-3500: Info:     Starting Session "SESAM SBC_NLM Session" ...
 2007-03-21 16:42:52: sbc-3500: Info:     NW1.NetWare File System 
 "NW1.NetWare File System" d_ 2000.01.01 00:00:00 2000.01.01 00:00:00 4096 - ,
 2007-03-21 16:42:52: sbc-3500: Info:     NW1.Novell Directory 
 "NW1.Novell Directory" d_ 2000.01.01 00:00:00 2000.01.01 00:00:00 4096 - ,

In this case the TSAFS (NW1.NetWare File System) and TSANDS (NW1.Novell Directory) are loaded.


  • Example with an OES(2)-Linux server
 #> /opt/sesam/bin/sesam/sbc_smdr -D -N "oesnix1::oesnix1:backup:novell:0" "/NetWare"
 2007-03-21 15:55:01: sbc-3500: Info:     ::/NetWare
 2007-03-21 15:55:01: sbc-3036: Info:     # @(#)SESAM BACKUP CLIENT FOR NETWARE FILE SYSTEMS, VERSION: 1.8R3 Build: 1.161 20070320 17:31:00 Linux i386 abas #
 2007-03-21 15:55:01: sbc-3074: Info:     Backup start time [20070321155501]
 2007-03-21 15:55:01: sbc-3500: Info:     Starting Session "SESAM SBC_NLM Session" ...
 2007-03-21 15:55:01: sbc-3500: Info:     OESNIX1.GroupWise System 
 "OESNIX1.GroupWise System" d_ 2000.01.01 00:00:00 2000.01.01 00:00:00 4096 - ,
 2007-03-21 15:55:01: sbc-3500: Info:     OESNIX1.Linux File System
 "OESNIX1.Linux File System" d_ 2000.01.01 00:00:00 2000.01.01 00:00:00 4096 - ,

The TSAFSGW (OESNIX1.GroupWise System) and TSAFS (OESNIX1.Linux File System) are loaded here.


To determine the sources (resources) of a Target Service File System

Depending on your installed services, these TSA's are visible:

  • NetWare File System
  • Linux File System
  • GroupWise System
  • Novell Directory
  • iFolder Store
  • Linux Cluster File System
  • NetWare Cluster File System


Not able to browse or backup a NetWare Server

Reason

Either no TSA is loaded or the inserted datamover is wrong.

Resolution

Restart the "NetWare File System" with unload TSAFS and load TSAFS.
Edit the properties of the NetWare server in Sesam and adjust the datamover in the tab NetWare Access.


Sesam Error: Client returns no data

Problem

This appears in /var/log/messages on OES Linux client:

 nds_nss_GetGroupsbyMember: failed to init socket, status = 0
 nds_nss_GetPwdbyName: init sock returned 0
 nds_nss_GetPwdbyName: init sock returned 0
 nds_nss_GetPwdbyName: init sock returned 0
Solution

Fix the lum setup so eDirectory authentication can complete.


Error messages during a backup and how to solve it

Error message

(0XFFFDFFD7) "Login denied"

Reason

Invalid username or password. Edit the properties of the client in Sesam and adjust the login data in the tab NetWare Access respectively Novell SMS.


Error message

(0XFFFDFFCD) "A data stream cannot be opened." respectively "Unable to open a data stream."

Reason

The user is not permitted to access all data. Change the user name or adjust the permission.


Error message

0XFFFEFFCC) "Could not write an object to NDS or write to a stream." or (0XFFFEFFB1) "Connection to remote host is lost. Remote host mighthave disconnected."

Reason

Either the TSA or the smdr deamon is not running. Check TSA with /opt/novell/sms/bin/smsconfig -t. Further information in next section.


Error message

(0XFFFDFFDC) "An invalid path was used."

Reason

Either a wrong backup path was used or the TSAFS was loaded in an incorrect mode. In case of --tsamode=dual it's just possible to use a linux path. The source "NetWare server" backs up all existent volumes respectively "VOL-NAME:" backs up a specific volume when using --tsamode=netware. The Option --tsamode=linux supports "<path to the volumes/volumename" only. In case of a restore also insufficient access rights could be a reason for this message.

Enable debug mode for TSA

http://www.novell.com/coolsolutions/tip/17179.html

Files keep locked several minutes after backup and server freezes spontaneous, reset necessary

Update the sesam-novell-client to version 3.4.1.78 or higher to solve this problem.


File based backup is faster than Novell volume backup

After disabling the TSA-cache, the performance of a Novell based backup will be increased. Also the system load will be decreased.
Edit the file /etc/opt/novell/sms/tsafs.conf, change the line
cachingmode=enable
to
cachingmode=disable

and apply the settings with rcnovell-smdrd restart.


Checking performance and availability of a NSS volume via tsatest on OES2


tsatest -u root -p unsecure
Backs up the resource ’/ ’using the supplied credentials.

tsatest --path=/home -u root -p unsecure
Backs up the resource ‘/home' using the supplied credentials.

tsatest -s ACME_SERVER -v SYS: --path=SYSTEM -u root -p unsecure
Backs up the NetWare target SYS:\SYSTEM on ACME_SERVER using the supplied credentials.

tsatest -b 131072 -u root -p unsecure
Backs up the / resource using the supplied credentials and a buffer size of 131072 bytes.

tsatest -s ACME_SERVER -u root -p unsecure
Backs up the resource ’/ ’ on server ACME_SERVER using the supplied credentials. This will perform a remote backup if ACME_SERVER is not the server on which tsatest is loaded/executed.

tsatest --path=/proc/usb -u root -p unsecure -c 6144
Backs up the resource /proc/usb using the supplied credentials. Excludes all datastreams and extended attributes. The value 6144 is arrived by a bitwise ORing of the values for NWSM_EXCLUDE_EXTENDED_ATTRIBUTS (0x0800) and NWSM_EXCLUDE_DATA_STREAMS (0x1000).

tsatest --cluster -s CLUSTER_OBJECT_CLUSTERPOOL_SERVER
Backs up the NetWare virtual server node represented by CLUSTER_OBJECT_CLUSTERPOOL_SERVER.

tsatest --cluster -s CLUSTER_OBJECT_CLUSTERPOOL_SERVER -v RESOURCE_ON_THE_CLUSTER_POOL
Backs up the specified volume, ’RESOURCE_ON_THE_CLUSTER_POOL’ on the NetWare virtual server node represented by CLUSTER_OBJECT_CLUSTERPOOL_SERVER.


To check the performance on a NetWare server, please use this instruction: http://support.novell.com/docs/Tids/Solutions/10092890.html