Dec 24, 2021

install weblogic or FMW software using ansible in multiple targets

 The playbook is going to cover and automate all the tasks of weblogic installation.

before that let us create below response file and copy at software location.


vi wls_install.rsp 


[ENGINE]

Response File Version=1.0.0.0.0

[GENERIC]

ORACLE_HOME=/u01/fmw/oracle/middleware

INSTALL_TYPE=Fusion Middleware Infrastructure

MYORACLESUPPORT_USERNAME=

MYORACLESUPPORT_PASSWORD=

DECLINE_SECURITY_UPDATES=true

SECURITY_UPDATES_VIA_MYORACLESUPPORT=false

PROXY_HOST=

PROXY_PORT=

PROXY_USER=

PROXY_PWD=

COLLECTOR_SUPPORTHUB_URL=


You can see the work flow of FMW installation.














cat wls_install.yml

---

#Install Weblogic

- hosts: all

  remote_user: oracle

  vars:

   java_dir: /u01/fmw/java/jdk1.8.0_291

   hibernate_dir: /u01/fmw/hibernate-4.1.0

   mw_dir: /tmp

   mw_installer: fmw_12.2.1.3.0_infrastructure.jar

   oracle_home: /u01/fmw/oracle/middleware

   mw_oraInv: /scratch/oracle/oraInventory

  tasks:

   - name: Install Weblogic

     command: "{{ java_dir }}/bin/java -jar {{ mw_dir }}/{{ mw_installer }} -silent -responseFile {{ mw_dir }}/wls_install.rsp -invPtrLoc {{ mw_oraInv }}/oraInst.loc"

     register: command_result

   - debug: msg={{ command_result.stdout.split('\n')[:-1]}}

   - name: Wait for installation complete

     pause:

      minutes: 3


Syntax check:

# ansible-playbook wls_install.yml --syntax-check

playbook: wls_install.yml


Call ansible play book :


# ansible-playbook wls_install.yml

PLAY [all] *************************************************************************************

TASK [Gathering Facts] *************************************************************************************

ok: [ 192.168.100.2]

ok: [ 192.168.100.1]

TASK [Install Weblogic] *************************************************************************************

changed: [ 192.168.100.2]

changed: [ 192.168.100.1]

TASK [debug] *************************************************************************************

ok: [ 192.168.100.1] => {

    "msg": [

        "Launcher log file is /tmp/OraInstall2021-11-16_03-37-14PM/launcher2021-11-16_03-37-14PM.log.",

        "Extracting the installer . . . . . . . . . . . Done",

        "Checking if CPU speed is above 300 MHz.   Actual 1995.312 MHz    Passed",

        "Checking swap space: must be greater than 512 MB.   Actual 16191 MB    Passed",

        "Checking if this platform requires a 64-bit JVM.   Actual 64    Passed (64-bit not required)",

        "Checking temp space: must be greater than 300 MB.   Actual 21984 MB    Passed",

        "Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2021-11-16_03-37-14PM",

        "Log: /tmp/OraInstall2021-11-16_03-37-14PM/install2021-11-16_03-37-14PM.log",

        "Copyright (c) 1996, 2017, Oracle and/or its affiliates. All rights reserved.",

        "Reading response file..",

        "Skipping Software Updates",

        "Starting check : CertifiedVersions",

        "Expected result: One of oracle-6, oracle-7, redhat-7, redhat-6, SuSE-11, SuSE-12",

        "Actual Result: oracle-7.8",

        "Check complete. The overall result of this check is: Passed",

        "CertifiedVersions Check: Success.",

        "",

        "",

        "Starting check : CheckJDKVersion",

        "Expected result: 1.8.0_131",

        "Actual Result: 1.8.0_291",

        "Check complete. The overall result of this check is: Passed",

        "CheckJDKVersion Check: Success.",

        "",

        "",

        "Validations are enabled for this session.",

        "Verifying data",

        "Copying Files",

        "Percent Complete : 10",

        "Percent Complete : 20",

        "Percent Complete : 30",

        "Percent Complete : 40",

        "Percent Complete : 50",

        "Percent Complete : 60",

        "Percent Complete : 70",

        "Percent Complete : 80",

        "Percent Complete : 90",

        "Percent Complete : 100",

        "",

        "The installation of Oracle Fusion Middleware 12c Infrastructure 12.2.1.3.0 completed successfully."

    ]

}

