Adcfgclone automation question

R12.1.3 running on RH Linux 5.8.
I have my rapid clone configuration almost automated but I run into a problem when running adcfgclone on the appsTier.
I can pass in the apps password but I don't want it to start the services when done so is there a way to pass "N' to adcfgclone.pl while also passing in the apps password?
Example I use now is as shown below but it then sits waiting for Y/N to startup services:
echo ${appspwd} | perl adcfgclone.pl appsTier $CONTEXT_FILE

I believe I have what I need now via 'expect'.
I was assisted by this post http://mohamedelazab.blogspot.ca/2013/07/nice-notes-for-automating-cloning-11i.html
And for anybody else who stumbles on this thread here is what I run now.
When it comes to the adcfgclone step in my bash script I have:
/usr/bin/expect adcfgclone.exp  >$LOG_FILE_HOME/adcfgclone.log
Where the contents of the file are:
================================================================================
#!/usr/bin/expect -f
set force_conservative 0  ;# set to 1 to force conservative mode even if
                          ;# script wasn't run conservatively originally
if {$force_conservative} {
        set send_slow {1 .1}
        proc send {ignore arg} {
                sleep .1
                exp_send -s -- $arg
set timeout -1
spawn perl adcfgclone.pl appsTier /app/oracle/ebsxxx/inst/apps/EBSXXX_yyy/appl/admin/EBSXXX_yyy.xml
match_max 100000
expect -exact "\r
Enter the APPS password : "
send -- "myappspwd\r"
expect -exact "\r
Do you want to startup the Application Services for EBSXXX? (y/n) \[y\] : "
send -- "n\r"
expect eof
==================================================================================
Then I run adautocfg and finally adstrtal.
I hope this post is not premature as I have yet to tun the whole thing together and via cron but on the cmd line works.

Similar Messages

  • Automation Question: How do I work with an open 'upload file' dialog?

    Preamble:
    Was a very experienced VBS automation guy, this is my first emersion into the wonderful world of C# automation. Using Selenium WebDiver, I have successfully logged into a web page, filled out a few web forms, clicked on the 'add image' button and am
    now faced with an open 'upload file' dialog. Pretty sure the namespace I need is system.windows.forms.OpenFileDialog so added the reference to my project.
    Question:
    All the examples on the web seem to relate to app development and not test automation. But, I need to automate this web application and all that's left is the image upload. What do I do when faced with an
    already opened 'upload file' dialog? I know the image and path, how do I automate the process of placing the full path into the dialog and clicking the OK button or alternately, enter key?
    Thank you!

    I doubt that you need System.Windows.Forms.OpenFileDialog, the browser isn't written using WinForms and that dialog is a Win32 native dialog.
    Maybe you should post this in the Selenium Users
    group? It has little to do with C#, it's more about how Selenium interacts with the browser.

  • Automation Question

    Hi All,
    I am using Logic Pro 7.1 on a G5/dual 2.0/4GB RAM/numerous HD's/OSX 10.3.9.
    I have a question in regards to setting up a MIDI track for automation. When I set midi track 1 to "write" for example, all of my midi tracks then change to write. If I set it to "touch", all turn to touch, etc.
    I do not have the tracks grouped together.
    Can anyone tell me why this is happening?
    I appreciate your help!
    Frank

    Thanks for your reply!
    If I'm understanding your reply correctly, it is already set up as you indicated.
    Each separate midi track is using a different midi/channel number. For example, Midi track 1/channel 1, midi track 2/channel 2, etc.
    I have 3 separate environments and it is happening across all environments and corresponding midi tracks.
    Thanks,
    Frank

  • Automation Question-I am losing my mind! Please help

    Hello, folks, I am a composer who just switched from PC using Cubase and Pro Tools to a brand new MacBook Pro using Logic Pro 9. I am trying not to get frustrated using Logic as I feel its missing a tool which is used by most other DAWs.
    So, while automating, the only two tools available are a pencil tool and a curve tool but Logic does not have options in automation shapes such as Free Hand, Rectangular, Square, Round, Random Shaping and triangular shaping. For those using Pro Tools, these are easily available in the Pencil Tool option when you hold that button down.
    I hope I didn't make my question too complicated. I have looked EVERYWHERE for the answer, the manual, google, Youtube and even called Apple support and the guy had no clue what I was asking about.
    Can any experts help? Do you know if Logic Pro 9 has any bug issues since it just came out?

    HardBeatz has given you the answer but it seems you are not understanding what HardBeatZ is trying to tell you so, I will try to explain it:
    Your Device was designed to support the use of Expansion Cards up to 4gb only.
    Your Device failing to recognise an Expansion Card over 4gb is normal behavior, it does not mean there is something wrong with the Device or the Expansion Card.
    Trying tricks and workarounds to get your Device to do something it was not designed to do will probably result in more problems and possible loss of valuable data.
    The only real and reliable solution is to get a 4gb Expansion Card or two.
    All the best, woz of oz
    Post relates to: Palm TX

  • Html automation question

    I have a bunch of images on a server, and want to create a webpage where they are all available as thumbnails and ca be downloaded. I know how to do this in HTML, but I was wondering if there's an automated way to create such an html-page. It's really tedious to go through hundreds of images manually... Thanks in advance.

    tbuitenh wrote:try igal: http://www.stanford.edu/~epop/igal/
    Thanks a lot! That seems to do the trick. It's the first one I tried that I can actually run. The installation was kinda weird though. I'm not good with the whole sed-awk thing so I couldn't write a proper PKGBUILD for it...

  • More Automation questions.....

    Ok guys,
    My "Quick Access Automation" controller just stopped working ...out of the blue?????!!!!!!
    So I have set up my mod-wheel to be my quick-access controller.......So whatever automation is showing, will be controlled by mod-wheel......
    I have a key-command set up to toggle my mod-wheel between being a normal midi-modwheel and my quick access controller....
    quick access is broke...
    funny thing is when I go to re-learn it under automation-settings ....it says learned.
    Don't get it...
    please help
    SvK

    sorry mate i as much in the dark as you are. all i can do is suggest ways of chasing it down if it were me.
    last resort first - save your prefs to the desktop then initalize your key commands. see if you can get it to learn then.
    but first - restart computer and create a fresh song. even restart the controller.
    next, i'd put up a monitor and check that the mod wheel info is right (midi channel 1 or something).
    then i'd probably starting yelling...

  • Fine automation question

    Hello everybody
    I'm in some trouble trying to set an automation parameter.
    I need to shift a frequency parameter from a 60Hz value to exact 233 Hz, to get an accurate sweep, but the automation curve snaps automatically from 231 to 244.
    It has always happened with volume parameter but I did't care because I never needed to be so precise before.
    Is there any preference I have to set to allow this kind of accurate value setting?
    I searched for similar posts but i didn't find any.
    Does anyone know how to manage this thing?
    Any help would be appreciated. Thank you very much.
    Simon
    p.s.
    sorry about the awful english!

    I doubt that you need System.Windows.Forms.OpenFileDialog, the browser isn't written using WinForms and that dialog is a Win32 native dialog.
    Maybe you should post this in the Selenium Users
    group? It has little to do with C#, it's more about how Selenium interacts with the browser.

  • Simple Automation question

    OK, I can't imagine that this is something that Logic missed out, probably just an oversight on my part, but Ive dedicatad some time to this and still no answer, so here goes:
    I use Logic 8.0, Ive noticed that with the exception of volume level automation, NONE of logic's strip channel controllers get automated, including pan, busses, etc... In other words, I set up logic for Touch/Latch mode, I press play, if I move the volume level it will write nodes as it goes along, but if I try and manipulate any other controller, via the channel strip or external control surface I get nothing, the only thing i get is the OVERALL value of the specific controller Im trying to manipulate will move, but it wont "create nodes" as I go along, even when in touch/latch/write modes.
    what am i doing wrong??
    I also have problems when I try to assign an "other..." controller number in Hyper Draw, sometimes it freezes, and sometimes it just wont select a different controller, but simply stay on Bank MSB.
    Can anyone here please shed some light into this matter?
    Thanks!

    zukodany wrote:
    Can anyone here please shed some light into this matter?
    Thanks!
    As long as you shed some light as to what controller you're using...
    I'm with a MC Control and MC Mix, and all the automation gets nodes on my machine, since 8.0.2, when I bought these units. I have not really used LP9 too much yet, so I cannot opine on that version's operation.
    Cheers

  • Automator questions

    when I make a workflow for logging purposes of different apps that I don't feel like having to start up each time, and I'm using the record button to record the workflows, had her like I or convert the workflow into something that runs in the background or runs more smoothly?

    Sorry, I don't understand your question. Please explain better.

  • Smart folders and an automator question

    does anyone know how I can have multiple search criteria in smart folders?
    also does know how I can use automator to copy recently update files to the drop box for sending to another mac via bluetooth periodically?

    Finder_>File->New Smart Folder, set the critera as desired, and save it. As for automator, check http://www.apple.com/macosx/features/automator/ for workflows.

  • Latch/Read automation question...

    Is there any way to get the automation mode to "snap" back from Latch to Read after you've stopped the playhead (without having to use a key command)? Similar to how you can set the "Write" mode to change in Preferences.
    Thanks

    I agree that it´s really annoying when I forget to switch back to Read; the risk is pretty big that I start writing automation all over the place.
    However, the Key Command ShiftCtrl+CommandR takes less than a second to use! It changes all tracks to Read. Handy, if you remember to use it...
    /juhani

  • Gate Automation question

    There's a gate automation technique I've heard of, and I'm not exactly sure how to pull it off, but here's what it involves: Creating a rhythm in the Matrix Editor, busing it to the gate, receiving the bused rhythm within the gate, and then somehow causing that rhythm to automate the the opening and closing of the gate in order to create a rhythmic effect that is specific to the rhythm you bussed to the gate. Does anyone know exactly how to do this? And if so, can you give me a rundown of it? Thanks greatly!

    Which gate plugin is this exactly? I've checked through all my gates and see no sidechain function in the upper right hand side. or anywhere else for that matter. Maybe I'm just slightly dense today. Once again, any help would be appreciated. : )

  • Textedit automation question

    I like to use Times New Roman font in textedit for readability but I often have to enter passwords in my notes and like those passwords to be in Courier so I can better differentiate 0/O, 1/l, etc.
    What is the best way for me to create a keybinding where I can have the highlighted word be converted to Courier (size 14)?
    Applescript? Something else?
    Thanks!!

    Peruse the AppleScript forum under OS X Technologies and the Automator forum under Leopard.

  • Automation question 2

    Hi again - I would like to cut out two short passages in my score .......... but after reading what Edgar wrote about the Cut/Insert time idea, it seems that if I do this it could mess things up.
    My question is: since his tutorial was written in 2006, has Logic changed this since then ?
    Thanks again, Kay.

    Using cut/insert only gets dicey if you're using varying meters. Just be sure to have the time signature included in the arrange window when you select the cycle region to be cut. Sometimes the only way to accurately cut is manually, and then rebuild the time signature. If you're using standard time, it's simple.

  • Automator question - audiobooks to itunes, garageband, then itunes again

    I get audio books from the library because they currently are too expensive to buy. For example. There are a series of books called, "The Cat Who" books. If I buy all of these it would run about $25 each for 29 books which, according to Leapard calculator would be $725. I'm not poor but this is just too much.
    So ... as I said, I get the books from the library. As much as I can I get them on CDs but not all of these books or other books are available on CD so I have to get audio tapes.
    I have the necessary hardware to connect my tape deck (old boombox from the 80s) to my iMac (Roland Edirol UA-20 if you are curious) and am using Roxio's CD Spin Doctor software to import the audio.
    So far I have not been able to find a way to do this with GarageBand. When I try it stops importing after about 5 minutes and each side of the audio tapes are 45 minutes.
    The combination of the Roland Edirol UA-20 (24-bit Digital USB Audio/MIDI Interface) and CD Spin Doctor will only let me create AIFF (CD) audio files which result it files that range from 800+ to 1.5GB file sizes. Obviously a lot bigger than I want or need for spoken word audio tapes.
    GarageBand will not accept these files as it. So currently I am importing these into iTunes then having iTunes convert the files to AAC files which end up being 40 to 60 mb files. Better but still not small enough plus I need to edit out the beginning and end of the audio files because I push play on the tape player and record in CD Spin Doctor and let it go. CD Spin doctor is set to auto stop after 60 minutes (there are no choices between 45 minutes and 60 minutes and the tapes are usually about 47 minutes long.
    So ... after converting them to AAC as smaller files I right click on the file in iTunes and tell it to show me the file in Finder. I then open up GarageBand (if it isn't open already), create a new Podcast (because you can choose "male voice with lots of noise" to clean up the audio), and drag and drop the audio file into GarageBand, edit it, then click on Share and pick "Share to iTunes" which does what it says and the file is a 40something mb file. I then clean up the info for that "song" then right click on it one more time to make it an even smaller AAC file of around 17 to 20 mbs.
    What is all this about? Well I would like to make some automator scripts that automate as much as possible.
    What I've got so far is a script that will prompt me to select the file(s) I want to import into iTunes and convert it automatically to AAC at the setting I have for importing files into iTunes.
    Note: I wish I could have something that would change the preferences for audiobooks and convert it back to what I want for importing music CDs so that I don't have to manually do this (mainly because I forget to manually change it and this is really frustrating).
    I also cannot find any automator functions for automating the process of opening GarageBand, creating a new Podcast. At this point the script should end so that I can do my editing. I have no problem with manually clicking on Share to iTunes.
    I would then like a new script that prompts me for the edited file and re-imports it into iTunes (preferrably again setting the AAC import setting I would like for iTunes.
    Any and all constructive ideas and help are extremely welcome.

    It would only be stealing if I kept it on my computer and/or iPod or anywhere else after I listened to it, which I don't.
    I repeat. I don't keep them. I import them into my iPod. My wife and I listen to them, then I delete them off my computer and iPod leaving me with zero copies of the books after I listen to them.
    So why do I do this then? Because it is a LOT more convenient to listen to them through the iPod than through CDs or audio tapes. I would just like it to be more convenient to get them off audio-tapes to listen to them.
    I would be more than happy to buy them if they were closer to $10 each. Until then, I'll have to borrow them from the library and delete them after I listen to them.

Maybe you are looking for

  • Outlook for mac contacts

    I purchased outlook for Mac and can't figure out how to transfert my contacts.

  • Error in bcc while logging in.

    **** Error Wed Jun 05 13:07:47 IST 2013 1370417867823 /atg/dynamo/servlet/dafpipeline/DynamoServlet BIZUI page error: statusCode: 500 message: Can't find resource for bundle java.util.PropertyResourceBundle, key activitySourceName requestURI: /atg/te

  • Can I uninstall a hotfix from SQL Server 2012?

    I need to apply CU 7 to some SQL Server 2012 instances.  If something goes wrong with this, can I uninstall CU7?

  • Hp deskjet 3070a wont print black

    My printer has stoped printing black ink, color works fine. It happened a few printed pages after switching to new ink cartadges but only the black stopped working. No ink what so ever comes out. Have tried the print head aligning, cleaning and every

  • Why does my nonwireless keyboard stop functioning out of the blue?

    Quad 2.5 10.4.6 keyboard works on my other G5 when i restart it works why does it stop working about once a month out of the blue cant type etc unless i restart repaired perms and first aide ok everything else seems fine ??? ?? ?? ????