Oracle Enterprise Express 12c. OEM express 12c replace is the light weight web front tool that replace the traditional enterprise manager. However, somehow I can not make it work on my Windows Server 2012. I didn’t spend too much time on trouble shooting it. Maybe if when I have need to run the Oracle on Windows. Apr 25, 2017 Back in January, our school district installed a new server with SQL 2016 running on Windows Server 2012 R2. We also are hosting PowerSchool servers, which run on Oracle. One of our older servers is running VB scripts, with the OraOLEDB.Oracle provider installed. Jan 28, 2019 1 The client has the CredSSP update installed, and Encryption Oracle Remediation is set to Mitigated.This client will not RDP to a server that does not have the CredSSP update installed. 2 The server has the CredSSP update installed, and Encryption Oracle Remediation is set to Force updated clients.The server will block any RDP connection from clients that do not have the CredSSP update.
This tutorial shows you how to install the Oracle Database 12c software on Microsoft Windows along with a default instance of an Oracle Database that contains example schemas ( including the HR schema). The Oracle Universal Installer (OUI) is used to install the Oracle Database software. Leverage Microsoft Windows Server 2012 R2 Standard Edition for your Windows based workloads on Oracle Public Cloud. #### Microsoft Windows Server 2012 R2 Standard.
8i | 9i | 10g | 11g | 12c | 13c | 18c | 19c | Misc | PL/SQL | SQL | RAC | WebLogic | Linux
Home » Articles » 12c » Here
This article describes the installation of Oracle Database 12c Release 1 (12.1) RAC on Windows 2012 Server Standard Edition using VirtualBox with no additional shared disk devices.
Related articles.
Introduction
One of the biggest obstacles preventing people from setting up test RAC environments is the requirement for shared storage. In a production environment, shared storage is often provided by a SAN or high-end NAS device, but both of these options are very expensive when all you want to do is get some experience installing and using RAC. A cheaper alternative is to use a FireWire disk enclosure to allow two machines to access the same disk(s), but that still costs money and requires two servers. A third option is to use virtualization to fake the shared storage.
Using VirtualBox you can run multiple Virtual Machines (VMs) on a single server, allowing you to run both RAC nodes on a single machine. In additon, it allows you to set up shared virtual disks, overcoming the obstacle of expensive shared storage.
Before you launch into this installation, here are a few things to consider.
Download Software
Download the following software.
VirtualBox Installation
First, install the VirtualBox software. On RHEL and its clones you do this with the following command as the root user.
The package name will vary depending on the host distribution you are using. Once complete, VirtualBox is started from the menu.
Virtual Machine Setup
Now we must define the two virtual RAC nodes. We can save time by defining one VM, then cloning it when it is installed.
Start VirtualBox and click the 'New' button on the toolbar. Enter the name 'w2012-121-rac1', OS 'Microsoft Windows' and Version 'Windows 2012 (64 bit)', then click the 'Next' button.
Enter '4096' as the base memory size, then click the 'Next' button. Use more memory if you have enough physical memory on your machine as it will make the process much quicker!
Accept the default option to create a new virtual hard disk by clicking the 'Create' button.
Acccept the default hard drive file type by clicking the 'Next' button.
Acccept the 'Dynamically allocated' option by clicking the 'Next' button.
Accept the default location and set the size to '30G', then click the 'Create' button. If you can spread the virtual disks onto different physical disks, that will improve performance.
The 'w2012-121-rac1' VM will appear on the left hand pane. Scroll down the details on the right and click on the 'Network' link.
Make sure 'Adapter 1' is enabled, set to 'Bridged Adapter', then click on the 'Adapter 2' tab.
Make sure 'Adapter 2' is enabled, set to 'Internal Network', then click on the 'System' section.
Move 'Hard Disk' to the top of the boot order and uncheck the 'Floppy' option, then click the 'OK' button.
The virtual machine is now configured so we can start the guest operating system installation.
Guest Operating System Installation
With the new VM highlighted, click the 'Start' button on the toolbar. On the 'Select start-up disk' screen, choose the relevant Oracle Linux ISO image and click the 'Start' button.
The resulting console window will contain the Windows 2012 boot screen.
Continue through the Full Standard Edition installation as you would for a normal server. In this case I was using an evaluation version of Windows 2012, so I picked the 'Windows Server 2012 Standard Evaluation (Server with a GUI)' option. Pick the custom install when doing a fresh installation.
When the installation is complete, install the VirtualBox Guest Additions on the server. This is initiated from the 'Devices > Install Guest Additions..' menu. Accept all the defaults and reboot the server when requested.
Windows Server 2012 R2
Create a shared folder (Devices > Shared Folders) on the virtual machine, pointing to the directory on the host where the Oracle software was unzipped. Check the 'Auto-mount' and 'Make Permanent' options before clicking the 'OK' button.
The VM will need to be restarted for the guest additions to be used properly. The next section requires a shutdown so no additional restart is needed at this time. Once the VM is restarted, the shared folder will be available as the 'E:' drive.
Oracle Installation Prerequisites
Perform the following steps whilst logged into the virtual machine.
Turn off the Windows firewall 'Server Manager > Local Server > Windows Firewall > Public:On > Turn Windows Firewall on or off' to prevent it from interfering with the sever communication. You can turn it on later and open up any required ports if you want to.
Amend the 'C:windowssystem32driversetchosts' file to contain the following information. Even if you are using DNS to resolve the SCAN, include the SCAN entries in the 'hosts' files. Without them the installer had trouble recognising the SCAN.
Open the 'Network Connections' screen (Server Manager > Local Server > Ethernet (click link next to it)). Rename the 'Ethernet' to 'public' and 'Ethernet 2' to 'private', making sure you apply the names to the appropriate connections. You can do this by right-clicking on the connection and selecting 'Rename' from the pop-up menu.
Set the correct IP information for the public and private connections. Right-click on a connection and select the 'Properties' menu option. Click on 'Internet Protocol Version 4 (TCP/IPv4)' option and click the 'Properties. button. Enter the appropriate IP, subnet, default gateway and DNS for the networks.
public:
private:
Click on the 'Advanced' button, followed by the 'DNS' tab. Select the 'Append these DNS suffixes (in order)' option and add the domain suffix, in this case 'localdomain'. Use the 'OK' buttons to exit the dialogs.
It's worth double-checking the MAC addresses of the network adapters in the VM against those of the network interfaces on the guest operating system. Make sure the public interface is the bridged connection. The guest OS sometimes shows the interfaces out of order.
If any of the network connections are left in a disabled state, right-click on then and select the 'Diagnose' option to repair them.
Ensure the public interface is first in the bind order:
Disable Windows Media Sensing for TCP/IP:
Open the 'System Properties' dialog (Start > Control Panel > System and Security > System > Change Settings) and do the following:
Restart the server.
Create Shared Disks
Make sure the VM is shutdown, create a directory to host the shared virtual disks on the host OS, then create the shared disks. My host is Linux, so the paths to the virtual disks are UNIX-style paths. If your host is Windows, then you will be using Windows-style paths.
Start the w2012-121-rac1 virtual machine by clicking the 'Start' button on the toolbar. When the server has started, log in so you can partition the disks.
We will partition the disks using the 'DiskPart' utility. To get alist of the current disks do the following.
In the diskpart utility we will perform the following commands.
Stamp the disks for use with ASM. This is done using the asmtool that comes with the Grid Infrastructure media.
The shared disks are now configured.
Clone the Virtual Machine
VirtualBox allows you to clone VMs, but these also attempt to clone the shared disks, which is not what we want. Instead we must manually clone the VM.
Shutdown the 'w2012-121-rac1' VM.
Manually clone the virtual disk using the following commands on the host server.
Create the 'w2012-121-rac2' virtual machine in VirtualBox in the same way as you did for 'w2012-121-rac1', with the exception of using an existing 'w2012-121-rac2.vdi' virtual hard drive.
Remember to add the three network adaptors as you did on the first VM. When the VM is created, attach the shared disks to this VM.
Start the 'w2008-112-rac2' virtual machine.
Open the 'Network Connections' screen (Server Manager > Local Server > Ethernet (click link next to it)) and amend the IP address values of each network to the appropriate values for the second node.
Open the 'System Properties' dialog (Start > Control Panel > System and Security > System > Change Settings) and change the machine name by clicking the 'Change' button. Click all 'OK' buttons to exit the 'System Properties' dialog and restart the server when prompted.
Once the RAC2 virtual machine has restarted, start the RAC1 virtual machine. When both nodes have started, check they can both ping all the public and private IP addresses using the following commands.
At this point the virtual IP addresses defined in the hosts file will not work, so don't bother testing them.
The virtual machine setup is now complete.
Before moving forward you should probably shut down your VMs and take snapshots of them. If any failures happen beyond this point it is probably better to switch back to those snapshots, clean up the shared drives and start the grid installation again. An alternative to cleaning up the shared disks is to back them up now using zip and just replace them in the event of a failure.
Install the Grid Infrastructure
Make sure both virtual machines are started. Login to 'w2012-121-rac1' and start the Oracle installer.
Windows Server 2012 Windows Services
Select the 'Skip software updates' option, then click the 'Next' button.
Select the 'Install and Configure Oracle Grid Infrastructure for a Cluster' option, then click the 'Next' button.
Select the 'Typical Installation' option, then click the 'Next' button.
On the 'Specify Cluster Configuration' screen, enter the correct SCAN Name and click the 'Add' button.
Enter the details of the second node in the cluster, then click the 'OK' button.
Click the 'Identify network interfaces..' button and check the public and private networks are specified correctly. Remember to mark the NAT interface as 'Do Not Use'. Once you are happy with them, click the 'OK' button and the 'Next' button on the previous screen.
Enter the ORACLE_BASE of 'c:app12.1.0.1', a software location of 'c:app12.1.0.1grid' and the SYSASM password. click the 'Next' button.
Set the redundancy to 'External', select all 4 disks and click the 'Next' button.
Wait while the prerequisite checks complete. If you have any issues, either fix them or check the 'Ignore All' checkbox and click the 'Next' button. It is likely the 'Windows firewall status', 'Physical Memory' and 'Administrator' tests will fail for this type of installation.
If you are happy with the summary information, click the 'Install' button.
Wait while the setup takes place.
Click the 'Close' button to exit the installer.
The grid infrastructure installation is now complete. We can check the status of the installation using the following commands.
At this point it is probably a good idea to shutdown both VMs and take snapshots. Remember to make a fresh zip of the ASM disks on the host machine, which you will need to restore if you revert to the post-grid snapshots.
Install the Database SoftwareOracle On Windows Server 2012 Windows 10
Make sure the 'w2012-121-rac1' and 'w2012-121-rac2' virtual machines are started, then login to 'w2012-121-rac1' and start the Oracle installer.
Uncheck the security updates checkbox and click the 'Next' button and 'Yes' on the subsequent warning dialog.
Check the 'Skip software updates' checkbox and click the 'Next' button.
Select the 'Install database software only' option, then click the 'Next' button.
Accept the 'Oracle Real Application Clusters database installation' option by clicking the 'Next' button.
Make sure both nodes are selected, then click the 'Next' button.
Select the required languages, then click the 'Next' button.
Select the 'Enterprise Edition' option, then click the 'Next' button.
Decide the credentials for the database user, then click the 'Next' button. In this case I picked the 'Use Windows Built-in Account' option, which is not recommended. If you pick this option, accept the following warning dialog.
Enter 'c:apporacle' as the Oracle base and 'c:apporacleproduct12.1.0.1db_1' as the software location, then click the 'Next' button.
Wait for the prerequisite check to complete. If there are any problems either fix them, or check the 'Ignore All' checkbox and click the 'Next' button.
If you are happy with the summary information, click the 'Install' button.
Wait while the installation takes place.
Click the 'Close' button to exit the installer.
Shutdown both VMs and take snapshots. Remember to make a fresh zip of the ASM disks on the host machine, which you will need to restore if you revert to the post-db snapshots.
Create a Database
Make sure the 'w2012-121-rac1' and 'w2012-121-rac2' virtual machines are started, then login to 'w2012-121-rac1' and start the Database Creation Asistant (DBCA).
Select the 'Create Database' option and click the 'Next' button.
Select the 'Create a database with default configuration' option. Enter the container database name (cdbrac), pluggable database name (pdbrac) and administrator password. Click the 'Next' button.
Wait for the prerequisite checks to complete. If there are any problems either fix them, or check the 'Ignore All' checkbox and click the 'Next' button.
If you are happy with the summary information, click the 'Finish' button.
Wait while the database creation takes place.
If you want to modify passwords, click the 'Password Management' button. When finished, click the 'Exit' button.
Click the 'Close' button to exit the DBCA.
Oracle Virtualbox On Windows Server 2012
The RAC database creation is now complete.
Check the Status of the RAC
There are several ways to check the status of the RAC. The
srvctl utility shows the current configuration and status of the RAC database.
The
V$ACTIVE_INSTANCES view can also display the current status of the instances.
For more information see:
Oracle On Windows Server 2012 Key
Hope this helps. Regards Tim..
Hey everyone,
I'm in new territory and can use all the help that I can get.
Back in January, our school district installed a new server with SQL 2016 running on Windows Server 2012 R2. We also are hosting PowerSchool servers, which run on Oracle.
One of our older servers is running VB scripts, with the OraOLEDB.Oracle provider installed. Because of performance issues on the older server, it was decided to migrate the scripts from the older server to the SQL Server.
The problem is that the SQL 2016 server does not appear to have the OraOLEDB.Oracle provider installed. Typically, we would install the Instant Client Package - Basic file and the Instant Client Package - ODBC file on the end user's computer. I tried that, and the test connection works. However, upon running one of the VBS scripts, it came back with the error:
'Provider cannot be found. It may not be properly installed.'
It has dawned on me that I may be on the wrong track.
Cutting right to the chase, how do I install the OraOLEDB.Oracle provider?
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |