Re: [ansible-project] Oracle 12C hangs with while doing unattended installation

2018-09-24 Thread Isha G
I have found a blog actually and I am working on it.
Thanks a lot for all the suggestions.

On Mon, Sep 24, 2018 at 3:46 PM Isha G  wrote:

> Hi,
> Same thing happens with remote Powershell and I understand this may not be
> Ansible issue.
> Any suggestions? From Oracle 12 c side
>
> On Mon, Sep 24, 2018 at 3:30 PM Isha G  wrote:
>
>> Hi,
>> Thanks for the replies.
>> I have the same issues with the with remote powershell.
>> I still see 0% CPU utilization. I am not sure how to move forward. I am
>> still seeing the same issues.
>>
>> On Mon, Sep 24, 2018 at 1:40 AM Jordan Borean 
>> wrote:
>>
>>> It's very hard for us to help you in this situation but basically it
>>> boils down to you running these checks and finding out what is causing the
>>> program to hang;
>>>
>>> * Use something like procexp to see if the setup.exe process is spawning
>>> any child processes that are running in the background
>>> * Ensure your quoting is not screwing up the install process, in your
>>> first example you have quoted the responseFile path arg but you don't need
>>> this quoted.
>>> * Try and replicate this through another WinRM session like PowerShell's
>>> Invoke-Command or Enter-PSSession
>>> * Use Ansible become on the task to escape the boundary of the WinRM
>>> logon and run through a psuedo-interactive process
>>> * See if there is any logging you can enable on the Oracle installer,
>>> this could tell you the stage it is up to and what it may be waiting on
>>>
>>> As for why you cannot see it when running through Ansible, Ansible uses
>>> a completely separate session to run your processes as any normal
>>> interactive logon. This is not unique to Ansible but how Windows treats
>>> things like network logons such as WinRM.
>>>
>>> Thanks
>>>
>>> Jordan
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Ansible Project" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to ansible-project+unsubscr...@googlegroups.com.
>>> To post to this group, send email to ansible-project@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/ansible-project/e2e0f876-862d-4b74-a045-93f0f74355fd%40googlegroups.com
>>> <https://groups.google.com/d/msgid/ansible-project/e2e0f876-862d-4b74-a045-93f0f74355fd%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAKvY8Ft42HHS7Wg36L-_qz44gdL5sLK4%3D1DP3hKjoJ3tcC8Uig%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Oracle 12C hangs with while doing unattended installation

2018-09-24 Thread Isha G
Hi,
Same thing happens with remote Powershell and I understand this may not be
Ansible issue.
Any suggestions? From Oracle 12 c side

On Mon, Sep 24, 2018 at 3:30 PM Isha G  wrote:

> Hi,
> Thanks for the replies.
> I have the same issues with the with remote powershell.
> I still see 0% CPU utilization. I am not sure how to move forward. I am
> still seeing the same issues.
>
> On Mon, Sep 24, 2018 at 1:40 AM Jordan Borean  wrote:
>
>> It's very hard for us to help you in this situation but basically it
>> boils down to you running these checks and finding out what is causing the
>> program to hang;
>>
>> * Use something like procexp to see if the setup.exe process is spawning
>> any child processes that are running in the background
>> * Ensure your quoting is not screwing up the install process, in your
>> first example you have quoted the responseFile path arg but you don't need
>> this quoted.
>> * Try and replicate this through another WinRM session like PowerShell's
>> Invoke-Command or Enter-PSSession
>> * Use Ansible become on the task to escape the boundary of the WinRM
>> logon and run through a psuedo-interactive process
>> * See if there is any logging you can enable on the Oracle installer,
>> this could tell you the stage it is up to and what it may be waiting on
>>
>> As for why you cannot see it when running through Ansible, Ansible uses a
>> completely separate session to run your processes as any normal interactive
>> logon. This is not unique to Ansible but how Windows treats things like
>> network logons such as WinRM.
>>
>> Thanks
>>
>> Jordan
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Ansible Project" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to ansible-project+unsubscr...@googlegroups.com.
>> To post to this group, send email to ansible-project@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/ansible-project/e2e0f876-862d-4b74-a045-93f0f74355fd%40googlegroups.com
>> <https://groups.google.com/d/msgid/ansible-project/e2e0f876-862d-4b74-a045-93f0f74355fd%40googlegroups.com?utm_medium=email_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAKvY8FsC35yzKE2LTu8yA-18Z3KNJZJ42PzPos0U%3DejT6W3jvQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Oracle 12C hangs with while doing unattended installation

