This content has been marked as final. 
    
Show                 4 replies
    
- 
        1. Re: AS7 admin CLI non interactive wayjaikiran Aug 21, 2011 1:59 AM (in response to morphy)The CLI is non-interactive. i.e. you can just issue commands/operations via your scripts and it does "ask" for input when you run those commands. The input itself will be part of the command/operation that you run. Is there some specific operation that you are looking at from the CLI? 
- 
        2. Re: AS7 admin CLI non interactive waymorphy Aug 21, 2011 11:46 AM (in response to jaikiran)the (first) need is the following: - remove from server group
- undeploy
- redeploy (i know... deploy -f should avoid the remove/undeploy phase)
 so i've prepared a conf file with: - /server-group=xxx/deployments=yyy:remove
- undeploy yyy
- deploy -f yyy etcetcetc
 next in a sh script - $JBADMIN < myconf_file
 it works properly even if i have to fix some hardcodings i was just wondering how to simplify the process removing in toto the conf file thank you 
- 
        3. Re: AS7 admin CLI non interactive waynickarls Aug 22, 2011 1:34 AM (in response to morphy)1 of 1 people found this helpfulare you looking for the -c --file parameters? 
- 
        4. Re: AS7 admin CLI non interactive waymorphy Aug 22, 2011 3:46 AM (in response to nickarls)it should be better than redirecting the stdin... meybe what's going around in my brain is something like sqlplus.... sqlplus <opt> @<file> but the --file should be fine 
 
     
    