Loading... |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
12 posts
|
Hi Erman,
on ODA X4-2 System , The problem is that the Oakcli commands hang when executed. No errors are shown, the commands simply do not complete, I can't stop , start , create repository or VM. only oakcli show commands is working well. thanks in advance |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
5727 posts
|
Hi,
Check oakcli log file; Location: in ODA BASE in the relevant node where te commands hang; /opt/oracle/oak/log/<server_name>/client/oakcli.log Also check the oakd log files. Location: in ODA BASE in the relevant node where te commands hang; /opt/oracle/oak/log/<server_name>/oak |
Loading... |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
12 posts
|
Hi,
I checked them but unfortunately I cannot notice the problem. can I upload them to help me ? |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
5727 posts
|
upload them to here as a rar file, and let me take a look.
|
Loading... |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
12 posts
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
5727 posts
|
Your oakd logs are up-to-date, but your latest oakcli log record is written at 03.07.20106.
This is your last oakcli log record; 2016-03-07 18:16:07.138: [CLSFRAME][3466339904] M2M is now powered by a doWork() thread. Did you send me up-to-date logs? |
Loading... |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
12 posts
|
yes, I send the up-to-date logs.
but I used oakcli commands after this date ! |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
5727 posts
|
send me an strace output of your failing oakcli command. like;
strace oakcli start vm blablaba |
Loading... |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
12 posts
|
Link of output
http://www.mediafire.com/download/vfijgjsb6a1dcs4/output.rar and hanging after last line . |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
5727 posts
|
There are some important records in strace output.
"ERESTARTSYS" and "--- SIGWINCH (Window changed)" 1) Retry this command using putty or VNV Viewer or SSH Secure Shell Client (dont resize your terminal size during the execution of oakcli), this may effect the execution. Look it effects to Data Guard command-line interface ->Abnormal Termination Of Dgmgrl When Shell Window In Resized (Doc ID 1909799.1) 2) Reboot ODA BASE nodes and retry, as this may be a temporary situation caused by OS Send me the updates after those actions. This can be a bug in OS or oakcli itself. If the above actions wont fix the problem, send me the log file /opt/oracle/oak/log/ <server_name>/oakvmclient |
Loading... |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
12 posts
|
Thank youuu soooo much , the issue is solved
but there is an issue in the repository , and I cannot start VM [root@cairo3-oda0 ~]# oakcli show repo prodrepo -node 0 Resource: prodrepo_0 AutoStart : restore DG : RECO Device : /dev/asm/prodrepo-249 ExpectedState : Online FreeSpace : 706531.4M MountPoint : /u01/app/sharedrepo/prodrepo Name : prodrepo_0 PFreeSpace : 43.12% RepoType : shared Size : 1638400.0M State : Online Version : 'NoneType' object has no attribute 'getAttrValue' |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
5727 posts
|
send me the problematic command and its output.
|
Loading... |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
12 posts
|
[root@cairo3-oda0 ~]# oakcli start vm testvm
Start VM : testvm on Node Number : 0 failed. I start VMs normally in another repository , but in this repository I cannot. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
5727 posts
|
Send me the related log files, like you did in your previous problem.
|
Loading... |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
12 posts
|
link of output of strace oakcli start vm testvm :
http://www.mediafire.com/download/4jics3kzsastczd/output+of+strace+oakcli+start+vm.rar Kindly can you specify locations of logs that can help to solve the problem ? thanks |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
5727 posts
|
Location: in ODA BASE in the relevant node where the commands failed /opt/oracle/oak/log/<server_name>/client/oakcli.log Also check the oakd log files. /opt/oracle/oak/log/<server_name>/oak 9 Mar 2016 17:33 tarihinde "Amr Samy [via Erman Arslan's Oracle Forum]" <[hidden email]> yazdı:
link of output of strace oakcli start vm testvm : |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
7 posts
|
Hi,
I have the same problem. After importing the dbvm into the repository i'm not able to start the vm with oakcli start vm dbvm It just says : Start VM : dbvm on Node Number : 0 failed. There is a bug bug: 21101080 to solve this you should edit the vm.cfg and change : xvdb:/OVS/Repositories/appsrepo/.ACFS/snaps/dbvm/VirtualMachines/dbvm/cdrom,r to: xvdb:cdrom,r But when you state : oakcli show vm dbvm this doesn't show up, not even after restarting oak or oda_base or even a physical reboot of the both nodes of the cluster via the ILOM. Any idea's ? |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
5727 posts
|
Hi,
1)Did you take corrective action for bug : 21101080 2)Send me the output of "oakcli show vm dbvm" and "oakcli show vm" |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
7 posts
|
Hi,
We changed the vm.cfg to solve the bug. Here's the output of the commands : [root@odabase0 network-scripts]# oakcli show vm NAME NODENUM MEMORY VCPU STATE REPOSITORY appvm 0 6196M 1 OFFLINE appsrepo dbvm 0 2048M 1 OFFLINE appsrepo [root@odabase0 network-scripts]# oakcli show vm dbvm The Resource is : dbvm AutoStart : restore CPUPriority : 100 Disks : |file:/OVS/Repositories/appsrepo/.A CFS/snaps/dbvm/VirtualMachines/dbvm /50d134578a724464995d7b4e6fbb5bdf.i mg,xvda,w||,xvdb:/OVS/Repositories/ appsrepo/.ACFS/snaps/dbvm/VirtualMa chines/dbvm/cdrom,r| Domain : XEN_PVM DriverDomain : False ExpectedState : offline FailOver : false IsSharedRepo : true Keyboard : en-us MaxMemory : 2048M MaxVcpu : 2 Memory : 2048M Mouse : OS_DEFAULT Name : dbvm Networks : |bridge=net1| NodeNumStart : 0 OS : OL_5 PrefNodeNum : 0 PrivateIP : None ProcessorCap : 100 RepoName : appsrepo State : Offline TemplateName : otml_dbtemp1 VDisks : |0| Vcpu : 1 cpupool : default-unpinned-pool |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
5727 posts
|
I could not understand...
Please explain what your problem is... you sent me the outputs. So, as I see, oakcli creates proper outputs. What is your problem? |
Free forum by Nabble | Edit this page |