Results 1 to 3 of 3
Thread: script for adding a new node
-
09-26-2012, 10:30 AM #1Member
- Join Date
- Oct 2004
- Posts
- 185
- Thanks
- 0
- Thanked 0 Times in 0 Posts
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
-
09-26-2012, 06:42 PM #2Moderator
- Join Date
- Aug 2005
- Location
- Somewhere in the US
- Posts
- 5,300
- Thanks
- 2
- Thanked 137 Times in 135 Posts
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
-
10-17-2012, 08:25 AM #3Newcomer
- Join Date
- Jul 2011
- Location
- Vienna
- Posts
- 2
- Thanks
- 0
- Thanked 0 Times in 0 Posts
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
-
Adding comments to output of script
By crooked in forum ScriptingReplies: 2Last Post: 07-21-2009, 07:57 AM -
Node backup script
By Jcage in forum Backup / Archive DiscussionReplies: 14Last Post: 06-30-2009, 09:56 AM -
adding a new disk and creating/adding pools
By daveisme in forum TSM Installation, Upgrade and ConfigurationReplies: 5Last Post: 02-25-2009, 08:03 AM -
Adding Linux node in TSM 5.5 Windows server
By Qaisar ul Hassan in forum TSM ClientReplies: 2Last Post: 08-19-2008, 11:39 AM -
Adding include.encrypt to existing node and backup
By cbozeman in forum Backup / Archive DiscussionReplies: 0Last Post: 10-17-2006, 05:29 PM


Reply With Quote