WLST Script to create the domain weblogic for IOM and OAM

Hello

I intend to set up PS3 IOM - OAM in the new environment. We intend to perform the installation in silent mode. Does anyone have example WLST to create the domain weblogic for IOM or OAM?

Thank you

Here is an example of OUD. I post this one since it's the simplest and shortest, but it is the same for OAM and IOM except that the script is much longer because they ask a lot more questions. You will need to export the variables used or replace them with the appropriate values for your system.

wait-<>

the value of timeout 600

spawn ${OUD_BASE}/${WLS_NAME}/common/bin/config.sh mode = console

# Create a WebLogic domain

wait {}

{"Enter the index number to select GOLD *" {send "1\n"}}

# Choose the components of the Weblogic Platform

wait {}

{"Enter the index number to select GOLD *" {send "1\n"}}

# | ___Oracle directory Services Manager - 11.1.2.3.0 [Oracle_OUD1] [3]

wait {}

{"Enter number exactly as it appears in the media *" {send "3\n"}}

wait {}

{"Enter number exactly as it appears in the media *" {send "n"}}

# Change the domain information

wait {}

"" Enter the value of * "{send" ${OUD_DOMAIN_NAME} \n "}}"

wait {}

{"Enter the number of the option to select GOLD *" {send "n\n"}}

# Select the target area for this domain directory

wait {}

{'Enter' new target location GOLD * {send "${OUD_BASE} / user_projects/domains\n"}}

wait {}

{'Enter' new target location GOLD * {send "n\n"}}

# Configure password and username administrator

wait {}

{"Enter the number of the option to select GOLD *" {send "2\n"}}

wait {}

"" Enter new * "{send" ${WLS_PASS} \n "}}"

wait {}

{"Enter the number of the option to select GOLD *" {send "3\n"}}

wait {}

"" Enter new * "{send" ${WLS_PASS} \n "}}"

wait {}

{"Enter the number of the option to select GOLD *" {send "n\n"}}

# Configuration mode field-> 1 | Development mode

wait {}

{"Enter the index number to select GOLD *" {send "1\n"}}

# Java SDK selection

wait {}

{"Enter the index number to select GOLD *" {send "2\n"}}

wait {}

{'Enter' new JVM Directory GOLD * {send "${JAVA_HOME} \n"}}

wait {}

{'Enter' new JVM Directory GOLD * {send "n\n"}}

# Select Optional Configuration

wait {}

{"Enter the index number to select GOLD *" {send "1\n"}}

wait {}

{"Enter the index number to select GOLD *" {send "n"}}

# Configure the Administration Server

# Change "Listen port.

wait {}

{"Enter the number of the option to select GOLD *" {send "3\n"}}

wait {}

"" Enter the value of * "{send" ${ODSM_PORT} \n "}}"

# Change 'SSL enabled.

wait {}

{"Enter the number of the option to select GOLD *" {send "4\n"}}

wait {}

{"Enter the index number to select GOLD *" {send "1\n"}}

# Change 'SSL listening Port.

wait {}

{"Enter the number of the option to select GOLD *" {send "4\n"}}

wait {}

"" Enter the value of * "{send" ${ODSM_SPORT} \n "}}"

# Then

wait {}

{"Enter the number of the option to select GOLD *" {send "n\n"}}

# wait for install

wait {}

{"Successfully created * field *" {send "\n"}}

EXPRESSIONS OF FOLKLORE

Tags: Fusion Middleware

