Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Oct 2004
    Posts
    198
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default script for adding a new node

    First of all not much of scripter......but I'm looking for a script or tips on creating a script for others to use to add a node. Would like it to maybe prompt for domain name/password. Again just looking for pointers

    THX

  2. #2
    Moderator moon-buddy's Avatar
    Join Date
    Aug 2005
    Location
    Somewhere in the US
    Posts
    5,915
    Thanks
    4
    Thanked 231 Times in 226 Posts

    Default

    Something like this for DOS:

    @echo off

    set /P node=Enter node name to register:
    set /P pass=Enter password to set for node:
    set /P domain=Enter Domain to register node:

    dsmadmc /id=admin /pa=password "register node %node% %pass% do=%domain% passexp=0 maxnummp=4"
    Last edited by moon-buddy; 09-26-2012 at 07:39 PM.
    Ed

  3. #3
    Newcomer
    Join Date
    Jul 2011
    Location
    Vienna
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    i've created such script for every domain

    reg node $1 PASSWORD do=DOMAIN passexp=0 maxnummp=4
    def assoc DOMAIN $2 $1

    the run the script `run r_node NODENAME SCHEDULER_NAME`

Similar Threads

  1. Adding comments to output of script
    By crooked in forum Scripting
    Replies: 2
    Last Post: 07-21-2009, 07:57 AM
  2. Node backup script
    By Jcage in forum Backup / Archive Discussion
    Replies: 14
    Last Post: 06-30-2009, 09:56 AM
  3. adding a new disk and creating/adding pools
    By daveisme in forum TSM Installation, Upgrade and Configuration
    Replies: 5
    Last Post: 02-25-2009, 08:03 AM
  4. Adding Linux node in TSM 5.5 Windows server
    By Qaisar ul Hassan in forum TSM Client
    Replies: 2
    Last Post: 08-19-2008, 11:39 AM
  5. Adding include.encrypt to existing node and backup
    By cbozeman in forum Backup / Archive Discussion
    Replies: 0
    Last Post: 10-17-2006, 05:29 PM

Posting Permissions

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