ok: [ 192.168.100.2] => {

    "msg": [

        "Launcher log file is /tmp/OraInstall2021-11-16_03-37-14PM/launcher2021-11-16_03-37-14PM.log.",

        "Extracting the installer . . . . . . . . Done",

        "Checking if CPU speed is above 300 MHz.   Actual 1995.312 MHz    Passed",

        "Checking swap space: must be greater than 512 MB.   Actual 16191 MB    Passed",

        "Checking if this platform requires a 64-bit JVM.   Actual 64    Passed (64-bit not required)",

        "Checking temp space: must be greater than 300 MB.   Actual 22337 MB    Passed",

        "Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2021-11-16_03-37-14PM",

        "Log: /tmp/OraInstall2021-11-16_03-37-14PM/install2021-11-16_03-37-14PM.log",

        "Copyright (c) 1996, 2017, Oracle and/or its affiliates. All rights reserved.",

        "Reading response file..",

        "Skipping Software Updates",

        "Starting check : CertifiedVersions",

        "Expected result: One of oracle-6, oracle-7, redhat-7, redhat-6, SuSE-11, SuSE-12",

        "Actual Result: oracle-7.8",

        "Check complete. The overall result of this check is: Passed",

        "CertifiedVersions Check: Success.",

        "",

        "",

        "Starting check : CheckJDKVersion",

        "Expected result: 1.8.0_131",

        "Actual Result: 1.8.0_291",

        "Check complete. The overall result of this check is: Passed",

        "CheckJDKVersion Check: Success.",

        "",

        "",

        "Validations are enabled for this session.",

        "Verifying data",

        "Copying Files",

        "Percent Complete : 10",

        "Percent Complete : 20",

        "Percent Complete : 30",

        "Percent Complete : 40",

        "Percent Complete : 50",

        "Percent Complete : 60",

        "Percent Complete : 70",

        "Percent Complete : 80",

        "Percent Complete : 90",

        "Percent Complete : 100",

        "",

        "The installation of Oracle Fusion Middleware 12c Infrastructure 12.2.1.3.0 completed successfully."

    ]

}


TASK [Wait for installation complete] *************************************************************************************

Pausing for 180 seconds

(ctrl+C then 'C' = continue early, ctrl+C then 'A' = abort)

ok: [ 192.168.100.1]


PLAY RECAP **************************************************************************************************************************************************

 192.168.100.1             : ok=4    changed=1    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0

 192.168.100.2             : ok=3    changed=1    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0

#

