Simples Assim

How to Use a SID as a Service Name in Oracle Multitenant 12c

leave a comment »

https://docs.oracle.com/database/121/NETRF/listener.htm#CHDHECBA

Written by Fernando Ribeiro

July 30, 2015 at 5:06 pm

How to Take a Snapshot of a Guest VM in Oracle VM

leave a comment »

Oracle VM Manager CLI

1) Find the server pool and guest VM IDs:

show ServerPool name=<Server Pool Name>

2) Find the virtual disk IDs:

show Vm id=<Guest VM ID>

Oracle VM Server Host

1) Create a reflink to the vm.cfg file of the guest VM:

reflink /OVS/Repositories/<Server Pool ID>/VirtualMachines/<Guest VM ID>/vm.cfg <Reflink Name>

2) Create a reflink to each of the virtual disks:

reflink /OVS/Repositories/<Server Pool ID>/VirtualDisks/<Virtual Disk ID>.img <Reflink Name>

Written by Fernando Ribeiro

July 23, 2015 at 2:34 am

Migrating Oracle VM Manager to a Guest VM in Oracle VM

leave a comment »

Written by Fernando Ribeiro

July 13, 2015 at 11:23 pm

Booting from an ISO Image with the Oracle ILOM Remote Console

leave a comment »

Very useful for re-installing from scratch.

https://support.oracle.com/epmos/faces/DocumentDisplay?id=1589715.1

Written by Fernando Ribeiro

July 12, 2015 at 3:06 am

Issue with Oracle VM 3.x

leave a comment »

The BIOS RTC in the Oracle VM Server hosts should be set to UTC.

https://support.oracle.com/epmos/faces/DocumentDisplay?id=1600823.1

Written by Fernando Ribeiro

July 12, 2015 at 2:36 am

Posted in Technology

Tagged with ,

How to Resize a Virtual Disk of an Oracle Linux Guest VM in Oracle VM

leave a comment »

Oracle VM Manager Console

1) Switch to the Servers and VMs tab.

2) Select the server pool, server and guest VM.

3) Click on the Stop button.

4) Click on the Edit button.

5) Switch to the Disks tab.

6) Select a virtual disk.

7) Click on the Edit a Virtual Disk button.

8) Enter the new size in the Size (GiB) field.

9) Click on the OK button twice.

10) Click on the Start button.

Oracle Linux Guest VM

1) Run fdisk:

fdisk /dev/xvda

2) Enter n to add a new partition.

3) Enter p to select the primary partition type.

4) Select a partition number.

5) Enter w to write changes and exit.

6) Restart the guest VM.

7) Create a new physical volume in the partition:

pvcreate /dev/xvda3

8) Add the physical volume to the default volume group:

vgextend vg_samplevm /dev/xvda3

9) Extend a logical volume by the free size of the volume group:

lvextend -l +100%FREE /dev/vg_samplevm/lv_root

10) Resize the file system in the logical volume:

resize2fs /dev/vg_samplevm/lv_root

Written by Fernando Ribeiro

July 11, 2015 at 10:00 pm

How to Auto-Start a Guest VM in Oracle VM

leave a comment »

Oracle VM Manager CLI

1) Find the server pool ID:

show ServerPool name=<Server Pool Name>

2) Find the guest VM ID:

show Vm name=<Guest VM Name>

Oracle VM Server Host

1) Create a symbolic link to the vm.cfg file of the guest VM:

ln -s /OVS/Repositories/<Server Pool ID>/VirtualMachines/<Guest VM ID>/vm.cfg /etc/xen/auto/<Guest VM ID>

2) Restart the host.

Written by Fernando Ribeiro

July 11, 2015 at 2:06 pm

Follow

Get every new post delivered to your Inbox.

Join 1,292 other followers