2018-09-24 Thread Isha G
Hi,
Thanks for the replies.
I have the same issues with the with remote powershell.
I still see 0% CPU utilization. I am not sure how to move forward. I am
still seeing the same issues.

On Mon, Sep 24, 2018 at 1:40 AM Jordan Borean  wrote:

> It's very hard for us to help you in this situation but basically it boils
> down to you running these checks and finding out what is causing the
> program to hang;
>
> * Use something like procexp to see if the setup.exe process is spawning
> any child processes that are running in the background
> * Ensure your quoting is not screwing up the install process, in your
> first example you have quoted the responseFile path arg but you don't need
> this quoted.
> * Try and replicate this through another WinRM session like PowerShell's
> Invoke-Command or Enter-PSSession
> * Use Ansible become on the task to escape the boundary of the WinRM logon
> and run through a psuedo-interactive process
> * See if there is any logging you can enable on the Oracle installer, this
> could tell you the stage it is up to and what it may be waiting on
>
> As for why you cannot see it when running through Ansible, Ansible uses a
> completely separate session to run your processes as any normal interactive
> logon. This is not unique to Ansible but how Windows treats things like
> network logons such as WinRM.
>
> Thanks
>
> Jordan
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-project+unsubscr...@googlegroups.com.
> To post to this group, send email to ansible-project@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/e2e0f876-862d-4b74-a045-93f0f74355fd%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAKvY8Fv7tBEkhdjnx2xMa8e95OqVtZ66JK6YfVdrd%2ByzPutv0g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Oracle 12C hangs with while doing unattended installation

2018-09-23 Thread Isha G
For SQL we used win_command so I thought that should work for Oracle but it
doesn't seem to work. Should I try through remote power shell ?

On Sunday, September 23, 2018, Varun Chopra  wrote:

> That wasn't my question though.
>
> If you can run it remotely from another windows vm you should be able to
> see where it breaks side-by-side. Also, is there a reason you're not using
> win_package?
>
>
>
> On Sunday, September 23, 2018 at 10:49:19 PM UTC+5:30, Isha G wrote:
>>
>> I have just tried it locally and manually and it works every time. I just
>> created a couple of new Windows servers and installing it with ansible
>> hangs again so it does not seem to be a cleanup issue.
>>
>> On Sunday, September 23, 2018, Varun Chopra  wrote:
>>
>>> Can you install it remotely via invoke-command?
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Ansible Project" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to ansible-proje...@googlegroups.com.
>>> To post to this group, send email to ansible...@googlegroups.com.
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/ansible-project/9521693a-69d2-4cdb-a16b-cde2f135bd46%
>>> 40googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-project+unsubscr...@googlegroups.com.
> To post to this group, send email to ansible-project@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/ansible-project/c5241128-da63-4615-8780-3d3aff376e15%40googlegroups.
> com
> <https://groups.google.com/d/msgid/ansible-project/c5241128-da63-4615-8780-3d3aff376e15%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAKvY8Fvc7eHFZ7qa2vxENWs0FL3FYo8xB3JG7dhrfHtkSRja2g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Oracle 12C hangs with while doing unattended installation

2018-09-23 Thread Isha G
I have just tried it locally and manually and it works every time. I just
created a couple of new Windows servers and installing it with ansible
hangs again so it does not seem to be a cleanup issue.

On Sunday, September 23, 2018, Varun Chopra  wrote:

> Can you install it remotely via invoke-command?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-project+unsubscr...@googlegroups.com.
> To post to this group, send email to ansible-project@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/ansible-project/9521693a-69d2-4cdb-a16b-cde2f135bd46%40googlegroups.
> com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAKvY8Fuv-1nUstO4KDd%2B-iuG%3DQL5AQivQEL42dq2uWJmam_d-w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Oracle 12C hangs with while doing unattended installation

2018-09-23 Thread Isha G
Anyone else online? Please help with this issue.


On Sunday, September 23, 2018, Isha G  wrote:

