When i try :
oakcli start vm dbvm Start VM : dbvm on Node Number : 0 failed. In the vm.cfg it states : Disks : |file:/OVS/Repositories/appsrepo/.ACFS/snaps/dbvm/VirtualMachines/dbvm/50d134578a724464995d7b4e6fbb5bdf.img On this machine odabase0 there is no /OVS/Repositories/appsrepo There is : /u01/app/sharedrepo/appsrepo Could this be a reason ??? |
Administrator
|
What happens when you start your vm from the domain 0; using the following commands;
cd <the path containing your vm.cfg> xm create vm.cfg |
Hi,
[root@odasltn0 dbvm]# xm create vm.cfg Using config file "./vm.cfg". Error: Not enough free memory and enable-dom0-ballooning is False, so I cannot release any more. I need 2126848 KiB but only have 1990456. So he's trying something. On odabase0 : xm list executed on odabase0 gives : Error: Unable to connect to xend: No such file or directory. Is xend running? I this correct ? |
Administrator
|
Your memory configuration for this guest is a little high or what? Read this:
2016-07-25 14:42 GMT+03:00 rkrieg [via Erman Arslan's Oracle Forum] <[hidden email]>: Hi, Erman Arslan Applications and Database Operations Manager Oracle Certified Expert Certified Exadata Administrator Certified Linux Administrator Author for Apress MBA Blog: ermanarslan.blogspot.com Forum: http://ermanarslan.blogspot.com/p/forum.html
M: 05301567803 |
The memory comes from the template provided by Oracle for a demo of EBS (appvm) and a database running on dbvm.
It's not supposed to run on dom0, but on odabase0. Shoul xend be running on odabase0 ? Or can the .img file as mentionend in the vm.cfg not be found ? |
Administrator
|
you should be able to start your vm from dom 0.
Look at my ODA; I m on DOM0 and executing the commands from there; [root@ermanodanode1dom0 ~]# xm info | grep memory total_memory : 262086 free_memory : 137276 See , I have 260GB memory in dom0 [root@ermanodanode1dom0 ~]# xm list Name ID Mem VCPUs State Time(s) Domain-0 0 4096 48 r----- 537790.4 EBS_12_2_3_APP 3 17384 8 r----- 781305.8 EBS_12_2_3_VIS 5 48000 16 -b---- 33233.1 ERMAN_APP 4 2048 2 -b---- 4267.3 oakDom1 2 49152 16 -b---- 610800.8 See , I can see my vms running from dom0. Aa for the template; a database template can't be directly deployed to ODA_BASE. You need to create a vm machine from that template first.. That Vm template will not be running on ODA BASE. After the proper deployment of the template, you will have a vm guest running your database which comes from the template. But if you want to run that database in ODA BASE, then you can migrate the database(runnin on a VM guest , which comes with the template) from the VM Guest to ODA BASE by following the appropriate method. Read this: http://ermanarslan.blogspot.com.tr/2016/01/oda-migrating-ebs-database-from-virtual.html |
Erman,
You're right, i'm trying to start the vm which i cloned from the template. So then i have a vm running a database which was cloned from the template. Later on i can migrate this database to oda_base. But i cannot start that vm using the "oakcli start vm dbvm" (stated in the whitepaper ran from node1 oda_Base) , that's the problem. I'm just following the steps from the whitepaper 2183063. |
Administrator
|
you were getting "Error: Not enough free memory and enable-dom0-ballooning is False, so I cannot release any more. I need 2126848 KiB but only have 1990456" while you were trying to start your Guest VM from Dom 0 using xm create.
So , I guess you are in a memory shortage. Send me the following outputs. 1)vm.cfg of your guest machines. 2)xm info | grep memory (from your dom0 node) |
Erman, Below the screenshots : Met vriendelijke groet,
Colosseum 9, 1213 NN Hilversum
Van: ErmanArslansOracleBlog [via Erman Arslan's Oracle Forum] [mailto:ml-node+[hidden email]]
you were getting "Error: Not enough free memory and enable-dom0-ballooning is False, so I cannot release any more. I need 2126848 KiB but only have 1990456" while you were trying to start your Guest VM from
Dom 0 using xm create. If you reply to this email, your message will be added to the discussion below: To unsubscribe from ODA - Oakcli commands hang when executed,
click here. |
Administrator
|
This post was updated on .
change the memory in vm.cfg from 2000 to 1500 and retry...
|
Erman,
I changed to memory to 1500 as you said and then it starts on dom0 using xm create vm.cfg [root@odasltn0 dbvm]# xm create vm.cfg Using config file "./vm.cfg". Started domain dbvm (id=4) [root@odasltn0 dbvm]# [root@odasltn0 dbvm]# xm list Name ID Mem VCPUs State Time(s) Domain-0 0 4096 72 r----- 239780.7 dbvm 4 1500 1 ------ 5.0 oakDom1 1 249856 72 r----- 460806.9 [root@odasltn0 dbvm]# xm info |grep memory total_memory : 262010 free_memory : 423 |
I resized oda_base from 244gb to 50gb using oakcli configure oda_base
And then oakcli restart oda_base on dom0 on both nodes. Now i can start my dbvm !! [root@odabase0 appsrepo]# oakcli start vm dbvm Started VM : dbvm on Node Number : 0 Thanks for the support ! |
Administrator
|
:) so this memory problem is solved . You created free memory by taking out some memory chunks from oda_base, it is also acceptable.
See you in next issues. :) Note that , as for your future problems, please create seperate/dedicated/specific issues on this forum. |
Free forum by Nabble | Edit this page |