This content has been marked as final. Show 3 replies
If you use local storage:
On VM Server has to separate disk or group array, a disk or a group of array for OS and another disk or a group of array is blank for Storage Repository.
After complete installation, please check by command
If you use External Storage:
you must create at least 2 volumes for OS and Storage repository.
After complete installation, please check on each VM Servers by command
The server contains 2 physical disk in a RAID1 config. On top of that there was 1 virtual disk.
I've deleted this virtual disk in the BIOS and created 2 virtual disks.
The first got OVM3 and the second a VM repository.
I needed to trick VM Manager to make the local ISO file available in VM Manager.
Instead of uploading it through a http link, I copied it to the /OVS/Repositories/<repo-code>/ISOs dir. Refresh repository and VM Manager sees it.
On a second OVM3 server the trick didn't work.
There I manualy altered the vm.cfg file in /OVS/Repositories/<repo-code>/VirtualMachines/<vm-code>.
disk = ['file:/OVS/Repositories/<repo-code>/VirtualDisks/<vm-code>.img,xvda,w']
disk = ['file:/OVS/Repositories/<repo-code>/VirtualDisks/<vm-code>.img,xvda,w', 'file:/OVS/Repositories/<repo-code>/ISOs/OL5.9_64.iso,xvdb:cdrom,r']
Worked like a charm.
note: After installing the seond VM does not show a console. But that's a different issue
After install VM Manager and VM Server properly, on VM Server you will see 2 partitions as below to register VM Manager:
# fdisk -l
Disk /dev/sda: for OS
Disk /dev/sdb doesn't contain a valid partition table
Disk /dev/dm-0: for local Storage repository.
During register VM Server to VM Manager, you will be unselected a box for cluster and then add VM Server to it.
After that you go to Repository tab, than edit on your repository just created, click on Present Repository
Add Available Server Pool(s) -> Present to Server Pool(s)
Add Available Server(s) -> Present to Server(s)
After register, you will get local repository structure
[root@ovm-server 0004fb00000300000dcd57dff073164b]# pwd
[root@ovm-server 0004fb00000300000dcd57dff073164b]# ll
drwx------ 2 root root 3896 May 24 03:15 Assemblies
drwx------ 2 root root 3896 May 27 09:17 ISOs
drwxr-xr-x 2 root root 3896 May 24 03:15 lost+found
drwx------ 3 root root 3896 May 30 05:22 Templates
drwx------ 2 root root 3896 May 30 08:32 VirtualDisks
drwx------ 5 root root 3896 May 30 08:32 VirtualMachines
You just upload ISO files to ISOs directory, then refresh Repository.
I should be working fine. if your issue fixed, please click helpful or Correct.
Thanks and regards,