DA On-Prem -> OCI Journey when UR on a Budget --aka Cheep like Me - Part 4 - Config Da Oracle Vbox
Part 4: The VirtualBox Setup: The DBServer Vbox
This is Vbox is key to the final section dealing with the PFSense configuration. Note that this Vbox will be on the same internal subnet (192.168.2) CIDR range as the PFSense Box. So you will be able to access the configuration console of the PFSensee box from it. If you want o add additional boxes for different purposes, go ahead. Just remember resources, subnet and ability to reach the internet via this PFSense router Vbox for software, etc. So anyway. Let’s get to it.
Here is the configuration – highlighted entries are what you need to configure:
Ok so to summarize Ya need to:
1> use an Oracle Linux 64-bit version (I used 8.5 – but as long as compatible with any db binary. Ur good.
2> Base memory 2gb and all the acceleration stuff as noted above (ur jus checking boxes so don’t forget.
3> You binary Iso (ya got to download this to ur host server) set it as so (find it using the dialog:
4> Storage set to 50Gb. (I wanted to make sure I didn’t run out if I wanted to put a tiny db on
the file system. (yeah I know ASM is the way to go but I’ll leave that to you if you wanna do that – this is a demo).
5> Two cards – the internal network: so you can reach any box on the subnet (192.168.2)
the NAT so you can get outside to get stuff if you need it.
Da install:
Oracle Linux Install: I am not going to screen shot everything here but the pertinent ones.
If all is set properly and the iso you put in is correct, you should see this screen when firing the Vbox up for the first time:
After the loading, you should see this:
Ok so go through the stuff you need to set (language, timezone, etc), you will eventually get to the screen:
These highlighted sections are what you need to provide info for:
Setting: Installation destination: this is partitioning the vdi to house the binary, provide O/S , etc.
the first thing you will see is the VDI you created. All you go to do here is set the configuration to ‘Custom’ and hit the ‘Done’ button at the top.
The next screen takes you to adding the mounts you want. I always
start with the (set automatically) as a first step and then fill in
the sizing, and mounts. What you get initially is a ‘/’, boot and
a swap mount. Size these to what you want just make sure you have
enough swap. I will add to this say a /u01 where I will put any
binaries I need. Here what ended up with (note sine demo didn’t use
a large vdi only 12 gb – but you get the picture). You can choose 'auomatically partition if ya want but I would rather monkey with that.
Note one thing: I used ‘ext2’ as my files system. Use what you want but I like this one. Size what you need and move on.
Next Networking:
when you select this, you should see both the cards. They are in order (top: internal, second : NAT).
You will configure the internal first: here is a sample:
Ok, so a few details you need to know:
1> note the address is in the subnet of the internal network (remember the 192.168.2 subnet you configured on the PFSense box??? This subnet allows you to ‘see’ that box from this one.
2> Note that the CIDR ‘24’ is the SAME as well. Note that the 192.168.2.1/24 is the LAN cidr you set on the Pfsense box. As such, you can put any machines in this subnet and pfsense can be reached from them and Pfsense can be configured to use/route them.
Like I said, while this is a Vbox, it simulates an On-prem of any size. It all depends on the routing/networking in the on-prem. (of course you’llwant to configure HA for your pfsense but that is not included here).
The NAT is the other connection. Leave these at there default and ‘off’ turn it on when you need to get stuff downloaded to the machine.
3> set a root password (don’t forget it, write it down somewhere).
Next Software Selection.
Make sure you have a GUI!!.. I added some additional stuff:
1> Performance tools
2> Network Servers
3> debugging tools
4> ftp server
5> File and Storage Server
6> development tools
7> security tools
8> system tools.
Once selectect, hit ‘Begin Installation’ .
Once this completes you can log in.
Done!
WHAT'S NEXT ?
Below is a teaser screen shot of what is coming in Part 5 where we configure PFSense to connect the internal Vbox Network (LAN) → WAN → OCI. Here is a picture of an operational PFSense based IPSEC to the Oracle Cloud!
Stay Tuned!!
Comments
Post a Comment