Similar Questions

  • WLST Script to create the field of OSB with Oracle XE

    I installed oracle Service bus 10.3 with Oracle XE on a CentOS linux distribution. Everything went well. I created a default domain with the Wizard (so with Pointbase). Now, I want to go a little further. So I want to automatically create a domain OSB for Oracle XE. I used the following script (I borrowed from another thread ;-))):

    -----
    import sys

    Print "@ from the script...» »

    Try:
    domaintarget = "/ apps/bea/user_projects/domains/test2.
    domainUser = "weblogic.
    wl_home='/apps/BEA/wlserver_10.3'
    workshop_home='/apps/BEA/workshop_10.3'
    osb_home='/apps/BEA/osb_10.3'


    def configOraDB (dataSource):
    CD (DataSource)
    URL = "jdbc:oracle:thin:@localhost:1521:XE".
    Set ('URL', URL)
    Set('DriverName','oracle.) JDBC. OracleDriver')
    cmo.setPasswordEncrypted (domainUser)
    CD (' Properties/NO_NAME_0/Property/user')
    Set ('Value', domainUser)
    CD ('. /.. /.. /.. /.. /.. /.. / JdbcConnectionPoolParams/NO_NAME_0 ')
    cmo.setTestTableName ('dual')


    # Open a field template.
    readTemplate (wl_home + ' / common/templates/domains/wls.jar')

    CD (' Servers/AdminServer')
    together ('ListenPort', 7002)
    Set('ListenAddress','')


    CD('/')
    CD (' Security/base_domain/user/weblogic')
    cmo.setName ('weblogic')
    cmo.setPassword ('weblogic')
    setOption ('OverwriteDomain', 'true')
    writeDomain (domaintarget)
    closeTemplate()

    readDomain (domaintarget)


    addTemplate (workshop_home + ' / common/templates/applications/workshop_wl.jar')
    addTemplate (wl_home + ' / common/templates/applications/wls_webservice.jar')
    addTemplate (osb_home + ' / common/templates/applications/wlsb.jar')

    configOraDB('/JdbcSystemResources/wlsbjmsrpDataSource/JdbcResource/wlsbjmsrpDataSource/JdbcDriverParams/NO_NAME')
    configOraDB('/JdbcSystemResources/cgDataSource/JdbcResource/cgDataSource/JdbcDriverParams/NO_NAME')
    configOraDB('/JdbcSystemResources/cgDataSource-nonXA/JdbcResource/cgDataSource-nonXA/JdbcDriverParams/NO_NAME')



    updateDomain()
    closeDomain()


    except:
    dumpStack()
    Print "unexpected error:", sys.exc_info () [0]
    lift
    -----

    This creates a pretty empty field, as I have not yet created a real database. The command I found was

    loadDB ('10g ','wlsbjmsrpDataSource ')

    that will load the appropriate tables (of OSB/dbscripts /..)

    The problem is that I have no schema/user created in Oracle XE. So, I can manually create this but is not what I want to do. I also want to be scripted. So, how can I do this or is this not the way to go. You always manually create users on the database for three data sources (cgDataSource, wlsbjmsrpDatasrouce, cgDataSource-nonXA) before running a script to make a loadDB. Or do I run some kind of script create_user.sql or something.

    A second issue is that I can't find the scripts for the databases for cgDataSource and cgDataSource-nonXA data sources. They should be somewhere in workshop_10.3 but I can't find them. So, what is the problem here, I have to do a loadDB('10g','cgDataSource') or that eventually an error?

    My last question is I want to change the ALSB_DEBUGPORT (7 something) and debugging of the FMV of port (8453) in my script, how can I do this? I had another instance that already use these ports, so this won't work...

    My preference would be to invoke wslt by ant. This way Weblogic specific configurations can be addressed using WSLT and generic configurations (create DB users) can be done using ant.

    The files SQL to create tables required for the OSB are present in/MiddlewareHome/Oracle_OSB1/dbscripts/oracle. Try to run manually by using the Ant sql task. Create DB users is also possible using the same Ant SQL task http://ant.apache.org/manual/CoreTasks/sql.html.

    There are several ways you can do. I use http://ant.apache.org/manual/CoreTasks/replace.html as shown below in an Ant macro. Similarly, you can replace the ALSB_DEBUGPORT debug port and jvm debugging.

              
         



              
         


              
         


              
         


              
         


              
         


    Maury

  • Is there anyway to customize the screen to "play" when you create the project responsive for Tablet and mobile?

    Hello

    I was wondering if there is an easy way to customize the screen button "play". Currently, when the project is considered on the mobile, it displays the button on the large central room with the gesture icon in the upper right. Essentially my client do not like this, and although they don't have a landing page before moving in the course, they would prefer the page to be better integrated in the style of running. Basically, I want to put this page in a title page that shows a picture of background rather than having a white background all.

    I had a glance through the preferences and settings and have failed to find anything, so I thought I'd come and ask here see if someone else has done something similar before you start messing around with the release of HTML5.

    Any ideas or solutions would be very welcome!

    Thank you

    K

    Publish fewer setting/start and end, if you deselect the AutoPlay option, you can navigate to a picture that you want to use.

  • I created a domain name for my site, but it's just to show my domain name on the Web site. How can I get my website to show?

    I created a domain name for my site, but it's just to show my domain name on the Web site. How can I get my website to show?

    You can follow the steps outlined in the document below to add the domain: -.

    Add a domain name to your site using the service DNS of BC

  • When I create the domain user, I used option user must change when you first connect, but am unble to get this

    When I create the domain user, I used option user must change at the first logon, but am unble to get it.

    Hi RadhamAravind,

    Thanks for posting in the Microsoft Community.

    As you create a domain user, the question you posted would be better suited for the IT Pro TechNet public. I would recommend posting your query in the TechNet Forums to get help:

    Windows 7 security TechNet Forums

  • I created a custom and registered with a specific name date format. However, when I open a new worksheet, my saved format does not display in the menu drop-down? Am hoping that I don't need to create the same format for each new sheet?

    I created a custom and registered with a specific name date format. However, when I open a new worksheet, my saved format does not appear in the menu drop-down? Am hoping that I don't need to create the same format for each new sheet?

    You must save the spreadsheet containing the new date as a model format and use this custom template for each new spreadsheet where you want that this date format personalized at your disposal.

  • create the code lock for computer book note

    How to create the code lock for computer book notices

    Enter the BIOS, select the Security tab and set the power on password.

    I strongly recommend that you write the power on password and put somewhere safe. If you have forgotten the password turned on, you will find that you will need to send your laptop to be repaired by HP. This is not free of cost. Once a button inside the laptop password reset are over.

    I can't be more precise, as you have not identified your laptop with its full product name or product number.

  • Unable to create restore point. Vista64. Could not create the scheduled task for the following reason: cannot create a file when that file already exists

    RAID 5 obtained corrupte had to rebuild after that can't create system restore point. Tried everything sfc, fsutil, Dungeon SystemPropertiesProtection screen displaying this error: "could not create the scheduled task for the following reason: cannot create a file when that file already exists." (0x800700B7)"system of work in all other respects. SFC says it found and fixed errors every time I run it.

    Fix tried Della Li: Please remove the WindowsBackup folder in the HKEY_LOCAL_MACHINE NT\CurrentVersion\Schedule\TaskCache\Tree\Microsoft\Windows.

    Delete the WINDOWS BACKUP folder. Unfortunately this folder does not exist.

    Checked VSS, Taskscheduler and other services are runnig

    Tried to boot from the CD and widowed revover. Says no problems. The error to any manulation of the checkbox in the properties of the system, the system protection screen

    Solved

    It turns out that task scheduler got corrupted it have several tasks Scheduler said were not available, but are still in the working directory. These tasks especially SR from compensation directory solved the problem and I can now create backup points.

  • How to create the firewall rule for Windows 7 for javaw.exe?

    How to create the firewall rule for Windows 7 for javaw.exe? The application path differs from the new versions and user profiles. Is there generic symbols allowed for example asterisk?

    Hello

    I recommend you to send the request to another Department for assistance:

    Security in Windows 7

    http://social.technet.Microsoft.com/forums/en/w7itprosecurity/threads

    I hope this helps.

  • script to pull the VMTools version for all of the VM?

    Do we have the script to extract the VMTools version for all the virtual machines?

    with powershell, you can use:

    Get - vm | Get-View | Select Name, @{Name = "VMWareToolVersion"; {Expression = {$_.config.tools.toolsversion}}

    or:

    Get - vm | Get-VMGuest | Select VMName Toolsversion

    with esxcli I would do it similar to (sorry, but I don't know the syntax of the shell):

    Vim - cmd vmsvc/getallvms | SED ' 1 of | AWK '{print $1}' (to gett all the VM ID)

    then for each ID I would do this:

    Vim - cmd vmsvc/get.config 12 | grep-i toolsversion

  • Use the stored procedure to create the data model for the bi publisher report

    Hi all

    Can we use stored procedure to create the data model for BI Publisher reports? I did find an example by using the stored procedure to complete the data model in the bi publisher report.

    Thank you

    Virat

    Check out these links

    BI publisher to use the stored procedure
    Re: Stored procedures and dynamic columns
    Re: Is it possible to use stored procedures in BI Publisher GUI?
    Re: PL/SQL stored w / model XML?

    If brand pls help

  • How can I create a full recovery for OS and preinstalled software media?

    Hello
    My son´s accompanying the new Satelite L855-10U preinstalled OS and much other software already installed on the HARD drive, but no installation media, the client is supposed to create a tool from Toshiba.

    I created 6 Swedish recovery for the operating system using the tools Toshiba had installed on the HARD drive.

    To do this 6 Swedish, I created with the Toshiba Recovery tool contain the operating system and all other preinstalled software?

    How can I create the installation media full and usable if not for the operating system and all other preinstalled software?

    I can´t find all the information on the backup software pre-installed with the exception of the BONE. Is there complete information how to do the above, in the manual of the computer, or have you missed this information?

    I would like to know how I can create media backup complete and usable for the operating system as well as for all other preinstalled software, so I can recreate all the facilities of the plant at a new disk if/when the original HARD disk crashes.

    Is there a partition hidden with pre-installed software, and if so, how can I create a backup of this partition, or all the software, so I can reinstall everything if the HARD drive fails, if it is already not with the Swedes 6 Toshiba tool created for me?

    Forward to your response and to complete your customer documentation about the complete instructions for installation and recovery media creation.

    Thank you very much!

    Baltazar

    Hello

    On this forum, you will find a lot of useful comments on the recovery image saved on the HARD drive and its operation to the facility and the creation of recovery disks.
    All this is clearly and simply.

    Front of Toshiba offer new people for laptop in software development create recovery image. This recovery image will be created for each laptop model (specific hardware configuration). Recovery image contains the operating system, all necessary drivers, tools/utilities Toshiba specific and some other software like DVD/Blu-Ray, Microsoft Office test drive and the antivirus application. With this configuration every laptop owner can begin to use the laptop without having to install important applications.

    This package is then saved on the HARD drive and can be used for the installation of HARD drive recovery - http://aps2.toshiba-tro.de/kb0/HTD1303440001R01.htm. In other words, if something is wrong with HARD drive recovery facility you can reset the preinstalled operating system and reinstall recovery imae. After that make you have absolute same settings you had after purchase and first start of the laptop.
    HARD drive recovery image can not be used if:
    -HARD drive is defective
    -you have installed the version of the own BONE
    Structure of the HARD disk partitions - is changed
    Recovery image - HARD drive is deleted or moved to another partition or copied to the external device.

    To avoid all this Toshiba recommends the creation of recovery disks. Using these disks, you will be able to install the OS on the new drive HARD or in any other situation listed above.
    Please note: the use of recovery disks will remove all HARD drive, create the new recovery partition and install image recovery, so you still have the same settings.

    I hope I can help you with my explanation. If you have any other questions you are welcome.

  • How to change the default path for documents and settings

    How to change the default path for documents and settings

    I try to change in the registry, but the profile can create but error! had no choice to change the default path % lecteur_systeme % d: /.

    Hello

    I suggest you to download TweakUI, this could help you or get you headed in the right direction
    http://Windows.Microsoft.com/en-us/Windows/downloads/Windows-XP

    Also this KB could help as well:
    http://support.Microsoft.com/kb/236621

    It will be useful.

  • Upgrade to Oracle 11 g: How can I update the obsolete statistics for sys and sysman?

    Hello

    I am trying to test upgrade to 11 g Oracle Oracle 10.2.0.3. I ran utlu111i.sql on the 10g database.
    The utlu111i.sql of the usefulness of the reports on obsolete statistics for SYS and SYSMAN components.

    I executed dbms_stats.gather_dictionary_stats; DBMS_STATS.gather_schema_stats ('SYS'); and dbms_stats.gather_schema_stats ('SYSMAN');

    After that the utlu111i.sql always reports the obsolete statistics for sys and sysman. Does anyone know how to get rid of this warning with success?

    Thank you
    Anthony

    Does anyone know how to get rid of this warning with success?

    Ignore the warnings. Check the script to pre-upgrade Utlu111i.Sql statistical reports stale sys - 803774.1 from Metalink.

  • EMail address added to &lt; &lt; my device name &gt; &gt; &lt; &lt; my device name &gt; &gt; now using &lt; &lt; my mailadress (identical to the Apple ID) &gt; &gt; for FaceTime and IMessage.

    My iPod touch get now and then next alert message due to change on my iPhone.

    EMail address added to < < my device name > > < < my device name > > now using < < my mailadress (identical to the Apple ID) > > for FaceTime and iMessage.

    Why I get this message? iPhone is disabled due to my work offshore for two weeks, but the use of the iPod touch is allowed.

    What is my apple ID used on other devices with the same name as my iPhone?

    I would be happy if anyone has an explanation of why I feel this strange behavior.

    When you connect to FaceTime or Messages on another device, another peripheral other device using this same ID will get the message that has been signed to. Some iOS (and OSX) update log for other devices will get the message when that happens.

    You said "by reason of change on my iPhone"

    What has changed on the iPhone?

Maybe you are looking for