Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Sep 2007
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy 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

  2. #2
    Moderator Harry_Redl's Avatar
    Join Date
    Dec 2003
    Location
    Czech Republic
    Posts
    2,233
    Thanks
    4
    Thanked 100 Times in 99 Posts

    Default

    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

  3. #3
    Member
    Join Date
    Sep 2007
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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.

  4. #4
    Moderator Harry_Redl's Avatar
    Join Date
    Dec 2003
    Location
    Czech Republic
    Posts
    2,233
    Thanks
    4
    Thanked 100 Times in 99 Posts

    Default

    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

  5. #5
    Member
    Join Date
    Sep 2007
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile 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.

  6. #6
    Newcomer
    Join Date
    Sep 2011
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    :O should understood as : followed by o with no space.

  7. #7
    Newcomer
    Join Date
    Sep 2011
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    The complete entry is

    sta:nce:/opt/tivoli/tsm/StorageAgent/bin/dsmsta.rc start >/dev/null 2>&1

Similar Threads

  1. SuSe Linux Backups
    By PWCS in forum Backup / Archive Discussion
    Replies: 1
    Last Post: 11-13-2008, 11:28 AM
  2. Replies: 1
    Last Post: 08-01-2008, 04:44 AM
  3. Scheduler hangs on SuSe Linux
    By jotha in forum Backup / Archive Discussion
    Replies: 0
    Last Post: 06-01-2005, 03:23 AM
  4. Support for SUSE Linux 9.0
    By robbenleaf in forum TSM Server
    Replies: 2
    Last Post: 09-13-2004, 09:31 AM
  5. Replies: 0
    Last Post: 08-02-2003, 11:44 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •