Extend the boot device on OCI compute VM with Oracle Linux 9

Extend the boot device on OCI compute VM with Oracle Linux 9 I needed more space in my boot volume on a compute instance. The VM is using Oracle Linux 9. This involves three steps: Increase the boot volume from the cloud.oracle.com page Make the OS detect this change Grow the file system Increase the boot volume Log into your cloud account and find your compute instance from Compute ➡️ Instances ➡️ your instance from the list. In the menu on the left side called Resources click on the Boot volume link. Then click on the link for the boot volume. Then finally click the hot Edit button, and set the new volume size, and hit save. There is some information displayed along the way that may be useful. ...

September 14, 2024 · 3 min · Øyvind Isene

Oracle VM: Templates and Assemblies

One of the cool things with Oracle VM is that Oracle offers many templates you can download from edelivery.oracle.com and import into your repository with Oracle VM Manager (OVMM). Well, since I did the same mistake that you did, that is, not reading the entire README file, I confused templates with assemblies. Say you want to download a template for Oracle Linux 6, you have to select product pack Oracle VM Templates. The downloaded zip contains one file with extension .ova (does not mean Oracle Virtual Assembly, but Open Virtualization Format Archive). Since it is written “VM Templates” several places on the web site, it is easy to think it should be imported under VM Templates, but you need to select Assemblies as shown here and do the import from there: ...

October 22, 2014 · 2 min · Øyvind Isene

Connecting to a guest console in Oracle VM

I struggled to connect to the console of a newly created VM. The VM was created using Oracle VM Manager (OVMM) and despite efforts to install the required packages I could not use the console button in the Manager interface. I noticed that the VNC server built into the VM was listening on 127.0.0.1 only (on the OVM server), you can see this if you check the file vm.cfg for the guest. Without analysing how the OVMM would try to connect to the VNC server on the other host I decided to create an ssh tunnel from my Mac to the OVM server: ...

July 7, 2014 · 1 min · Øyvind Isene

Importing ISOs to Oracle VM using OVM Manager

Just a simple trick to import ISO files to the repository using Oracle VM Manager (OVMM). The import function supports imports through protocols http, https and ftp. If you want to do this in the supported way you can use a simple web server to serve the ISO files for you. Python comes with a simple http server built in. If you have python installed (which is the case on both the OVM server and the OVMM host) you can start it with: ...

July 4, 2014 · 1 min · Øyvind Isene

Download from OTN slow? Check DNS

Sometimes download from Oracle Technology Network (OTN) is really slow, but it may not be Oracle’s fault. Oracle is using Akamai Technologies to distribute the software. You can see this if you do an nslookup on download.oracle.com and see it resolves (finally) to a host under akamai.net. They have servers all over the world and when things work as they are supposed to the box on your end should connect to a host physically near you and not on another continent. If your download is really slow find the IP address that your DNS resolves for download.oracle.com (or the host you are downloading from) and then use a geo-lookup site to see where it is located. ...

May 21, 2013 · 2 min · Øyvind Isene

Pro Oracle Database 11g RAC on Linux

This is not intended as a complete book review, but a warm recommendation of a book I’ve found very useful the last couple of months. That is, highly recommended if you are working with RAC or going to start with a RAC project soon. I have been working on and off with RAC for several years, but I don’t take any new RAC project lightly. Starting in November I was involved with a proof of concept for a large public customer. Before and during this project I have relied a lot on this book: Pro Oracle Database 11g RAC on Linux written by Steve Shaw and Martin Bach . ...

December 31, 2012 · 3 min · Øyvind Isene

VirtualBox 4.2 released

Version 4.2 of VirtualBox was released two days ago (so far for Linux only). Download it from here: https://www.virtualbox.org/wiki/Linux_Downloads Probably not important, but I’m using Fedora 16 for the moment, and since I was running VirtualBox 4.1 I had to remove the previous package first and install the 4.2 version. This will not destroy the guest hosts. rpm -e VirtualBox-4.1 rpm -ip VirtualBox-4.2-4.2.0_80737_fedora16-1.x86_64.rpm After a new start with the VirtualBox Manager the old VM guests are in place.

September 15, 2012 · 1 min · Øyvind Isene

Easier installation of Oracle on Linux

This is more a note to myself… Installing Oracle on Linux has become much easier with a package that prepares the OS before installation of the Oracle Server software. In previous versions the rpm package used to be called oracle-validated, but for 11gR2 on OEL6 it is called oracle-rdbms-server-11gR2-preinstall. Probably the easiest way to install the Oracle database on Linux is to install Oracle Enterprise Linux 6 and before the installation of Oracle do two things: ...

September 15, 2012 · 2 min · Øyvind Isene

Permission denied when adding ASM disk

This is a simple one, a reminder till next time I forget this, since stuff encountered after a Google-search led me astray… Just in case you try to add disks to an existing ASM disk group using syntax like this: alter diskgroup data add disk '/dev/xvdd1' add disk '/dev/xvde1'; You may get error messages like these: ORA-15032: not all alterations performed ORA-15031: disk specification '/dev/xvde1' matches no disks ORA-15025: could not open disk '/dev/xvde1' ORA-15056: additional error message Linux-x86_64 Error: 13: Permission denied Additional information: 42 Additional information: -1614995373 Additional information: 1730318408 ORA-15031: disk specification '/dev/xvdd1' matches no disks ORA-15025: could not open disk '/dev/xvdd1' ORA-15056: additional error message Linux-x86_64 Error: 13: Permission denied Additional information: 42 Additional information: 87328232 Additional information: 8192 Solution: Use the ASM disk names as given when creating them with oracleasm: ...

October 10, 2010 · 3 min · Øyvind Isene