> Thanks for the quick reply. I see Oracle universal installer window open
> up when I run this manually through power shell or command line. I didn't
> see either anything popping up while installing through sensible nor is the
> installation moving forward. No app folder is created or setup.exe also
> does not use any CPUs i am using -waitforcompletion switch and
> -ignoreSysPrereqs switch as well apart from -silent and responsefile
>
> On Sunday, September 23, 2018, Karl Auer  wrote:
>
>> What exactly are you expecting to see "pop up"?
>>
>> Regards, K.
>>
>>
>> On Mon, Sep 24, 2018 at 1:05 AM, Isha G  wrote:
>>
>>> I have tried it several times manually with proper cleanup and it has
>>> worked everyone with this answer file. What I see while installing through
>>> Ansible is it starts the setup.exe but the other screen of command line
>>> Oracle universal installer doesn't pop up during installation through
>>> Ansible. Is there anyway I can set this up for Ansible? I am new to
>>> Ansible, please help.
>>>
>>> On Sunday, September 23, 2018, Karl Auer  wrote:
>>>
>>>> Make sure that you have removed ALL Oracle-related environment
>>>> variables and try it again manually. I reckon there is something that is
>>>> NOT in the response file, but that is supplied via another channel such as
>>>> an environment variable when you do it manually.
>>>>
>>>> It definitely sounds as if the setup is waiting for manual input.
>>>>
>>>> You need a logfile showing the process...
>>>>
>>>> Regards, K.
>>>>
>>>>
>>>> On Mon, Sep 24, 2018 at 12:21 AM, Isha G  wrote:
>>>>
>>>>> Can someone please help? The system still gets stuck with setup.exe at
>>>>> 0 % CPU and keeps the installation of Oracle 12 c running.
>>>>> but it's not moving forward at all.
>>>>>
>>>>> On Fri, Sep 21, 2018 at 5:08 PM Isha G  wrote:
>>>>>
>>>>>> Works when run manually.
>>>>>> Even with ansible, when we run the playbook the setup.exe is running
>>>>>> but it's 0% CPU and
>>>>>> I am not sure typically how long it would take for the installation
>>>>>> would complete but hours on end it's just running on ansible.
>>>>>>
>>>>>> but locally it got completed within a few hours.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Friday, September 21, 2018 at 4:44:17 PM UTC+5:30, Jean-Yves
>>>>>> LENHOF wrote:
>>>>>>>
>>>>>>> Try running it without ansible... There's probably a requirement
>>>>>>> which is not OK, so the installer ask for input but it is not possible 
>>>>>>> in
>>>>>>> ansible
>>>>>>>
>>>>>>> Le 21 septembre 2018 13:10:33 GMT+02:00, Isha G 
>>>>>>> a écrit :
>>>>>>>>
>>>>>>>> Oracle 12C hangs while doing unattended installation.
>>>>>>>>
>>>>>>>> setup.exe keeps on running and there is no progress with it on the
>>>>>>>> Windows Server 2012.
>>>>>>>>
>>>>>>>> the tasks that I am using is :
>>>>>>>>
>>>>>>>>
>>>>>>>>   - name: install oracle 12c database
>>>>>>>> win_command: c:\database\setup.exe -silent -waitforcompletion
>>>>>>>> '-responseFile c:\database\db_1.rsp'
>>>>>>>> args:
>>>>>>>>   chdir: c:\database
>>>>>>>>
>>>>>>>>
>>>>>>>> Can someone let me know what the issue maybe?
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>> --
>>>>>>> Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez
>>>>>>> excuser ma brièveté.
>>>>>>>
>>>>>> --
>>>>>>

Re: [ansible-project] Oracle 12C hangs with while doing unattended installation

2018-09-23 Thread Isha G
Thanks for the quick reply. I see Oracle universal installer window open up
when I run this manually through power shell or command line. I didn't see
either anything popping up while installing through sensible nor is the
installation moving forward. No app folder is created or setup.exe also
does not use any CPUs i am using -waitforcompletion switch and
-ignoreSysPrereqs switch as well apart from -silent and responsefile

On Sunday, September 23, 2018, Karl Auer  wrote:

