Home / Oracle VM for X86 / How to Create a Storage Repositories on Oracle VM ?

How to Create a Storage Repositories on Oracle VM ?

In oracle VM, you have to  create a storage repositories to store the virtual disks , ISO files ,template files and VM files.Once you have configured the storage array and configured the server pool, you will be able to create the repositories and present to the Oracle VM servers.These repositories can be created over NFS or SAN LUNS. However, you can’t use multiple LUNS to create the storage repository. If you want to extend the repository size , you need to increase the LUN size or NAS share size from storage end and refresh the repositories to see the new size. But You can create a N number  of storage repositories as you need on OVM.

Here we will see how to create a storage repositories over the ISCSI storage physical LUNS and how to create a virtual disks using that repository.

1.Login to oracle VM console and Click on Server pools.

OVM console - Home Page
OVM console – Home Page

2.Click on Repositories tab.Click on “+” add new repositories

OVM Storage Repositories
OVM Storage Repositories

3.Enter the repository name and repository location as physical disk. You have specify which server pool is going to use this repository.

Creating new Repo
Creating new Repo

4.Click on the physical disk “search” icon to select the physical disk.

Select the physical Disk for repo
Select the physical Disk for repo

5.Click on OK to create a new repository.

Repo Creation in progress.
Repo Creation in progress.

6.Wizard will ask you to present the repositories to servers. You can add the specific servers to that.In My setup UAOVS1 and UAOVS2 are in OVM cluster.

Present to the servers OVM 6
Present to the OVS servers

7.Click finish to complete the wizard. You can see the newly created  repository under repositories tab.

Repositories created
Repository is created

You have successfully created the Storage repository using ISCSI LUN.

In the second part of this article , we will see how to create a virtual disk using this storage  repository.We will also see the difference between sparse and non-sparse allocation.

Click Page 2 to continue.