ODA - Oakcli commands hang when executed

classic Classic list List threaded Threaded
33 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Re: ODA - Oakcli commands hang when executed

rkrieg
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 ???
Reply | Threaded
Open this post in threaded view
|

Re: ODA - Oakcli commands hang when executed

ErmanArslansOracleBlog
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
Reply | Threaded
Open this post in threaded view
|

Re: ODA - Oakcli commands hang when executed

rkrieg
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 ?
Reply | Threaded
Open this post in threaded view
|

Re: ODA - Oakcli commands hang when executed

ErmanArslansOracleBlog
Administrator
Your memory configuration for this guest is a little high or what?

Read this:

Oracle VM: Guest OS Can not Boot When It Requires Memory Exactly Match to Free Memory Size Of Host OS (Doc ID 2012083.1)

2016-07-25 14:42 GMT+03:00 rkrieg [via Erman Arslan's Oracle Forum] <[hidden email]>:
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 ?


If you reply to this email, your message will be added to the discussion below:
http://erman-arslan-s-oracle-forum.2340467.n4.nabble.com/ODA-Oakcli-commands-hang-when-executed-tp678p1208.html
To start a new topic under Oracle Database Appliance(ODA) & VM, email [hidden email]
To unsubscribe from Erman Arslan's Oracle Forum, click here.
NAML



--

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

Reply | Threaded
Open this post in threaded view
|

Re: ODA - Oakcli commands hang when executed

rkrieg
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 ?
Reply | Threaded
Open this post in threaded view
|

Re: ODA - Oakcli commands hang when executed

ErmanArslansOracleBlog
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
Reply | Threaded
Open this post in threaded view
|

Re: ODA - Oakcli commands hang when executed

rkrieg
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.

Reply | Threaded
Open this post in threaded view
|

Re: ODA - Oakcli commands hang when executed

ErmanArslansOracleBlog
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)
Reply | Threaded
Open this post in threaded view
|

RE: ODA - Oakcli commands hang when executed

rkrieg

Erman,

 

Below the screenshots :

 

 

 

Met vriendelijke groet,
Rene Krieg


cid:image001.gif@01D130F5.2A0ED170

gsm:

+31 6 54323195

mail:

[hidden email]

 

Colosseum 9, 1213 NN Hilversum
Postbus 840, 1200 AV Hilversum

web:

www.sltn.nl

tel:

+31 35 6888400

fax:

+31 35 6888444

 

cid:image002.jpg@01D130F5.2A0ED170

Save a tree.
Do not print this message if not really necessary

 

 

Van: ErmanArslansOracleBlog [via Erman Arslan's Oracle Forum] [mailto:ml-node+[hidden email]]
Verzonden: dinsdag 26 juli 2016 6:59
Aan: Rene Krieg <[hidden email]>
Onderwerp: Re: ODA - Oakcli commands hang when executed

 

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)


If you reply to this email, your message will be added to the discussion below:

http://erman-arslan-s-oracle-forum.2340467.n4.nabble.com/ODA-Oakcli-commands-hang-when-executed-tp678p1214.html

To unsubscribe from ODA - Oakcli commands hang when executed, click here.
NAML

Reply | Threaded
Open this post in threaded view
|

RE: ODA - Oakcli commands hang when executed

ErmanArslansOracleBlog
Administrator
This post was updated on .
change the memory in vm.cfg from 2000 to 1500 and retry...
Reply | Threaded
Open this post in threaded view
|

RE: ODA - Oakcli commands hang when executed

rkrieg
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
Reply | Threaded
Open this post in threaded view
|

RE: ODA - Oakcli commands hang when executed

rkrieg
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 !
Reply | Threaded
Open this post in threaded view
|

RE: ODA - Oakcli commands hang when executed

ErmanArslansOracleBlog
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.
12