Vagrant code to build a 2-node Oracle RAC cluster in VirtualBox

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Vagrant code to build a 2-node Oracle RAC cluster in VirtualBox

faber1739
Vagrant version : 2.0.1
Guest OS : Oracle Linux 7.4


I have an Oracle Linux 7.4 vagrant base box. I would like to build a 2-node Oracle RAC cluster. I want to build 2 RAC VMs and attach shared disks (for ASM) to both of these VMs.
Where can I find the vagrant code for this requirement ??

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/a9132a38-ab27-4bd5-8977-015d4b8d3452%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Vagrant code to build a 2-node Oracle RAC cluster in VirtualBox

Alvaro Miranda Aguilera
for the disk part you can use something like this:


Alvaro

On Mon, Nov 20, 2017 at 2:59 PM, <[hidden email]> wrote:
Vagrant version : 2.0.1
Guest OS : Oracle Linux 7.4


I have an Oracle Linux 7.4 vagrant base box. I would like to build a 2-node Oracle RAC cluster. I want to build 2 RAC VMs and attach shared disks (for ASM) to both of these VMs.
Where can I find the vagrant code for this requirement ??

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/a9132a38-ab27-4bd5-8977-015d4b8d3452%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Alvaro

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0ezL0G_0J8%2BiPs84OCLjiRd2GK7OpDd1jwZpVweLFsyMXQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Vagrant code to build a 2-node Oracle RAC cluster in VirtualBox

Jake Pollmann
In reply to this post by faber1739
I had luck in the past with:


It looks like it is out of date now, but could be some good inspiration.

JP

On Mon, Nov 20, 2017 at 6:59 AM <[hidden email]> wrote:
Vagrant version : 2.0.1
Guest OS : Oracle Linux 7.4


I have an Oracle Linux 7.4 vagrant base box. I would like to build a 2-node Oracle RAC cluster. I want to build 2 RAC VMs and attach shared disks (for ASM) to both of these VMs.
Where can I find the vagrant code for this requirement ??

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/a9132a38-ab27-4bd5-8977-015d4b8d3452%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAJFZ-Voh-Sq_CfshKC%3D8UtyUMtRQ-o%2Br3o6fB36p3L4kuBY_kw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Vagrant code to build a 2-node Oracle RAC cluster in VirtualBox

faber1739
In reply to this post by Alvaro Miranda Aguilera
Thank You Alvaro.
 I am new to vagrant. 
 Is there a way I could check the code for syntax errors before I execute the code?

 My only programming knowledge is on Oracle PL/SQL where IF statements end with an END IF as shown below in Courier New font.
 But vagrant's IF statements end with just an "end" keyword which can be confusing if not intended very clearly.

 if condition then
   --statements
elseif condition then
    -- more statements
...
else
    -- other statements;
end if;


 
On Tuesday, November 21, 2017 at 6:41:49 AM UTC+8, Alvaro Miranda Aguilera wrote:
for the disk part you can use something like this:

<a href="https://gist.github.com/anonymous/a3a7832904e13ac1f222baa911d33024" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgist.github.com%2Fanonymous%2Fa3a7832904e13ac1f222baa911d33024\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFrNZfdbJlj-WSYMVhkKmn24hrKHA&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgist.github.com%2Fanonymous%2Fa3a7832904e13ac1f222baa911d33024\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFrNZfdbJlj-WSYMVhkKmn24hrKHA&#39;;return true;">https://gist.github.com/anonymous/a3a7832904e13ac1f222baa911d33024

Alvaro

On Mon, Nov 20, 2017 at 2:59 PM, <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="aPPl5m7HCQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">fabe...@...> wrote:
Vagrant version : 2.0.1
Guest OS : Oracle Linux 7.4


I have an Oracle Linux 7.4 vagrant base box. I would like to build a 2-node Oracle RAC cluster. I want to build 2 RAC VMs and attach shared disks (for ASM) to both of these VMs.
Where can I find the vagrant code for this requirement ??

--
This mailing list is governed under the HashiCorp Community Guidelines - <a href="https://www.hashicorp.com/community-guidelines.html" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.hashicorp.com%2Fcommunity-guidelines.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGHa_CaKfZaJiwbkUndUQbVGlQCDw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.hashicorp.com%2Fcommunity-guidelines.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGHa_CaKfZaJiwbkUndUQbVGlQCDw&#39;;return true;">https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: <a href="https://github.com/mitchellh/vagrant/issues" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fmitchellh%2Fvagrant%2Fissues\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHxcA5DuHlQlPInMi_k1Pz4pMNqNw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fmitchellh%2Fvagrant%2Fissues\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHxcA5DuHlQlPInMi_k1Pz4pMNqNw&#39;;return true;">https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="aPPl5m7HCQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">vagrant-up+...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/vagrant-up/a9132a38-ab27-4bd5-8977-015d4b8d3452%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/vagrant-up/a9132a38-ab27-4bd5-8977-015d4b8d3452%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/vagrant-up/a9132a38-ab27-4bd5-8977-015d4b8d3452%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/vagrant-up/a9132a38-ab27-4bd5-8977-015d4b8d3452%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.



--
Alvaro

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/e8c7d345-cb4a-454b-852a-d77dcd6b8029%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Vagrant code to build a 2-node Oracle RAC cluster in VirtualBox

Alvaro Miranda Aguilera
hello

Vagrant is written in ruby, and Vagrantfile use ruby as a lang.

The code I did share it works.

I build a shared disk setup for clusters and oracle rac too.

Alvaro.


On Tue, Nov 21, 2017 at 2:21 PM, <[hidden email]> wrote:
Thank You Alvaro.
 I am new to vagrant. 
 Is there a way I could check the code for syntax errors before I execute the code?

 My only programming knowledge is on Oracle PL/SQL where IF statements end with an END IF as shown below in Courier New font.
 But vagrant's IF statements end with just an "end" keyword which can be confusing if not intended very clearly.

 if condition then
   --statements
elseif condition then
    -- more statements
...
else
    -- other statements;
end if;


 
On Tuesday, November 21, 2017 at 6:41:49 AM UTC+8, Alvaro Miranda Aguilera wrote:
for the disk part you can use something like this:


Alvaro

On Mon, Nov 20, 2017 at 2:59 PM, <[hidden email]> wrote:
Vagrant version : 2.0.1
Guest OS : Oracle Linux 7.4


I have an Oracle Linux 7.4 vagrant base box. I would like to build a 2-node Oracle RAC cluster. I want to build 2 RAC VMs and attach shared disks (for ASM) to both of these VMs.
Where can I find the vagrant code for this requirement ??

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/a9132a38-ab27-4bd5-8977-015d4b8d3452%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Alvaro

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/e8c7d345-cb4a-454b-852a-d77dcd6b8029%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Alvaro

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0ey-3nwDixvfiEbBvrqRafqVKkzxeZ%3Di3h6SeONVW%3DqdJA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.