1. Forum Rules (PLEASE CLICK HERE TO READ BEFORE POSTING) Click the link to access ADSM.ORG Acceptable Use Policy and forum rules which should be observed when using this website. Violators may be banned from this website. This message will disappear after you have made at least 12 posts. Thank you for your cooperation.

How to automatically start the client schedule service during restart of the server?

Discussion in 'Command Line Administrator Client' started by helmsdeep, Dec 28, 2010.

  1. helmsdeep

    helmsdeep New Member

    Joined:
    Jun 19, 2010
    Messages:
    57
    Likes Received:
    0
    Hi Guys,

    I have over 150 clients in my datacenter and when ever power shut down happenes and servers restart my client scheduler service is going down in all the clients. i am manually starting the dsmc client scheduler in all 150 clients by giving command "nohup dsmc schedule 2> /dev/null &" .

    My doubt is:- can i put this in crontab or /etc/inittab so that scheduler service will come up everytime the clients are restarted. If possible how can i do it?

    Please help.

    Thanks and Regards,
    Helmsdeep.
     
  2.  
  3. moon-buddy

    moon-buddy Moderator

    Joined:
    Aug 24, 2005
    Messages:
    6,073
    Likes Received:
    269
    Occupation:
    Electronics Engineer, Security Professional
    Location:
    Somewhere in the US
    Put it in the /etc/inittab for AIX style systems.
     
  4. helmsdeep

    helmsdeep New Member

    Joined:
    Jun 19, 2010
    Messages:
    57
    Likes Received:
    0
    Hi Moon-buddy,

    Thanks for reply.

    Which command to put in /etc/inittab?

    can you tell me step by step which command should i place in /etc/inittab?

    Thanks and Regards,
    Helmsdeep
     
  5. sandeepkontham

    sandeepkontham New Member

    Joined:
    Mar 14, 2009
    Messages:
    284
    Likes Received:
    3
    Occupation:
    Storage admin
    Location:
    Hyderabad,India
    write a small TSM scheduler script and add it in the /etc/inittab
     
  6. LED888

    LED888 Moderator

    Joined:
    Oct 15, 2002
    Messages:
    631
    Likes Received:
    46
  7. sandeepkontham

    sandeepkontham New Member

    Joined:
    Mar 14, 2009
    Messages:
    284
    Likes Received:
    3
    Occupation:
    Storage admin
    Location:
    Hyderabad,India
    Orelse add

    TSM:23:respawn:nohup dsmc schedule 2> /dev/null &
     
  8. moon-buddy

    moon-buddy Moderator

    Joined:
    Aug 24, 2005
    Messages:
    6,073
    Likes Received:
    269
    Occupation:
    Electronics Engineer, Security Professional
    Location:
    Somewhere in the US
    I would question the respawn value. I would rather do it this way with DSMCAD (Web Client) instead of DSMC:

    Code:
    tsmcad:2:once:/usr/tivoli/tsm/client/ba/bin/dsmcad >/dev/null 2>&1
    
     
  9. sandeepkontham

    sandeepkontham New Member

    Joined:
    Mar 14, 2009
    Messages:
    284
    Likes Received:
    3
    Occupation:
    Storage admin
    Location:
    Hyderabad,India
    Even i Agree with respawn value as sometimes it will make 2-3 scheduler process to create and run simultaneously which makes backup to run slow and resource wastage but it will start the process many times whenever Service is down unlike once which as name says just once.


    Regarding dsmcad yeah if he uses that daemon
     

Share This Page