Results 1 to 7 of 7
-
02-23-2009, 03:48 AM #1Member
- Join Date
- Sep 2007
- Posts
- 22
- Thanks
- 0
- Thanked 0 Times in 0 Posts
Automating the Storage Agent Startup in SUSE Linux
Hi,
I am trying to add dsmsta in startup so that it autostart each time the server is rebooted. I am able to start the dsmsta service manually on a Suse Linux server.
To automate i have followed the instructions in the guide book:
1. Log in to the system as user root
2. Copy the file dsmsta.rc from the directory where the storage agent is installed to /etc/init.d:, for example: cp /opt/tivoli/tsm/StorageAgent/bin/dsmsta.rc /etc/init.d
3. Check to ensure that the file has execute permission, for example: chmod 755 /etc/init.d/dsmsta.rc
4. Create a link to /etc/init.d/dsmsta.rc called dsmsta.rc in /etc/rc.d/rcx.d, where x is the run level.
Still its not running automatically. Is there any logs which i can check to troubleshoot the issue ?
Thanks
-------------------
TSM BA Client 5.5
TSM Storage Agent 5.5
SUSE 10 Enterprse Server
-
02-23-2009, 05:10 AM #2Moderator
- Join Date
- Dec 2003
- Location
- Czech Republic
- Posts
- 2,050
- Thanks
- 2
- Thanked 56 Times in 55 Posts
Hi,
have you specified correct runlevel? (issue "who -r" to check what runlevel you are running)
Have you tried using chkconfig to do the link for you? (IMHO all *.rc from TSM are chkconfig ready ...)
Can you see it attempts to start during boot? Or it is not touched at all (I would put some "echo whatever > /log.txt" at the beginning of the script to prove it)?
etc ..
Harry
-
02-23-2009, 06:11 AM #3Member
- Join Date
- Sep 2007
- Posts
- 22
- Thanks
- 0
- Thanked 0 Times in 0 Posts
hi Harry,
Thanks for your reply. i have tried the things that you have suggested.
1) Who -r give current level as 5
2) chkconfig shows the dmsta.rc as 'on' but actually dsmsta is does not run. Manually restarting this service works fine and dsmsta is loaded properly.
3)adding echo in the script appends the echoed text to the mentioned logfile. so the dsmsta.rc is getting excecuted.
-
02-23-2009, 06:26 AM #4Moderator
- Join Date
- Dec 2003
- Location
- Czech Republic
- Posts
- 2,050
- Thanks
- 2
- Thanked 56 Times in 55 Posts
Hi,
what about redirecting all outputs of dsmsta to specific file? (in the script)
There should be dsmsta error log in the StorageAgent directory ....
Another possibility is the startup sequence of the file - when does it start? (what its chkconfig priority - I would let it start as the latest service) - maybe dependency problem.
Harry
-
02-23-2009, 07:02 AM #5Member
- Join Date
- Sep 2007
- Posts
- 22
- Thanks
- 0
- Thanked 0 Times in 0 Posts
Resolved...:)
Hi,
At last i got a way out....i added the following entry in the /etc/inittab
sta:
nce:/opt/tivoli/tsm/StorageAgent/bin/dsmsta.rc start >/dev/null 2>&1
thanks harry for all your help....at last it got resolved.
-
11-01-2012, 04:38 PM #6Newcomer
- Join Date
- Sep 2011
- Posts
- 5
- Thanks
- 0
- Thanked 0 Times in 0 Posts
:O should understood as : followed by o with no space.
-
11-01-2012, 04:40 PM #7Newcomer
- Join Date
- Sep 2011
- Posts
- 5
- Thanks
- 0
- Thanked 0 Times in 0 Posts
The complete entry is
sta:
nce:/opt/tivoli/tsm/StorageAgent/bin/dsmsta.rc start >/dev/null 2>&1
Similar Threads
-
SuSe Linux Backups
By PWCS in forum Backup / Archive DiscussionReplies: 1Last Post: 11-13-2008, 11:28 AM -
Multiple schedulers and storage agents startup on Unix/Linux platform
By kkk007 in forum TSM ClientReplies: 1Last Post: 08-01-2008, 04:44 AM -
Scheduler hangs on SuSe Linux
By jotha in forum Backup / Archive DiscussionReplies: 0Last Post: 06-01-2005, 03:23 AM -
Support for SUSE Linux 9.0
By robbenleaf in forum TSM ServerReplies: 2Last Post: 09-13-2004, 09:31 AM -
Who have Tivoli storage agent 5.1.5 for linux , Please mail me a copy.(I got it now)
By net-wolf in forum TSM ServerReplies: 0Last Post: 08-02-2003, 11:44 AM


Reply With Quote