18 comments:

  1. BINARY SCAM RECOVERY

    ❌ Binary Option, Forex and their likes are a means of making money but it’s more like gambling. There are no sure means to guarantee that a person could make profit with them and that’s why it can also be reasoned to be scam. Let’s not forget that some individuals even give you �� % guarantee of making profits and end up running away with your money. The internet today is full of Binary Option Recovery Scam, you see so much testimonies been shared about how a firm or Company helped them recover what they lost to Binary Options. But believe it, it’s just a way to lure more people and end up scamming them.

    ❌ You might have also come across some individuals that say they will give you guarantee on successful trades but they only end up as SCAMMERS as well. You here them say stuffs like 200% guaranteed in just 2 weeks and when you go into trade with them, they start telling you to pay profits percentage before you can get your income. These are all liars please avoid them. But if you have been a victim of this guys, then you should contact FIRMWARE now‼️

    ✳️The big Question is “Can someone Recover their money lost to Binary Option and Scam⁉️
    I will say yes, and will tell you how.

    The only way to Recovery your money back is by hiring HACKERS to help you break into the Firms Database Security System using the information you provide them with, Extract your file and get back your money. It seems like a really impossible thing to do, I will tell you, it should be impossible, but with the use of specially designed softwares known to HACKERS and Authorities (such as The FBI, CIA e.t.c) it is possible and the only way to recover your money.

    ✅FIRMWARE are a group of hackers who use their hacking skill to hunt down SCAMMERS and help individuals recovery their money from Internet SCAMMERS.
    We just need the contact details of the SCAMMERS and Paymnet Info and within 4-8 hours your money will be return to you.

    ✳️ You can contact us via the emails below-:
    firmwarehacks@gmail.com


    We also provide Legit Hacking Services such as-:
    ��Phone Hacking/Cloning
    ��Email Hacking & Password Recovery
    ��Social Media Hacking & Passowrd Recovery
    ��Deleted Files Recovery ��Mobil Tracking
    ��Virus detection & Elimination.

    Email-: firmwarehacks@gmail.com




    Firmware
    2022 © All Right Reserved.

    ReplyDelete
  2. I just have to introduce this hacker that I have been working with him on getting my credit score been boosted across the Equifax, TransUnion and Experian report. He made a lot of good changes on my credit report by erasing all the past eviction, bad collections and DUI off my credit report history and also increased my FICO score above 876 across my three credit bureaus report you can contatc him for all kind of hacks . Email him here via Email him here via hackintechnology@gmail.com or whatsapp Number: +1 410 635 0697.

    ReplyDelete
  3. A few months ago, I felt so depressed, I got frustrated with bad credits, but then I contacted HACK VANISH by phone: +1 (747) 293-8514 and email: HACK VANISH (@) GMAIL. COM. I found out about hack vanish services through positive reviews read on some credit blogs, in a blink of an eye this great hacker restored my credit score from 509 to 784 in all 3 major credit bureaus, they got removed evictions and foreclosures, my LexisNexis and Chex system was repaired respectively, a few days later I received an email confirming the approval of my mortgage loan, it was quite surprising because I never thought it was possible. Today, I can confidently say that 2021 was a banner year for my husband and I as we now own a new house and a new SUV courtesy of HACK VANISH, I would definitely recommend him to anyone in need of a genuine Hacker.

    ReplyDelete
  4. It is a shame how people come in contact with fake hackers, I was a victim too until I met Wizard Schwartz Hacker. He helped me when I needed him the most. His charges are so minimal I decided to help promote him. Some of the services he renders include the following:

    ++ Boost your credit score
    ++ Identify & Track fake hackers
    ++ Recover funds from fake hackers.
    ++ Social media account hack
    ++ Game hack
    ++ Website and database hack
    ++ Erasure of criminal record
    ++ Bank account hack
    ++ Track a cheating mate/hack their phones
    ++ Software cracking
    ++ Grade system hack
    ++ Bitcoin mining and recovery and lots more. He is the best in what he does.

    CONTACT HIM : schwartzsoftwarehackingprogram@gmail.com, WhatsApp:+1 704-313-9661

    ReplyDelete
  5. It is a shame how people come in contact with fake hackers, I was a victim too until I met Wizard Schwartz Hacker. He helped me when I needed him the most. His charges are so minimal I decided to help promote him. Some of the services he renders include the following:

    ++ Boost your credit score
    ++ Identify & Track fake hackers
    ++ Recover funds from fake hackers.
    ++ Social media account hack
    ++ Game hack
    ++ Website and database hack
    ++ Erasure of criminal record
    ++ Bank account hack
    ++ Track a cheating mate/hack their phones
    ++ Software cracking
    ++ Grade system hack
    ++ Bitcoin mining and recovery and lots more. He is the best in what he does.

    CONTACT HIM : schwartzsoftwarehackingprogram@gmail.com, WhatsApp:+1 704-313-9661It is a shame how people come in contact with fake hackers, I was a victim too until I met Wizard Schwartz Hacker. He helped me when I needed him the most. His charges are so minimal I decided to help promote him. Some of the services he renders include the following:

    ++ Boost your credit score
    ++ Identify & Track fake hackers
    ++ Recover funds from fake hackers.
    ++ Social media account hack
    ++ Game hack
    ++ Website and database hack
    ++ Erasure of criminal record
    ++ Bank account hack
    ++ Track a cheating mate/hack their phones
    ++ Software cracking
    ++ Grade system hack
    ++ Bitcoin mining and recovery and lots more. He is the best in what he does.

    CONTACT HIM : schwartzsoftwarehackingprogram@gmail.com, WhatsApp:+1 704-313-9661

    ReplyDelete
  6. I had to leave this post here as a sign of gratitude since that is one of the least BRIXTON asked of me. From my calculations, I made $25,200 in 1-week trading but unfortunately lost it all after I tried to participate in an airdrop, I became very devastated until I read some wonderful reviews about WIZARD BRIXTON. I feel so much joy right now because BRIXTON did come through for me by getting my money back from those scam artists, my advice is for you to be mindful of the links you click online to avoid losing your money. The experience of losing your money to a scammer is not funny no matter how much. Feel free to ask me more hanswilton3@gmail.com or contact WIZARD BRIXTON via
    EMAIL : WIZARDBRIXTON(AT) GMAIL (DOT) COM
    WHATS-APPS : (+1- /807-23 ) 4-0428 .

    ReplyDelete
  7. All thanks to Mr Anderson for helping with my profits and making my fifth withdrawal possible. I'm here to share an amazing life changing opportunity with you. its called Bitcoin / Forex trading options. it is a highly lucrative business which can earn you as much as $2,570 in a week from an initial investment of just $200. I am living proof of this great business opportunity. If anyone is interested in trading on bitcoin or any cryptocurrency and want a successful trade without losing notify Mr Anderson now.Whatsapp: (+447883246472 )
    Email: tdameritrade077@gmail.com

    ReplyDelete
  8. I lost my job few months back and there was no way to get income for my family, things was so tough and I couldn't get anything for my children, not until a met a recommendation on a page writing how Mr Bernie Wilfred helped a lady in getting a huge amount of profit every 6 working days on trading with his management on the cryptocurrency Market, to be honest I never believe it but I took the risk to take a loan of $1000. and I contacted him unbelievable and I was so happy I earn $12,500 in 6 working days, the most joy is that I can now take care of my family I don't know how to appreciate your good work Mr. Bernie Doran God will continue to bless you for being a life saver I have no way to appreciate you than to tell people about your good services.
