8i 9i 10g 11g 12c 13c 18c 19c 21c Misc PL/SQL SQL RAC WebLogic Linux
Home » Articles » 12c » Here
Download Software. Download the following software. Oracle Linux 7 (Use the latest spin eg. 7.3); VirtualBox (5.1.14) Oracle 12c Release 2 (188.8.131.52) Software (64 bit) Depending on your version of VirtualBox and Oracle Linux, there may be some slight variation in how the screen shots look. I have just installed Ubuntu 14.04 on VirtualBox, including the guest additions. However, the display is really slow. Looking at the display settings I can see that the video memory is only 12MB but I can't move the slider to increase it. Host operating system (host OS). This is the OS of the physical computer on which Oracle VM VirtualBox was installed. There are versions of Oracle VM VirtualBox for Windows, Mac OS X, Linux, and Oracle Solaris hosts. See Section 1.4, “Supported Host Operating Systems”.
This article describes the installation of Oracle Database 12c Release 2 (12.2 64-bit) RAC on Linux (Oracle Linux 7 64-bit) using VirtualBox (5.1) with no additional shared disk devices.
Create Fixed-Size Disks Over Dynamic Ones. A virtual machine can slowly function if you are using. Presently, VirtualBox runs on Windows, Linux and Mac hosts and supports a large number of guest operating systems including but not limited to Windows (NT 4.0, 2000, XP, Server 2003, Vista, Windows 7, Windows 8, Windows 10), DOS/Windows 3.x, Linux (2.4, 2.6, 3.x and 4.x), Solaris and OpenSolaris, OS/2, and OpenBSD. VirtualBox is being actively.
- Oracle Installation Prerequisites
If you are comfortable with VirtualBox, Vagrant and RAC you might want to jump straight to the GitHub repository and use the basic instructions here, rather than working through a manual build.
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 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 addition, 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.
- The finished system includes the host operating system, two guest operating systems, two sets of Oracle Grid Infrastructure (Clusterware + ASM) and two Database instances all on a single server. As you can imagine, this requires a significant amount of disk space, CPU and memory.
- Following on from the last point, the VMs will each need at least 4G of RAM, preferably more if you don't want the VMs to swap like crazy. Don't assume you will be able to run this on a small PC or laptop. You won't.
- This procedure provides a bare bones installation to get the RAC working. There is no redundancy in the Grid Infrastructure installation or the ASM installation. To add this, simply create double the amount of shared disks and select the 'Normal' redundancy option when it is offered. Of course, this will take more disk space.
- During the virtual disk creation, I always choose not to preallocate the disk space. This makes virtual disk access slower during the installation, but saves on wasted disk space. The shared disks must have their space preallocated.
- This is not, and should not be considered, a production-ready system. It's simply to allow you to get used to installing and using RAC.
- The Single Client Access Name (SCAN) should be defined in the DNS or GNS and round-robin between one of 3 addresses, which are on the same subnet as the public and virtual IPs. Prior to 184.108.40.206 it could be defined as a single IP address in the '/etc/hosts' file, which is wrong and will cause the cluster verification to fail, but it allowed you to complete the install without the presence of a DNS. This does not seem to work for 220.127.116.11 onward.
- The virtual machines can be limited to 2Gig of swap, which causes a prerequisite check failure, but doesn't prevent the installation working. If you want to avoid this, define 3+Gig of swap.
- This article uses the 64-bit versions of Oracle Linux and Oracle 12c Release 2.
- When doing this installation on my server, I split the virtual disks on to different physical disks ('/u02', '/u03', '/u04'). This is not necessary, but makes things run a bit faster.
This procedure should run successfully on a Linux and Windows host. Where applicable, I've included both the Linux and Windows commands to be run on the host, so pick the relevant ones.
Although I have completed this installation with 4G VMs, it was chronically slow. I would suggest using as much memory as possible, without making the host OS swap.
Download the following software.
- Oracle Linux 7 (Use the latest spin eg. 7.3)
Depending on your version of VirtualBox and Oracle Linux, there may be some slight variation in how the screen shots look.
First, install the VirtualBox software. On RHEL and its clones you do this with the following type of command as the root user. On windows, just run the '.exe'.
The package name will vary depending on the host distribution you are using. Once complete, VirtualBox is started from the menu.
VirtualBox Network Setup
We need to make sure a host-only network is configured and check/modify the IP range for that network. This will be the public network for our RAC installation.
Start VirtualBox from the menu.
Select the 'File > Preferences' menu option.
Click 'Network' in the left pane and click the 'Host-only Networks' tab.
Click the 'Adds new host-only network' button on the right size of the screen. Depending on the host OS, a network called 'vboxnet0' or 'VirtualBox Host-Only Ethernet Adapter' will be created.
Click the 'Edits selected host-only network.' button on the right size of the screen.
If you want to use a different subnet for your public addresses you can change the network details here. Just make sure the subnet you choose doesn't match any real subnets on your network. I've decided to stick with the default, which for me is '192.168.56.X'.
- Use the 'OK' buttons to exit out of this screen.
- Click the 'NAT Networks' tab. If you don't have a NAT network defined, click the '+' button. You shouldn't need to configure this.
- Click the 'OK' button to close the preferences dialog.
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 'ol7-122-rac1', OS 'Linux' and Version 'Oracle (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 '50G', then click the 'Create' button. If you can spread the virtual disks onto different physical disks, that will improve performance.
The 'ol7-122-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 'NAT', then click on the 'Adapter 2' tab.
Make sure 'Adapter 2' is enabled, set to 'Host-only Adapter', then click on the 'Adapter 3' tab.
Make sure 'Adapter 3' 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.
If a 'Select start-up disk' screen doesn't appear, use the 'Devices > Optical Drives > Choose disk image..' menu option to select the relevant ISO image, then restart the VM using the 'Machine > Reset' menu option.
The resulting console window will contain the Oracle Linux boot screen.
Continue through the Oracle Linux 7 installation as you would for a basic server. A general pictorial guide to the installation can be found here. More specifically, it should be a server installation with a minimum of 4G+ swap, firewall disabled, SELinux set to permissive and the following package groups installed:
- Server with GUI
- Hardware Monitoring Utilities
- Large Systems Performance
- Network file system client
- Performance Tools
- Compatibility Libraries
- Development Tools
Mac soar lip liner. To be consistent with the rest of the article, the following information should be set during the installation.
- hostname: ol7-122-rac1.localdomain
- enp0s3 (eth0): DHCP (Connect Automatically)
- enp0s8 (eth1): IP=192.168.56.101, Subnet=255.255.255.0, Gateway=192.168.56.1, DNS=192.168.56.1, Search=localdomain (Connect Automatically)
- enp0s9 (eth2): IP=192.168.1.101, Subnet=255.255.255.0, Gateway=<blank>, DNS=<blank>, Search=<blank> (Connect Automatically)
You are free to change the IP addresses to suit your network, but remember to stay consistent with those adjustments throughout the rest of the article. Likewise, in this article I will refer to the network adapters as enp0s3, enp0s8 and enp0s9, In previous Linux versions they would have been eth0, eth1 and eth2 respectively.
Oracle Installation Prerequisites
Perform either the Automatic Setup or the Manual Setup to complete the basic prerequisites. The Additional Setup is required for all installations.
If you plan to use the 'oracle-database-server-12cR2-preinstall' package to perform all your prerequisite setup, issue the following command.
Earlier versions of Oracle Linux required manual setup of the Yum repository by following the instructions at http://public-yum.oracle.com.
It is probably worth doing a full update as well, but this is not strictly speaking necessary.
If you have not used the 'oracle-database-server-12cR2-preinstall' package to perform all prerequisites, you will need to manually perform the following setup tasks.
Add the following lines to the '/etc/sysctl.conf' file, or in a file called '/etc/sysctl.d/98-oracle.conf'.
Run one of the following commands to change the current kernel parameters, depending on which file you edited.
Add the following lines to a file called '/etc/security/limits.d/oracle-database-server-12cR2-preinstall.conf' file.
In addition to the basic OS installation, the following packages must be installed whilst logged in as the root user. This includes the 64-bit and 32-bit versions of some packages.
Create the new groups and users.
You could define the additional groups and assign them to the 'oracle' users. The would allow you to assign the individual groups during the installation. For this installation I've just used the 'dba' group.
The following steps must be performed, whether you did the manual or automatic setup.
Perform the following steps whilst logged into the 'ol7-122-rac1' virtual machine as the root user.
Set the password for the 'oracle' user.
Apart form the localhost address, the '/etc/hosts' file can be left blank, but I prefer to put the addresses in for reference.
The SCAN address is commented out of the hosts file because it must be resolved using a DNS, so it can round-robin between 3 addresses on the same subnet as the public IPs. The DNS can be configured on the host machine using BIND or Dnsmasq, which is much simpler. If you are using Dnsmasq, put the RAC-specific entries in the hosts machines '/etc/hosts' file, with the SCAN entries uncommented, and restart Dnsmasq.
Make sure the '/etc/resolv.conf' file includes a nameserver entry that points to the correct nameserver. Also, if the 'domain' and 'search' entries are both present, comment out one of them. For this installation my '/etc/resolv.conf' looked like this.
The changes to the 'resolv.conf' will be overwritten by the network manager, due to the presence of the NAT interface. For this reason, this interface should now be disabled on startup. You can enable it manually if you need to access the internet from the VMs. Edit the '/etc/sysconfig/network-scripts/ifcfg-enp0s3' (eth0) file, making the following change. This will take effect after the next restart.
There is no need to do the restart now. You can just run the following command. Remember to amend the adapter name if yours are named differently.
At this point, the networking for the first node should look something like the following. Notice that enp0s3 (eth0) has no associated IP address because it is disabled.
With this in place and the DNS configured the SCAN address is being resolved to all three IP addresses.
Change the setting of SELinux to permissive by editing the '/etc/selinux/config' file, making sure the SELINUX flag is set as follows.
If you have the Linux firewall enabled, you will need to disable or configure it, as shown here or here. The following is an example of disabling the firewall.
Make sure NTP (Chrony on OL7/RHEL7) is enabled.
Create the directories in which the Oracle software will be installed.
Log in as the 'oracle' user and add the following lines at the end of the '/home/oracle/.bash_profile' file.
Create a file called '/home/oracle/grid_env' with the following contents.
Create a file called '/home/oracle/db_env' with the following contents.
Once the '/home/oracle/.bash_profile' has been run, you will be able to switch between environments as follows.
We've made a lot of changes, so it's worth doing a reboot of the VM at this point to make sure all the changes have taken effect.
Install Guest Additions
Click on the 'Devices > Install Guest Additions' menu option at the top of the VM screen. If you get the option to auto-run take it. If not, then run the following commands.
Add the 'oracle' user into the 'vboxsf' group so it has access to shared drives.
Unzip the database software (but not the grid software) on the host machine.
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 called '/media/sf_18.104.22.168' will be accessible by the 'oracle' user.
Create Shared Disks
Shut down the 'ol7-122-rac1' virtual machine using the following command.
On the host server, create 4 sharable virtual disks and associate them as virtual media using the following commands. You can pick a different location, but make sure they are outside the existing VM directory.
If you are using a Windows host, you will have to modify the paths, but the process is the same.
Start the 'ol7-122-rac1' virtual machine by clicking the 'Start' button on the toolbar. When the server has started, log in as the root user so you can configure the shared disks. The current disks can be seen by issuing the following commands.
Use the 'fdisk' command to partition the disks sdb to sde. The following output shows the expected fdisk output for the sdb disk.
In each case, the sequence of answers is 'n', 'p', '1', 'Return', 'Return' and 'w'.
Once all the disks are partitioned, the results can be seen by repeating the previous 'ls' command.
Configure your UDEV rules, as shown here.
Add the following to the '/etc/scsi_id.config' file to configure SCSI devices as trusted. Create the file if it doesn't already exist.
The SCSI ID of my disks are displayed below.
Using these values, edit the '/etc/udev/rules.d/99-oracle-asmdevices.rules' file adding the following 4 entries. All parameters for a single entry must be on the same line.
Load updated block device partition tables.
Test the rules are working as expected.
Reload the UDEV rules.
The disks should now be visible and have the correct ownership using the following command. If they are not visible, your UDEV configuration is incorrect and must be fixed before you proceed.
The symbolic links are owned by root, but the devices they point to now have the correct ownership.
The shared disks are now configured for the grid infrastructure.
Clone the Virtual Machine
Do not use VirtualBox to clone VM, as it will also attempt to clone the shared disks, which is not what we want. Instead we must manually clone the VM.
Shut down the 'ol7-122-rac1' virtual machine using the following command.
You may get errors if you create the virtual disk in the default location VirtualBox will use to create the VM. If that happens, rename the folder holding the new virtual disk and go through the creation process of the new VM again.
Manually clone the 'ol7-122-rac1.vdi' disk using the following commands on the host server.
Create the 'ol7-122-rac2' virtual machine in VirtualBox in the same way as you did for 'ol7-122-rac1', with the exception of using an existing 'ol7-122-rac2.vdi' virtual hard drive.
Remember to add the three network adaptor as you did on the 'ol7-122-rac1' VM. When the VM is created, attach the shared disks to this VM.
Start the 'ol7-122-rac2' virtual machine by clicking the 'Start' button on the toolbar. Ignore any network errors during the startup.
Log in to the 'ol7-122-rac2' virtual machine as the 'root' user so we can reconfigure the network settings to match the following.
- hostname: ol7-122-rac2.localdomain
- enp0s3 (eth0): DHCP (*Not* Connect Automatically)
- enp0s8 (eth1): IP=192.168.56.102, Subnet=255.255.255.0, Gateway=192.168.56.1, DNS=192.168.56.1, Search=localdomain (Connect Automatically)
- enp0s9 (eth2): IP=192.168.1.102, Subnet=255.255.255.0, Gateway=<blank>, DNS=<blank>, Search=<blank> (Connect Automatically)
Amend the hostname in the '/etc/hostname' file.
Unlike previous Linux versions, we shouldn't have to edit the MAC address associated with the network adapters, but we will have to alter their IP addresses.
Edit the '/etc/sysconfig/network-scripts/ifcfg-enp0s8' (eth1), amending only the IPADDR settings as follows and deleting the UUID entry.
Edit the '/etc/sysconfig/network-scripts/ifcfg-enp0s9' (eth2), amending only the IPADDR settings as follows and deleting the UUID entry.
Restart the virtual machines.
At this point, the networking for the second node should look something like the following. Notice that enp0s3 (eth0) has no associated IP address because it is disabled.
Edit the '/home/oracle/.bash_profile' file on the 'ol7-122-rac2' node to correct the ORACLE_SID and ORACLE_HOSTNAME values.
Also, amend the ORACLE_SID setting in the '/home/oracle/db_env' and '/home/oracle/grid_env' files.
Restart the 'ol7-122-rac2' virtual machine and start the 'ol7-122-rac1' virtual machine. When both nodes have started, check they can both ping all the public and private IP addresses using the following commands.
Check the SCAN address is still being resolved properly on both nodes.
At this point the virtual IP addresses defined in the '/etc/hosts' file will not work, so don't bother testing them.
Check the UDEV rules are working on both machines.
Prior to 11gR2 we would probably use the 'runcluvfy.sh' utility in the clusterware root directory to check the prerequisites have been met. If you are intending to configure SSH connectivity using the installer this check should be omitted as it will always fail. If you want to setup SSH connectivity manually, then once it is done you can run the 'runcluvfy.sh' with the following command.
If you get any failures be sure to correct them before proceeding.
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. The GI is now an image installation, so perform the following on the first node as the 'oracle' user.
Install the following package from the grid home as the 'root' user on all nodes.
If you were planning on using the AFD Driver (the new ASMLib) you would configure the shared disks using the
asmcmd command as shown below. We are using UDEV, so this is not necessary.
Configure the Grid Infrastructure by running the following as the 'oracle' user.
I could have run the configuration in silent mode using this edited response file (grid_config.rsp) with the following command.
Instead, here's the interactive configuration.
Select the 'Configure Oracle Grid Infrastructure for a New Cluster' option, then click the 'Next' button.
Accept the 'Configure an Oracle Standalone Cluster' option by clicking the 'Next' button.
Enter the cluster name 'ol7-122-cluster', SCAN name 'ol7-122-scan' and SCAN port '1521', then click the 'Next' button.
On the 'Cluster Node Information' screen, click the 'Add' button.
Enter the details of the second node in the cluster, then click the 'OK' button.
Click the 'SSH connectivity..' button and enter the password for the 'oracle' user. Click the 'Setup' button to configure SSH connectivity, and the 'Test' button to test it once it is complete. Once the test is complete, click the 'Next' button.
Check the public and private networks are specified correctly. If the NAT interface is displayed, remember to mark it as 'Do Not Use'. Click the 'Next' button.
Accept the 'Configure ASM using block devices' option by clicking the 'Next' button.
Select the 'No' option, as we don't want to create a separate disk group for the GIMR in this case. Click the 'Next' button.
Set the redundancy to 'External', click the 'Change Discovery Path' button and set the path to '/dev/oracleasm/*'. Return to the main screen and select all 4 disks. Uncheck the 'Configure Oracle ASM Filter Driver' option, then click the 'Next' button.
Enter the credentials and click the 'Next' button.
Accept the default IPMI option by clicking the 'Next' button.
Don't register with EM. Click the 'Next' button.
We are using a single user and group manage both ASM add the database, so set the groups to 'dba' and click the 'Next' button. Accept the warnings on the subsequent dialog by clicking the 'Yes' button.
Enter the Oracle Base location '/u01/app/oracle' and click the 'Next' button. We have already pre-created directories for the later database installation, so ignore the subsequent warning about the Oracle Base not being empty by clicking the 'Yes' button.
Accept the default inventory directory by clicking the 'Next' button.
If you want the root scripts to run automatically, enter the relevant credentials. I prefer to run them manually. Click the 'Next' button.
Wait while the prerequisite checks complete. If you have any issues use the 'Fix & Check Again' button. Once possible fixes are complete, check the 'Ignore All' checkbox and click the 'Next' button. It is likely the 'Physical Memory' and 'Network Time Protocol (NTP)' tests will fail for this type of installation. This is OK.
If you are happy with the summary information, click the 'Install' button.
Wait while the installation takes place.
When prompted, run the configuration scripts on each node.
The output from the 'orainstRoot.sh' file should look something like that listed below.
The output of the 'root.sh' will vary a little depending on the node it is run on. Example output can be seen here (Node1, Node2).
Once the scripts have completed, return to the 'Execute Configuration Scripts' screen on 'ol7-122-rac1' and click the 'OK' button.
Wait for the configuration assistants to complete.
If any of the configuration steps fail you should check the specified log to see if the error is a show-stopper or not. The only error I received was for time sychronization (PRVG-13606. .
Provided you don't have any show-stoppers, it is safe to ignore the errors by clicking 'Next' button.
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 Software
Make sure the 'ol7-122-rac1' and 'ol7-122-rac2' virtual machines are started, then login to 'ol7-122-rac1' as the oracle user and start the Oracle installer. Check that all services are up using 'crsctl stat res -t', as described before.
I could have run the OUI in silent mode using this edited response file (db_install.rsp) with the following command.
Instead, here's the interactive view.
Uncheck the security updates checkbox and click the 'Next' button and 'Yes' on the subsequent warning dialog.
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 'Enterprise Edition' option, then click the 'Next' button.
Enter '/u01/app/oracle' as the Oracle base and '/u01/app/oracle/product/22.214.171.124/db_1' as the software location, then click the 'Next' button.
Select the desired operating system groups, then click the 'Next' button. In this case we are only using the 'dba' group.
Wait for the prerequisite check to complete. If there are any problems either click the 'Fix & Check Again' button, 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.
When prompted, run the configuration script on each node. When the scripts have been run on each node, click the 'OK' button.
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 'ol7-122-rac1' and 'ol7-122-rac2' virtual machines are started, then login to 'ol7-122-rac1' as the oracle user and start the Database Creation Asistant (DBCA).
I could have run the DBCA in silent mode using this edited response file (dbca.rsp) with the following command.
Instead, here's the interactive view.
Select the 'Create Database' option and click the 'Next' button.
Select the 'Typical configuration' option. Enter the container database name (cdbrac), pluggable database name (pdb1) 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 there are no problems you will go directly to the summary screen.
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 'Close' button.
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.
Mac Os On Virtualbox Windows
V$ACTIVE_INSTANCES view can also display the current status of the instances.
For more information see:
Hope this helps. Regards Tim..
In this article, I’m going to show you how to fix slow macOS Big Sur Performance on Windows and other platforms. When you install macOS Big Sur on VMware or VirtualBox or any other virtualization platform, you’ll see that macOS Runs so slow and you can’t eventually do anything because it’s extremely slow. So in this guide, I’ll give some tips and tricks to come up with a great performance with any version of Mac Operating Systems. Let’s get the ball rolling.
Related: Install macOS Big Sur on VMware
Fix macOS Big Sur Slow Performance in General
Once, you’ve installed macOS Big Sur or any other versions of macOS on your system. You’ll see that your macOS is very slow and you’re not able to do your work as smoothly as you wished to do. Now, I’ll show you some general performance tips that might help you to speed up your macOS.
#1. Check Compatibility Issue
First, you need to check if your system is compatible with macOS new version or No. If you’re not sure that your device is compatible with the latest version of macOS then check the following system compatibility lists.
Macs compatible with macOS Big Sur – macOS 11:
- 2015 and later MacBook
- 2013 and later MacBook Air
- Late 2013 and later MacBook Pro
- 2014 and later iMac
- 2017 and later iMac Pro
- 2014 and later Mac mini
- 2013 and later Mac Pro
And Accordingly, the following models capable of running macOS Catalina will not be able to be upgraded to macOS Big Sur:
- 2012 and Early 2013 MacBook Pro
- 2012 MacBook Air
- 2012 and 2013 iMac
- 2012 Mac mini
If you need to see more about the compatibility list head over to Apple support.
#2. Update your macOS to the Latest Version
If your system is compatible with macOS latest version, you should upgrade to the latest version. Because the latest version is most often better than previous versions due to bug and performance fixes.
#3. Quit Starting Applications
When you start your Mac, a lot of things load up in the background. Not only do they slow down your startup, but they continue to do so the whole time you’re on your Mac device.
You can get a fast macOS startup by removing unnecessary apps. To turn off Login Items go to your System Preferences > Users & Groups and then click on your username. Now, click on Login Items, click on the name of an application you don’t need to launch during startup, and then click the “-“ symbol located below the list to the left; this will remove the application from the list. The fewer applications on the list, the better. This should help out a ton with speeding up your slow macOS.
#4. Stop Background Running Apps
When you’ve got too many running applications in the background, your macOS can’t even handle simple tasks that cause slow performance. If you want to have speed macOS then you need to stop and quit background running apps.
Activity Monitor will show you what processes are using up your system resources. Quitting an unnecessary app that’s taking up a lot of processing power could make a huge difference in speeding up your slow Mac. Open up your Applications folder and then your Utility folder. Here you’ll find the Activity Monitor, open it. Check out the list of apps and processes that happening on your Mac system in real-time.
From here, you can see what’s causing trouble with your Mac. Click on the Memory tab at the top, then the Memory filter at the top of the list; this sorts the programs by the amount of space they’re taking up on your Mac RAM. The higher the number, the more power they need. Stop an app from operating by clicking on the app in the list and then clicking the gray “x” icon located at the top-left corner of the window. Don’t remove anything you don’t know!
#5. Uninstall Unused Apps
Most of us download applications that seem helpful and exciting at first but turn to clutter up our disk instead of being used frequently. Unused apps are the biggest space-wasters on our system. So to get rid of those or at least honestly tell yourself which ones you don’t use anymore.
Running Mac Os In Virtualbox
- Go to Finder and navigate to the Go menu.
- From the drop-down list, select Applications.
- You will see all applications installed on your system.
- Right-click on the app that you don’t normally use it. Select Move to Bin or Trush.
Uninstall Unused Apps
#6. Remove Outdated Cached & Junk Files
There are various types of cached files on your system such as; system cache, user cache, app-generated cache, and more. These cache files are one of the cause that slow down you macOS so you should remove these files frequently. To remove cached files, follow the steps below.
Note: This step can be risky because you might delete not outdated files so be gentle with deleting the files. At least take a backup of the file you’re trying to permanently delete. Just in case something went wrong, you should have the backup to replace it with the corrupted folder.
- Open Finder and click “Go to Folder” in the Go menu.
- Type in /Library/Caches and press Enter or click Go
- Locate a cache folder tree
- Go into each folder and delete its contents
- Empty the Trash bin
#7. Clean your macOS with CleanMyMac X
Clean my Mac X is a well know software that has been in the industry for quiet time and one of the most used applications for Mac Users. It’s a great software for cleaning and speeds up macOS dramatically. According to MacPaw which is the software owner says CleanMyMac X chases junk in all corners of your macOS. It cleans unneeded files, like outdated caches, broken downloads, logs, and useless localizations. You can remove tons of clutter that lurks in iTunes, Mail, Photos, and even locate gigabytes of large hidden files. Mac cleaning tools in CleanMyMac X will cut the extra weight in seconds.
Fix macOS slow performance on VMware or VirtualBox on Windows
As you might know that you are able to install macOS on VMware or VirtualBox on Windows PC as well. So if you’ve already installed and having issues with its performance so you can apply the above steps outlined. In addition, you can do the following steps;
Related: Install macOS Big Sur on VirtualBox on Windows
Note: The following research has been done by one of our website visitors (Jordan Van Bergen). The following steps might not be helpful for those who using Windows Hyper as their virtualization software.
After getting it to work with VMWare I tried booting my Catalina version on Virtualbox but this really doesn’t start at all and is very slow as well. I have the Windows10 May Update. Windows 10 – Version 2004 OS Build 19041.329
So it could well be that everything depending on VirtualBox doesn’t work as it should due to the Windows 10 may update. BlueStacks Android emulator doesn’t work any longer as well due to the May Update.
So I found this as well: https://dev.to/bobnadler/virtualbox-6-1-x-windows-10-2004-upgrade-problem-resolution-4i39
Run Mac Os On Virtualbox
So a lot is not functioning 100% after Windows 10 – Version 2004 OS Build 19041.329 with VirtualBox.
I had to do this: It’s due to the Windows 10 Version 2004 May Update! If you do the following as long as you have the same issues then it will work again:
#1. Navigate to Control panel -> Programs and Features -> Turn Windows Features on or off -> Uncheck Hyper-V and Windows Hyper-Visor Platform.
Uncheck Windows Hyper-V
Additional Notes for Windows Hosts
#2. To check the status of Hyper-v in Windows 10. Open Run and type OptionalFeatures.exe. Look for the “Hyper-V” option. The box should be empty, not checked, or shaded. If you want to be absolutely sure that Hyper-v is gone then open an administrator command console and type “bcdedit /set hypervisorlaunchtype off”. Make sure to fully power down and reboot the host after changing the Hyper-v setting.
Virtualbox Macos Slow Mouse
#3. On some Windows hosts with an EFI BIOS, DeviceGuard or CredentialGuard may be activated by default and interferes with OS-level virtualization apps in the same way that Hyper-v does. These features need to be disabled. On Pro versions of Windows, you can do this using gpedit.msc. Set Local Computer Policy > Computer Configuration > Administrative Templates > System > Device Guard. Turn on Virtualization Based Security to Disabled. CredentialGuard is a subset of DeviceGuard, so disabling the former should be enough. If you cannot use gpedit for some reason then the equivalent registry hack is to find the key HKLM SYSTEM CurrentControlSet Control DeviceGuard EnableVirtualizationBasedSecurity Enabled and set it to 0.
#4. On Win10 hosts, check Windows Defender > Device Security > Core Isolation Details and make sure settings in this panel are turned off. Reboot the host from power down if you needed to make changes. “Core isolation [includes] security features available on your device that use virtualization-based security” which is why they can interfere with VirtualBox.
In this post, I’ve covered some best tips and tricks to speed up slow macOS performance. I’ve covered the following tips.
- Check Compatibility Issue
- Update your macOS to the Latest Version
- Quit Starting Applications
- Stop Background Running Apps
- Uninstall Unused Apps
- Remove Outdated Cached Files
- Clean your macOS with CleanMyMac X
- Fix macOS slow performance on VMware or VirtualBox on Windows
If you have any better solution rather than the one outlined above, feel free to share in the comment section below this post.