> What exactly are you expecting to see "pop up"?
>
> Regards, K.
>
>
> On Mon, Sep 24, 2018 at 1:05 AM, Isha G  wrote:
>
>> I have tried it several times manually with proper cleanup and it has
>> worked everyone with this answer file. What I see while installing through
>> Ansible is it starts the setup.exe but the other screen of command line
>> Oracle universal installer doesn't pop up during installation through
>> Ansible. Is there anyway I can set this up for Ansible? I am new to
>> Ansible, please help.
>>
>> On Sunday, September 23, 2018, Karl Auer  wrote:
>>
>>> Make sure that you have removed ALL Oracle-related environment variables
>>> and try it again manually. I reckon there is something that is NOT in the
>>> response file, but that is supplied via another channel such as an
>>> environment variable when you do it manually.
>>>
>>> It definitely sounds as if the setup is waiting for manual input.
>>>
>>> You need a logfile showing the process...
>>>
>>> Regards, K.
>>>
>>>
>>> On Mon, Sep 24, 2018 at 12:21 AM, Isha G  wrote:
>>>
>>>> Can someone please help? The system still gets stuck with setup.exe at
>>>> 0 % CPU and keeps the installation of Oracle 12 c running.
>>>> but it's not moving forward at all.
>>>>
>>>> On Fri, Sep 21, 2018 at 5:08 PM Isha G  wrote:
>>>>
>>>>> Works when run manually.
>>>>> Even with ansible, when we run the playbook the setup.exe is running
>>>>> but it's 0% CPU and
>>>>> I am not sure typically how long it would take for the installation
>>>>> would complete but hours on end it's just running on ansible.
>>>>>
>>>>> but locally it got completed within a few hours.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Friday, September 21, 2018 at 4:44:17 PM UTC+5:30, Jean-Yves LENHOF
>>>>> wrote:
>>>>>>
>>>>>> Try running it without ansible... There's probably a requirement
>>>>>> which is not OK, so the installer ask for input but it is not possible in
>>>>>> ansible
>>>>>>
>>>>>> Le 21 septembre 2018 13:10:33 GMT+02:00, Isha G 
>>>>>> a écrit :
>>>>>>>
>>>>>>> Oracle 12C hangs while doing unattended installation.
>>>>>>>
>>>>>>> setup.exe keeps on running and there is no progress with it on the
>>>>>>> Windows Server 2012.
>>>>>>>
>>>>>>> the tasks that I am using is :
>>>>>>>
>>>>>>>
>>>>>>>   - name: install oracle 12c database
>>>>>>> win_command: c:\database\setup.exe -silent -waitforcompletion
>>>>>>> '-responseFile c:\database\db_1.rsp'
>>>>>>> args:
>>>>>>>   chdir: c:\database
>>>>>>>
>>>>>>>
>>>>>>> Can someone let me know what the issue maybe?
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> --
>>>>>> Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez
>>>>>> excuser ma brièveté.
>>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Ansible Project" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to ansible-project+unsubscr...@googlegroups.com.
>>>>> To post to this group, send email to ansible-project@googlegroups.com.
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/ans

Re: [ansible-project] Oracle 12C hangs with while doing unattended installation

2018-09-23 Thread Isha G
I have tried it several times manually with proper cleanup and it has
worked everyone with this answer file. What I see while installing through
Ansible is it starts the setup.exe but the other screen of command line
Oracle universal installer doesn't pop up during installation through
Ansible. Is there anyway I can set this up for Ansible? I am new to
Ansible, please help.

On Sunday, September 23, 2018, Karl Auer  wrote:

> Make sure that you have removed ALL Oracle-related environment variables
> and try it again manually. I reckon there is something that is NOT in the
> response file, but that is supplied via another channel such as an
> environment variable when you do it manually.
>
> It definitely sounds as if the setup is waiting for manual input.
>
> You need a logfile showing the process...
>
> Regards, K.
>
>
> On Mon, Sep 24, 2018 at 12:21 AM, Isha G  wrote:
>
>> Can someone please help? The system still gets stuck with setup.exe at 0
>> % CPU and keeps the installation of Oracle 12 c running.
>> but it's not moving forward at all.
>>
>> On Fri, Sep 21, 2018 at 5:08 PM Isha G  wrote:
>>
>>> Works when run manually.
>>> Even with ansible, when we run the playbook the setup.exe is running but
>>> it's 0% CPU and
>>> I am not sure typically how long it would take for the installation
>>> would complete but hours on end it's just running on ansible.
>>>
>>> but locally it got completed within a few hours.
>>>
>>>
>>>
>>>
>>> On Friday, September 21, 2018 at 4:44:17 PM UTC+5:30, Jean-Yves LENHOF
>>> wrote:
>>>>
>>>> Try running it without ansible... There's probably a requirement which
>>>> is not OK, so the installer ask for input but it is not possible in ansible
>>>>
>>>> Le 21 septembre 2018 13:10:33 GMT+02:00, Isha G  a
>>>> écrit :
>>>>>
>>>>> Oracle 12C hangs while doing unattended installation.
>>>>>
>>>>> setup.exe keeps on running and there is no progress with it on the
>>>>> Windows Server 2012.
>>>>>
>>>>> the tasks that I am using is :
>>>>>
>>>>>
>>>>>   - name: install oracle 12c database
>>>>> win_command: c:\database\setup.exe -silent -waitforcompletion
>>>>> '-responseFile c:\database\db_1.rsp'
>>>>> args:
>>>>>   chdir: c:\database
>>>>>
>>>>>
>>>>> Can someone let me know what the issue maybe?
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>> --
>>>> Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser
>>>> ma brièveté.
>>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Ansible Project" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to ansible-project+unsubscr...@googlegroups.com.
>>> To post to this group, send email to ansible-project@googlegroups.com.
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/ansible-project/3b67b59c-35e4-49f5-9332-06d2a8ddf0d5%
>>> 40googlegroups.com
>>> <https://groups.google.com/d/msgid/ansible-project/3b67b59c-35e4-49f5-9332-06d2a8ddf0d5%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Ansible Project" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to ansible-project+unsubscr...@googlegroups.com.
>> To post to this group, send email to ansible-project@googlegroups.com.
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/ansible-project/CAKvY8Ft3J56dB%3DOMa%2Bix5x6h7RXL4ujsK5O
>> 10XHgw%2BS_qcE%2BGg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/ansible-project/CAKvY8Ft3J56dB%3DOMa%2Bix5x6h7RXL4ujsK5O10XHgw%2BS_qcE%2BGg%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Karl Auer
>
> Email  : ka...@2pisoftware.com
> Website: http://2pisoftware.com
>
> GPG/PGP : F0AB 6C70 A49D 1927 6E05 81E7 AD95 268F 2AB6 40EA
> P

Re: [ansible-project] Oracle 12C hangs with while doing unattended installation

2018-09-23 Thread Isha G
Can someone please help? The system still gets stuck with setup.exe at 0 %
CPU and keeps the installation of Oracle 12 c running.
but it's not moving forward at all.

On Fri, Sep 21, 2018 at 5:08 PM Isha G  wrote:

> Works when run manually.
> Even with ansible, when we run the playbook the setup.exe is running but
> it's 0% CPU and
> I am not sure typically how long it would take for the installation would
> complete but hours on end it's just running on ansible.
>
> but locally it got completed within a few hours.
>
>
>
>
> On Friday, September 21, 2018 at 4:44:17 PM UTC+5:30, Jean-Yves LENHOF
> wrote:
>>
>> Try running it without ansible... There's probably a requirement which is
>> not OK, so the installer ask for input but it is not possible in ansible
>>
>> Le 21 septembre 2018 13:10:33 GMT+02:00, Isha G  a
>> écrit :
>>>
>>> Oracle 12C hangs while doing unattended installation.
>>>
>>> setup.exe keeps on running and there is no progress with it on the
>>> Windows Server 2012.
>>>
>>> the tasks that I am using is :
>>>
>>>
>>>   - name: install oracle 12c database
>>> win_command: c:\database\setup.exe -silent -waitforcompletion
>>> '-responseFile c:\database\db_1.rsp'
>>> args:
>>>   chdir: c:\database
>>>
>>>
>>> Can someone let me know what the issue maybe?
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>> --
>> Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser
>> ma brièveté.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-project+unsubscr...@googlegroups.com.
> To post to this group, send email to ansible-project@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/3b67b59c-35e4-49f5-9332-06d2a8ddf0d5%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/3b67b59c-35e4-49f5-9332-06d2a8ddf0d5%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAKvY8Ft3J56dB%3DOMa%2Bix5x6h7RXL4ujsK5O10XHgw%2BS_qcE%2BGg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Oracle 12C hangs with while doing unattended installation

2018-09-21 Thread Isha G
Works when run manually. 
Even with ansible, when we run the playbook the setup.exe is running but 
it's 0% CPU and
I am not sure typically how long it would take for the installation would 
complete but hours on end it's just running on ansible.

but locally it got completed within a few hours.