For a perfect investment and good strategies contact Mr Bernie Doran via WhatsApp :+1(424)285-0682 or Telegram : @Bernie_doran_fx or Email : Bernie.doranfx01@gmail.com

    ReplyDelete
  9. I would strongly love to recommend the services of the best team of dark web hackers. They are professional and very discreet in carrying out their jobs, they have the best customer service agents and satisfaction at heart. If you have any services you wish to contact them for, go on info (@) albertgonzalezwizard dot online / Whatsapp +31684181827 or Telegram:  +31687920980. They help track and monitor your cheating partner's phone without his idea, clear or erase criminal records as well as repair a bad credit score, all social media hacks,funds recovery and many others.

    ReplyDelete
  10. This comment has been removed by a blog administrator.

    ReplyDelete
  11. LEGIT FULLZ & TOOLS STORE

    Hello to All !

    We are offering all types of tools & Fullz on discounted price.
    If you are in search of anything regarding fullz, tools, tutorials, Hack Pack, etc
    Feel Free to contact

    ***CONTACT 24/7***
    **Telegram > @leadsupplier
    **ICQ > 752822040
    **Skype > Peeterhacks
    **Wicker me > peeterhacks

    "SSN LEADS/FULLZ AVAILABLE"
    "TOOLS & TUTORIALS AVAILABLE FOR HACKING, SPAMMING,
    CARDING, CASHOUT, CLONING, SCRIPTING ETC"

    **************************************
    "Fresh Spammed SSN Fullz info included"
    >>SSN FULLZ with complete info
    >>CC With CVV (vbv & non vbv) Fullz USA
    >>FULLZ FOR SBA, PUA & TAX RETURN FILLING
    >>USA I.D Photos Front & Back
    >>High Credit Score fullz (700+ Scores)
    >>DL number, Employee Details, Bank Details Included
    >>Complete Premium Info with Relative Info

    ***************************************
    COMPLETE GUIDE FOR TUTORIALS & TOOLS

    "SPAMMING" "HACKING" "CARDING" "CASH OUT"
    "KALI LINUX" "BLOCKCHAIN BLUE PRINTS" "SCRIPTING"
    "FRAUD BIBLE"

    "TOOLS & TUTORIALS LIST"
    =>Ethical Hacking Ebooks, Tools & Tutorials
    =>Bitcoin Hacking
    =>Kali Linux
    =>Fraud Bible
    =>RAT
    =>Keylogger & Keystroke Logger
    =>Whatsapp Hacking & Hacked Version of Whatsapp
    =>Facebook & Google Hacking
    =>Bitcoin Flasher
    =>SQL Injector
    =>Premium Logs (PayPal/Amazon/Coinbase/Netflix/FedEx/Banks)
    =>Bitcoin Cracker
    =>SMTP Linux Root
    =>Shell Scripting
    =>DUMPS with pins track 1 and 2 with & without pin
    =>SMTP's, Safe Socks, Rdp's brute
    =>PHP mailer
    =>SMS Sender & Email Blaster
    =>Cpanel
    =>Server I.P's & Proxies
    =>Viruses & VPN's
    =>HQ Email Combo (Gmail, Yahoo, Hotmail, MSN, AOL, etc.)

    *Serious buyers will always welcome
    *Price will be reduce in bulk order
    *Discount offers will give to serious buyers
    *Hope we do a great business together

    ===>Contact 24/7<===
    ==>Telegram > @leadsupplier
    ==>ICQ > 752822040
    ==>Skype > Peeterhacks
    ==>Wicker me > peeterhacks

    ReplyDelete
  12. This comment has been removed by a blog administrator.

    ReplyDelete
  13. I must testify that your article is out standing.most of the articles I come across these days do not really provide anything that attracts others as yours, but believe me the way you interact is literally awesome  I do respect that so much. I will instantly get your rss and stay informed of any updates you make and as well take the advantage to share some vital information regarding 8 different types of loans to master before going for any loan. Fake bank statement

    ReplyDelete
  14. This comment has been removed by a blog administrator.

    ReplyDelete
  15. This comment has been removed by a blog administrator.

    ReplyDelete
  16. This comment has been removed by a blog administrator.

    ReplyDelete
  17. It was a quiet Tuesday morning. I logged into my Bitcoin wallet like I had a hundred times before, expecting to check balances and plan trades. But instead of numbers, I saw a void — a zero balance staring back at me like a cruel joke.

    I blinked. Refreshed. Checked again. Still empty. Over $3,000,000…gone. Just like that. The air seemed to thicken around me. My heart raced. For a moment, I thought it was a glitch. But the harsh truth set in quickly: I had been hacked.

    The realization was crushing. This wasn’t just money. It was years of savings, strategic investments, and early adoption that I had poured my soul into. And now it had vanished in the blink of an eye, swept away like dust in the wind.

    I contacted my wallet provider. No help. Filed reports. Got silence. Every road led to a dead end. The blockchain — as transparent as it is — offers little mercy when it comes to reversing a malicious transaction.

    Days passed in a haze. Sleep eluded me. The thought that I had lost everything was like a weight I couldn’t shake.

    But just when despair threatened to become permanent, I stumbled on an article — a digital forensics firm had helped a tech entrepreneur recover his stolen crypto. At first, I was skeptical. There are too many scams promising hope only to exploit vulnerability. But something about the way they operated, their transparency and technical insights, gave me pause.

    They were called SPYHOST — a digital assets recovery group that specialized in crypto theft investigation and blockchain tracing. I sent a cautious email to: Spyhost@cyberdude.com.

    Within hours, I got a response. What followed was nothing short of extraordinary.

    They assigned a recovery specialist to my case. The team dissected the movement of my stolen BTC across the blockchain, mapping the laundering patterns through mixers, identifying exchange addresses, and even liaising with enforcement and security contacts when necessary.

    It felt like watching digital detectives at work — forensic, methodical, relentless.

    And then, ten days later, came the email that brought me to tears:

    “We’ve traced the stolen funds to cold wallets linked to a known laundering syndicate. Action has been taken. Check your wallet.”

    I logged in, my hands trembling. The familiar figure was back. My $3 million was restored.

    To this day, I still can’t quite put into words the mix of disbelief, gratitude, and awe I felt. I had prepared to move on with my life with nothing. Instead, I got everything back.

    So if you're reading this and facing a similar nightmare, know this: there is hope. Blockchain may be unforgiving, but the right expertise can turn the tide.

    Reach out to the team that helped me. You can contact them via email: Spyhost@cyberdude.com. They didn’t just recover my assets — they helped me reclaim my peace of mind.

    ReplyDelete
  18. Title: From Despair to Hope — How I Recovered $255,000 Lost to a Forex Scam

    Earlier this year, I made what I thought was a smart financial move — investing $3,500 into an online forex trading platform that appeared highly professional and convincing. At first, everything seemed perfect. My initial deposit started growing rapidly. I watched my account balance rise to an incredible $155,000 in what felt like no time.

    Excited by the apparent success, I decided to trust the process and added more funds. As time passed, I invested an additional $100,000, encouraged by what seemed to be a thriving portfolio. However, the moment I tried to withdraw my profits, things began to unravel.

    The platform stalled my withdrawal attempts with vague excuses and eventually demanded more payments — so-called "processing fees" and "security clearances." That was when the harsh reality hit me: I had fallen victim to a meticulously orchestrated scam.

    The pain of losing over $250,000 was unbearable. Sleepless nights, overwhelming regret, and a deep sense of betrayal followed. I was ashamed to speak about it, thinking no one could help. But fate had one more surprise in store — and this time, it was a good one.

    During a desperate online search for recovery options, I came across Cloudstrike Cyber Security. Skeptical but with nothing left to lose, I reached out to them via their contact email: [Cloudstrikecyber@gmail.com]

    From the very first interaction, they were professional, empathetic, and direct. They listened to my story, analyzed the platform I had been scammed by, and explained the recovery process step-by-step. I was shocked by how much they already knew about these types of fraud rings. Over the course of several weeks, they worked tirelessly — tracking digital footprints, leveraging blockchain forensics, and using advanced cyber investigation tools.

    Against all odds, Cloudstrike Cyber Security recovered 95% of my lost funds. That’s right — they brought back over $240,000 that I thought was gone forever.

    To anyone out there going through something similar: you are not alone. Scammers are getting smarter, but so are the people fighting them. I highly recommend Cloudstrike Cyber Security to anyone who has been a victim of a crypto or forex scam. They gave me back not just my money, but my peace of mind.

    You can contact them at [Cloudstrikecyber@gmail.com]
    WhatsApp:+1 (260) 408-3923

    ReplyDelete

Translate >>