On Friday, September 21, 2018 at 4:44:17 PM UTC+5:30, Jean-Yves LENHOF 
wrote:
>
> Try running it without ansible... There's probably a requirement which is 
> not OK, so the installer ask for input but it is not possible in ansible
>
> Le 21 septembre 2018 13:10:33 GMT+02:00, Isha G  > a écrit :
>>
>> Oracle 12C hangs while doing unattended installation.
>>
>> setup.exe keeps on running and there is no progress with it on the 
>> Windows Server 2012.
>>
>> the tasks that I am using is :
>>
>>
>>   - name: install oracle 12c database
>> win_command: c:\database\setup.exe -silent -waitforcompletion 
>> '-responseFile c:\database\db_1.rsp'
>> args:
>>   chdir: c:\database
>>
>>
>> Can someone let me know what the issue maybe?
>>
>>
>>
>>
>>
>>
>>
>>
>>
> -- 
> Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma 
> brièveté.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/3b67b59c-35e4-49f5-9332-06d2a8ddf0d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Oracle 12C hangs with while doing unattended installation

2018-09-21 Thread Isha G
Oracle 12C hangs while doing unattended installation.

setup.exe keeps on running and there is no progress with it on the Windows 
Server 2012.

the tasks that I am using is :


  - name: install oracle 12c database
win_command: c:\database\setup.exe -silent -waitforcompletion 
'-responseFile c:\database\db_1.rsp'
args:
  chdir: c:\database


Can someone let me know what the issue maybe?








-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/82fadd3e-f03e-47d4-a1e2-bc68b2a023d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Trying Oracle database download to windows server 2012

2018-09-18 Thread Isha G
Can you please paste the task that you used?

On Tue, Sep 18, 2018 at 2:07 AM Jordan Borean  wrote:

> You can store the download on your own web server and use win_get_url from
> there. The trouble isn't that Ansible is failing but that Oracle is hiding
> the actual download behind a license agreement. I've had success with
> adding the cookie value to the win_get_url header so Oracle presents you
> the actual installer rather than just a web page.
>
> Thanks
>
> Jordan
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-project+unsubscr...@googlegroups.com.
> To post to this group, send email to ansible-project@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/fbb54773-f7ad-43ef-8a78-b28f8e8b1bc6%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAKvY8Fv1S-Dh6Npzbuc0upFq892BZ_otF6FwfhGspBAaJUFkHw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Trying Oracle database download to windows server 2012

2018-09-16 Thread Isha G
The file size is 3 GB so I will not be able to copy using win_copy or even
if I do it's going to take long time as per the bandwidth.

On Sunday, September 16, 2018, Jean-Yves LENHOF 
wrote:

>
>
> Le 16/09/2018 à 16:59, Isha G a écrit :
>
> Hello Jonathan,
> Thanks for the quick response. I am actually trying two things here:
> 1. Download Oracle 12c DB on a Windows Server 2012 and I have tried it
> with firewall on and off but still I get the broken File.
> 2. For now I have manually copied these files and with setup.exe and
> silent installation command I am trying this as per the setup.exe -silent
> switch as per provided by the oracle website but it failing with error code
> 259.
>
> *Here are my tasks:*
>
> --
>
> - hosts: oracle
>   tasks:
>   - name: Ensure the file is copied on windows
> win_get_url:
>   url: http://download.oracle.com/otn/nt/oracle12c/122010/
> winx64_12201_grid_home.zip
>   dest: C:\Users\Administrator\Documents\winx64_12201_grid_home123.zip
>   force: yes
>   validate_certs: no
>   force_basic_auth: yes
>   url_username: abc...@yahoo.com
>   url_password: Abcxyz@098
>
>
> Hi,
>
> You should download first the zip file somewhere on your network and
> download from it...
> If you insist on downloading from Oracle site each time, be careful that
> Oracle want you to accept the EULA, so direct download is not allowed, so
> you need to do tricks with cookie, authentication, etc... and this can
> change from time to time
>
> For example for Java (not tried) :
> https://iavian.com/2016/09/08/oracle-wget-curl-download/
>
> Regards,
>
> JYL
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-project+unsubscr...@googlegroups.com.
> To post to this group, send email to ansible-project@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/ansible-project/c53f3928-417e-5ec3-5c3b-b853bcf29ad4%40lenhof.eu.org
> <https://groups.google.com/d/msgid/ansible-project/c53f3928-417e-5ec3-5c3b-b853bcf29ad4%40lenhof.eu.org?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAKvY8Fs7mm45yFi2rAJOvKs5G72zwuJutBAJmOJVxnMHk0efkg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Trying Oracle database download to windows server 2012

2018-09-16 Thread Isha G
Hello Jonathan,
Thanks for the quick response. I am actually trying two things here:
1. Download Oracle 12c DB on a Windows Server 2012 and I have tried it with
firewall on and off but still I get the broken File.
2. For now I have manually copied these files and with setup.exe and silent
installation command I am trying this as per the setup.exe -silent switch
as per provided by the oracle website but it failing with error code 259.

*Here are my tasks:*

--

- hosts: oracle
  tasks:
  - name: Ensure the file is copied on windows
win_get_url:
  url:
http://download.oracle.com/otn/nt/oracle12c/122010/winx64_12201_grid_home.zip
  dest: C:\Users\Administrator\Documents\winx64_12201_grid_home123.zip
  force: yes
  validate_certs: no
  force_basic_auth: yes
  url_username: abc...@yahoo.com
  url_password: Abcxyz@098

  - name: install oracle 12c database
win_package:
  path: C:\Users\Administrator\Documents\database\setup.exe
  arguments: "-silent 'variable=setting' -noconfig -nowait
-responseFile dbca.rsp"
  product_id: "12.1.0.1"
  state: present

*And here are the logs that I get :*


task path: /mcc/oracle_install.yml:15
Using module file
/usr/lib/python3.6/site-packages/ansible/modules/windows/win_package.ps1
<10.207.81.239> ESTABLISH WINRM CONNECTION FOR USER: Administrator on PORT
5986 TO x.x.x.x
checking if winrm_host x.x.x.x is an IPv6 address
<10.207.81.239> WINRM CONNECT: transport=ssl endpoint=https:// x.x.x.x.x.x
:5986/wsman
<10.207.81.239> WINRM OPEN SHELL: x.x.x.x.x.x
EXEC (via pipeline wrapper)
<10.207.81.239> WINRM EXEC 'PowerShell' ['-NoProfile', '-NonInteractive',
'-ExecutionPolicy', 'Unrestricted', '-']
<10.207.81.239> WINRM RESULT ''
<10.207.81.239> WINRM CLOSE SHELL: x.x.x.x.x.x
fatal: [10.207.81.239]: FAILED! => {
"changed": false,
"exit_code": 259,
"msg": "unexpected rc from install
C:\\Users\\Administrator\\Documents\\database\\setup.exe: see rc, stdout
and stderr for more details",
"rc": 259,
"reboot_required": false,
"restart_required": false,
"stderr": "",
"stderr_lines": [],
"stdout": "\r\n Exit code of OUI process 259=",
"stdout_lines": [
"",
" Exit code of OUI process 259="
]


Please help me with this. I am pretty new to ansible. I really like it and
need help. I am trying to install this by copy from the url on windows and
then running the setup.exe from the remote server.
amazon ec2 or docker instances are not allowed for my tasks. I am required
to do this with this process through ansible.

Thanks.
Best Regards,
Isha

On Sun, Sep 16, 2018 at 2:40 PM Isha G  wrote:

> I am trying to download Oracle 12c database installation zip file on
> windows server 2012 with Thier link. I get the changed message but the zip
> is just 5kb in size. How do I get the actual file and not this 5kb broken
> file.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-project+unsubscr...@googlegroups.com.
> To post to this group, send email to ansible-project@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/a83a7bba-6d6b-47af-a9ee-ae85b4e6412a%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAKvY8FvTq7UezsC0X9L2NmDJbrNKHG38XgYWNTnSwfon9dPRXQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Trying to download the Oracle db from url using win_get_url

2018-09-16 Thread Isha G
I am trying to download the Oracle 12c db zip file for win64 with win_get_url I 
am unable to figure out why it downloads a 5kb broken file with status as 
changed I am using Ansible 2.6.3

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/a9470d62-341b-469c-9d88-98bb5934c488%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Trying Oracle database download to windows server 2012

2018-09-16 Thread Isha G
I am trying to download Oracle 12c database installation zip file on windows 
server 2012 with Thier link. I get the changed message but the zip is just 5kb 
in size. How do I get the actual file and not this 5kb broken file.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/a83a7bba-6d6b-47af-a9ee-ae85b4e6412a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.