Re: [one-users] Problem connecting to VNC console

2012-06-14 Thread davood ghatreh
Chandana,

in you ps result, I can see your noVNC task. To troubleshoot, first kill
this task:

kill 30414

Then, run this task manually:

/usr/share/one/noVNC/utils/websockify 35786 glass.dis:5910

try connecting to noVNC using Sunstone, and simultaneously watch the ssh
console to see what it say. provide me with that result.


Thanks
On Thu, Jun 14, 2012 at 3:44 AM, Chandana De Silva
chand...@desilva.id.auwrote:

 Hello Epsilon,

 Yes, I have followed that and checked everything

 Regards
 Chandana

 On 14/06/12 07:37, Epsilon wrote:

 Have you tried following VNC troubleshooting steps mentioned here:
 http://opennebula.org/**documentation:rel3.4:sunstone#**
 novnc_installationhttp://opennebula.org/documentation:rel3.4:sunstone#novnc_installation?
 they are very helpful to diagnose your problem. ( for instance, do you have
 python2***numpy installed?, are you using right paths..)


 __**_
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Problem connecting to VNC console

2012-06-14 Thread davood ghatreh
Hi Chandana,

let me show you an example.

i can connect to noVNC in sunstone. I check processes for noVNC and find
this one:

python /usr/share/one/noVNC/utils/websockify 35778 localhost:5902

I kill every task with noVNC (there is no other user using it). Then run
this command manually:

here is the result:

[oneadmin@localhost root]$ *python /usr/share/one/noVNC/utils/websockify
35778 localhost:5902*
WARNING: no 'numpy' module, HyBi protocol is slower or disabled
WebSocket server settings:
  - Listen on :35778
  - Flash security policy server
  - No SSL/TLS support (no cert file)
  - *proxying from :35778 to localhost:5902*



server is waiting for the connection. Now I try to connect using my browser
an get following:


  1: 10.5.42.2: Plain non-SSL (ws://) WebSocket connection
  1: 10.5.42.2: Version hybi-13, base64: 'True'
  1: connecting to: *localhost:5902

*
so, if there is no problem connecting to localhost on port 5902,  there is
no problem to connect through noVNC. in your case, it is: *glass.dis:5910*

therefore, check to see if there is any problem connecting to glass.dis on
port 5910 (on your frontend server).

Thanks
Davood


On Thu, Jun 14, 2012 at 1:43 PM, Chandana De Silva
chand...@desilva.id.auwrote:

 Hello Davood,

 I looked at the websockify code, but could not see the error message.

 The sunstone config says wss:no

  :vnc_proxy_base_port: 29876
 :vnc_proxy_path: /usr/share/one/noVNC/utils/**websockify
 :vnc_proxy_support_wss: no
 :vnc_proxy_cert:
 :vnc_proxy_key:


 On 14/06/12 18:48, Chandana De Silva wrote:

 Thanks, I can now see the problem. However my connection is a HTTP
 connection. Can websockify be run in debug mode ? Why is it trying to get
 an SSL connection ?



___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] KVM and libvirtd coonfig

2012-06-09 Thread davood ghatreh
Dear Chandana,

By default, LIBVIRTD_ARGS=--listen is commented in
/etc/sysconfig/libvirtd, so it is not listening. But if anyone wants to
change it to Listen, need to modify /etc/sysconfig/libvirtd [1],[2].


Thanks
Davood

[1] http://libvirt.org/remote.html
[2] http://wiki.libvirt.org/page/TLSDaemonConfiguration



On Sun, Jun 10, 2012 at 8:17 AM, Chandana De Silva
chand...@desilva.id.auwrote:

 Hello All,

 I am installing OpenNebula 3.4 with KVM on a Centos 6.2 server.

 In the KVM instructions at http://opennebula.org/**
 documentation:rel3.4:kvmghttp://opennebula.org/documentation:rel3.4:kvmg

 it says:

   OpenNebula uses libvirt's migration capabilities. More precisely, it
 uses the TCP protocol offered by libvirt. In order to configure the
 physical hosts, the following files have to be modified:


/etc/libvirt/libvirtd.conf : Uncomment “listen_tcp = 1”. Security
 configuration is left to the admin's choice, file is full of useful
 comments to achieve a correct configuration. As a tip, if you don't want to
 use TLS for connections set listen_tls = 0.

/etc/default/libvirt-bin : add -l option to libvirtd_opts


 The libvirtd init script on Centos 6,2 is not upstart, and uses
 /etc/sysconfig/libvirtd to configure the libvirtd startup. That has the
 line:

  # Listen for TCP/IP connections
 # NB. must setup TLS/SSL keys prior to using this
 LIBVIRTD_ARGS=--listen


 I am assuming that the instruction for libvirtd_opts in the documentation
 should be different for Centos / RHEL.

 Regards
 Chandana
 __**_
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Not able to ssh to Virtual Address of VM

2012-06-08 Thread davood ghatreh
Dear Ankit,

I couldn't find any contextualization parameter in your VM template. You
need to define it if you want Opennebula to set the TCP/IP configuration
(and other OS parameters such as hostname etc) automatically in the VM.
Here is the related document:

http://opennebula.org/documentation:rel3.4:cong

you can also connect to your VM using VNC, if you want to set the IP
address manually.


Thanks
Davood

On Fri, Jun 8, 2012 at 9:18 AM, ankit anand ankit.s.an...@gmail.com wrote:

 Hello All

 I have set up a vritual machine wchich is in running state .

 but I am not able to ping to Virtual address of that VM . I mean Virtual
 address by one of Vnet address specified in vnet file .
 I have set up my bridge br0 through open suse yast interface .

 Details of ifconfig are:

 br0   Link encap:Ethernet  HWaddr AE:94:4C:63:C9:29
   inet addr:10.112.10.35  Bcast:10.112.10.255  Mask:255.255.255.0
   inet6 addr: fe80::ac94:4cff:fe63:c929/64 Scope:Link
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   RX packets:0 errors:0 dropped:0 overruns:0 frame:0
   TX packets:33 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:0
   RX bytes:0 (0.0 b)  TX bytes:5595 (5.4 Kb)

 eth0  Link encap:Ethernet  HWaddr 00:E0:81:C1:A6:2C
   inet addr:10.112.10.35  Bcast:10.112.10.255  Mask:255.255.255.0
   inet6 addr: fe80::2e0:81ff:fec1:a62c/64 Scope:Link
   UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
   RX packets:418080 errors:0 dropped:9 overruns:0 frame:0
   TX packets:125349 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000
   RX bytes:148955613 (142.0 Mb)  TX bytes:32412539 (30.9 Mb)
   Interrupt:44

 eth1  Link encap:Ethernet  HWaddr 00:E0:81:C1:A6:2D
   UP BROADCAST PROMISC MULTICAST  MTU:1500  Metric:1
   RX packets:0 errors:0 dropped:0 overruns:0 frame:0
   TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000
   RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
   Interrupt:45 Base address:0x2000

 loLink encap:Local Loopback
   inet addr:127.0.0.1  Mask:255.0.0.0
   inet6 addr: ::1/128 Scope:Host
   UP LOOPBACK RUNNING  MTU:16436  Metric:1
   RX packets:381969 errors:0 dropped:0 overruns:0 frame:0
   TX packets:381969 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:0
   RX bytes:54727247 (52.1 Mb)  TX bytes:54727247 (52.1 Mb)


 vm DETAILS:

 VIRTUAL MACHINE 58
 INFORMATION
 ID  : 58
 NAME: one-58
 USER: oneadmin
 GROUP   : oneadmin
 STATE   : ACTIVE
 LCM_STATE   : RUNNING
 HOSTNAME: cloud
 START TIME  : 06/08 10:16:14
 END TIME: -
 DEPLOY ID   : one-58

 VIRTUAL MACHINE
 MONITORING
 NET_RX  : 0
 NET_TX  : 0
 USED CPU: 0
 USED MEMORY : 0

 PERMISSIONS

 OWNER   : um-
 GROUP   : ---
 OTHER   : ---

 VIRTUAL MACHINE
 TEMPLATE
 CONTEXT=[
   TARGET=hdb ]
 CPU=1
 DISK=[
   BUS=ide,
   CLONE=YES,
   DATASTORE=default,
   DATASTORE_ID=1,
   DISK_ID=0,
   IMAGE=OpenSuse2,
   IMAGE_ID=9,
   IMAGE_UNAME=oneadmin,
   READONLY=NO,
   SAVE=NO,

 SOURCE=/srv/cloud/one/var/datastores/1/11a9b1e6031e2206511466892f0e960e,
   TARGET=hda,
   TM_MAD=shared,
   TYPE=DISK ]
 GRAPHICS=[
   LISTEN=10.112.10.35,
   PASSWD=cadlab,
   PORT=5903,
   TYPE=vnc ]
 MEMORY=1024
 NAME=one-58
 NIC=[
   BRIDGE=br0,
   IP=10.112.10.37,
   MAC=02:00:0a:70:0a:25,
   NETWORK=Public,
   NETWORK_ID=6,
   NETWORK_UNAME=oneadmin,
   VLAN=NO ]
 OS=[
   ARCH=x86_64,
   BOOT=hd ]
 RAW=[
   TYPE=kvm ]
 TEMPLATE_ID=0
 VCPU=1
 VMID=58

 VIRTUAL MACHINE
 HISTORY
  SEQHOSTNAME REASON   STARTTIME   PTIME
0   cloud   none  06/08 10:16:330d 00:010d 00:00

 VNET FILE DETAILS:
 VIRTUAL NETWORK 6
 INFORMATION
 ID : 6
 NAME   : Public
 USER   : oneadmin
 GROUP  : oneadmin
 CLUSTER: -
 TYPE   : FIXED
 BRIDGE : br0
 VLAN   : No
 PHYSICAL DEVICE:
 VLAN ID:
 USED LEASES: 1

 PERMISSIONS

 OWNER  : um-
 GROUP  : ---
 OTHER  : ---

 VIRTUAL NETWORK
 TEMPLATE
 DNS=10.16.25.13
 GATEWAY=10.112.10.1

 USED
 LEASES
 LEASE=[ IP=10.112.10.37, MAC=02:00:0a:70:0a:25, USED=1, VID=58 ]

 FREE
 LEASES
 LEASE=[ IP=10.112.10.38, MAC=02:00:0a:70:0a:26, USED=0, VID=-1 ]
 LEASE=[ IP=10.112.10.39, MAC=02:00:0a:70:0a:27, USED=0, VID=-1 ]
 LEASE=[ IP=10.112.10.40, MAC=02:00:0a:70:0a:28, USED=0, VID=-1 ]

 when i do
 ssh 10.112.10.37
 it returns :
 ssh: connect to host 10.112.10.37 port 22: No route to host

 Any clues ?

 Thanks and regards
 Ankit Anand




 The details of vnet file :


 

Re: [one-users] Opennebula on EC2

2012-06-08 Thread davood ghatreh
Dear Mohsen,

About Front-end, yes it should be technically possible (I don't have any
experience though), but about Hosts, there is a problem. You'll need to
install a hypervisor on them, and 2 level virtualization is not suggested.
I could setup KVM on a VM (the main hypervisor was KVM as well), but I
could never run a VM on it. libvirt was crashing. There were error messages
in oned.log which was indicating some problem with VM OS type (when I tried
to deploy VM):

error: Unknown OS Type hvm

It was because VM didn't have virtualization feature set for the CPU
(VT-Technology in Intel).
I know that AWS's hypervisor was Xen (open-source) and they are using KVM
as well.
Has anybody tested this? I also want to know.


Thanks
Davood

On Fri, Jun 8, 2012 at 11:24 AM, Mohsen Amini mohsen.am...@gmail.comwrote:

 Hello everybody,

 Does anyone know if it is possible to install and config Opennebula on
 Amazon EC2 instances?

 In fact, I am planning to install Opennebula on one instance and then have
 a limited number of EC2 instances added as hosts.

 Is this technically possible?

 Does anyone have any experience on this?

 Regards
 
 Mohsen Amini Salehi
 PhD Student
 CLOUDS Lab,
 Room 5.30A, ICT building,
 Department of Computing and Information Systems,
 Melbourne University,
 http://www.csse.unimelb.edu.au/~mohsena


 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Changing Resources

2012-06-04 Thread davood ghatreh
Hi,

I remember I did it in this way:

I have saved my machine using save as, then used that image and defined a
new template with more resources and created a new vm based on that
template. I had my old vm with more resources then.

Thanks
 Davood


On Mon, Jun 4, 2012 at 8:07 PM, Justin B Newman jus...@ejtown.org wrote:

 Good Morning.

 I've done a test installation of OpenNebula and like what I've found
 so far. Unfortunately, there are a few things that I'm having troubles
 with. If there's a page that describes how to do this, please refer me
 ... I've googled extensively, but perhaps my GoogleFoo is lacking.

 For sake of conversation, let's assume:

 I have 1 image, squeeze.
 I have 2 templates, big and little. (Both use image squeeze).
 I have 2 virtual machines, webby and webster built on the template
 little.

 It turns out that the little template is just too little for webby.
 I need to upgrade the capacity to be that of the template big.

 Can someone outline for me the steps that are necessary for this,
 assuming I am willing to do a restart of the VM?

 Many thanks in advance for any assistance,

 -jbn
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] OpenNebula 3.4 and XCP

2012-05-29 Thread davood ghatreh
Hi Anil,

Opennebula version 3 support it, its driver is available. check these links:

http://wiki.opennebula.org/xcp:documentation

http://opennebula.org/software:ecosystem:xcp

I don't know about 3.4



Thanks
Davood


On Tue, May 29, 2012 at 5:30 PM, cloud.b.lab cloud.b@zoho.com wrote:

 **
 Friends,

 Can someone kindly let me know if OpenNebula 3.4.1 supports XCP (Xen Cloud
 Platform).
 If yes, kindly let me know the existence of documentation if any on
 OpenNebula 3.4 and XCP.



 Regards,
 Anil.

 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Fw: VM in failing state

2012-05-28 Thread davood ghatreh
Dear Krish,

You can't SSH to your VM because it's OS can't boot. are you trying to
install a new OS? if so, no bootable CD-ROM is in your device. put a
bootable CDROM and watch your VM through VNC console to see what happen.
Keep the group updated


Thanks
Davood



On Mon, May 28, 2012 at 2:42 PM, A k Industrial services 
akindustrialservi...@yahoo.com wrote:

 Hi Davood and all,


 Can  u please further help me :

 I am not able to ssh to my vm , when i connect using vnc i get :

 QEMU BIOS -build : 05/11/11
 $Revision : 1.182 $ DAte
 Options : apmbios pcibios pnpbios eltorito rombios32

 ata0 slave : QEMU DVD - ROM ATAPI -4 CD-Rom/DVD-Rom
 ata1 Master : QEMU DVD - ROM ATAPI -4 CD-Rom/DVD-Rom
 Press F12c for boot menu.
 Booting from hard disk...
 Boot failed : could not read the boot disk
 FATAL : No bootable device

 Regards,
 Krish.



   *From:* A k Industrial services akindustrialservi...@yahoo.com
 *To:* davood ghatreh davood.gh2...@gmail.com; Marco Bizzarri 
 marco.bizza...@gmail.com
 *Sent:* Monday, 28 May 2012 3:32 PM

 *Subject:* Re: [one-users] Fw: VM in failing state

   Hi Davood ,


 Thanks a ton , it worked my vm are in running state now ...


 Regards,
 Krish.


   *From:* A k Industrial services akindustrialservi...@yahoo.com
 *To:* davood ghatreh davood.gh2...@gmail.com; Marco Bizzarri 
 marco.bizza...@gmail.com
 *Cc:* users@lists.opennebula.org users@lists.opennebula.org
 *Sent:* Monday, 28 May 2012 2:45 PM
 *Subject:* Re: [one-users] Fw: VM in failing state

   Hi Davood,

 I did this :


 ln -sf /usr/libexec/qemu-kvm /usr/bin/kvm

 Now also the vm creation fails and following is the log :

 Mon May 28 14:42:29 2012 [DiM][I]: New VM state is ACTIVE.
 Mon May 28 14:42:29 2012 [LCM][I]: New VM state is PROLOG.
 Mon May 28 14:42:31 2012 [TM][I]: context: Generating context block device at 
 quad1.gslab.com:/geete/opennebula-3.4.1/one/var/var//datastores/0/57/disk.0
 Mon May 28 14:42:31 2012 [TM][I]: ExitCode: 0
 Mon May 28 14:42:31 2012 [LCM][I]: New VM state is BOOT
 Mon May 28 14:42:31 2012 [VMM][I]: Generating deployment file: 
 /root/opennebula-3.4.1/one/var/var/57/deployment.0
 Mon May 28 14:42:32 2012 [VMM][I]: ExitCode: 0
 Mon May 28 14:42:32 2012 [VMM][I]: Successfully execute network driver 
 operation: pre.
 Mon May 28 14:42:32 2012 [VMM][I]: Command execution fail: cat  EOT | 
 /var/tmp/one/vmm/kvm/deploy 
 /root/opennebula-3.4.1/one/var/var//datastores/0/57/deployment.0 
 quad1.gslab.com 57 quad1.gslab.com
 Mon May 28 14:42:32 2012 [VMM][I]: error: Failed to create domain from 
 /root/opennebula-3.4.1/one/var/var//datastores/0/57/deployment.0
 Mon May 28 14:42:32 2012 [VMM][I]: error: internal error cannot parse 
 /usr/bin/kvm version number in ''Mon May 28 14:42:32 2012 [VMM][E]: Could not 
 create domain from 
 /root/opennebula-3.4.1/one/var/var//datastores/0/57/deployment.0
 Mon May 28 14:42:32 2012 [VMM][I]: ExitCode: 255
 Mon May 28 14:42:32 2012 [VMM][I]: Failed to execute virtualization driver 
 operation: deploy.Mon May 28 14:42:32 2012 [VMM][E]: Error deploying virtual 
 machine: Could not create domain from 
 /geete/opennebula-3.4.1/one/var/var//datastores/0/57/deployment.0
 Mon May 28 14:42:33 2012 [DiM][I]: New VM state is FAILED

 Thanks and regards,

 krishn




   *From:* davood ghatreh davood.gh2...@gmail.com
 *To:* Marco Bizzarri marco.bizza...@gmail.com
 *Cc:* A k Industrial services akindustrialservi...@yahoo.com; 
 users@lists.opennebula.org users@lists.opennebula.org
 *Sent:* Friday, 25 May 2012 10:36 PM
 *Subject:* Re: [one-users] Fw: VM in failing state

 Hi,

 I had this problem before. create a link to your binary file, and it will
 be fixed. in my case, I did it using this command:


 ln -sf /usr/libexec/qemu-kvm /usr/bin/kvm


 Thanks
 Davood

 On Fri, May 25, 2012 at 7:45 PM, Marco Bizzarri 
 marco.bizza...@gmail.comwrote:

 Hi.

 Looking at your log it seems like you haven't the qemu binaries
 installed, can it be?

 Mon May 21 18:44:22 2012 [VMM][I]: error: Cannot find QEMU binary
 /usr/bin/kvm: No such file or directory

 Regards
 Marco



 On Fri, May 25, 2012 at 11:40 AM, A k Industrial services
 akindustrialservi...@yahoo.com wrote:
 
 
 
 
 
  Hi,
 
  Whenever i create my vm it goes in failing state. I am using Opennebula
 3.4.1.
  Can anybody help.
 
 
  Following is the vm log :
 
  Mon May 21 18:44:19 2012 [DiM][I]: New VM state is ACTIVE.
  Mon May 21 18:44:19 2012 [LCM][I]: New VM state is PROLOG.
  Mon May 21 18:44:21 2012 [TM][I]: context: Generating context block
 device at quad1.gslab.com:
 /root/opennebula-3.4.1/one/var/var//datastores/0/46/disk.0
  Mon May 21 18:44:21 2012 [TM][I]: ExitCode: 0
  Mon May 21 18:44:21 2012 [LCM][I]: New VM state is BOOT
  Mon May 21 18:44:21 2012 [VMM][I]: Generating deployment file:
 /root/opennebula-3.4.1/one/var/var/46/deployment.1
  Mon May 21 18:44:22 2012 [VMM][I]: ExitCode: 0
  Mon May 21 18:44:22 2012 [VMM][I]: Successfully execute network driver
 operation: pre.
  Mon May 21 18:44:22 2012

Re: [one-users] VM status is runn but it doesn't make contact

2012-05-28 Thread davood ghatreh
Hi,

Try to connect using VNC, and check to see if OS is completely booted and
if any firewall is up.

Also, when you use bridges to manage your virtual network, there's no need
to give IP address to the eth itself. Its enough to config your bridge to
have IP address.

Thanks

On Tue, May 29, 2012 at 5:42 AM, Erico Augusto Cavalcanti Guedes 
e...@cin.ufpe.br wrote:

 Dears OpenNebula Users,

 $ /srv3/cloud/one/bin/onevm list
 ID USER GROUPNAME STAT CPU MEM
 HOSTNAMETIME
 11 oneadmin oneadmin CloudProxy   runn   0128M  mc3-node03
 3d 04:02

 $ tail -n 6 /srv3/cloud/one/var/11/vm.log
 Mon May 28 20:59:39 2012 [VMM][I]: ExitCode: 0
 Mon May 28 20:59:39 2012 [VMM][D]: Monitor Information:
 CPU   : 0
 Memory: 131072
 Net_TX: 0
 Net_RX: 489564544

 $ /srv3/cloud/one/bin/onevm show 11
 ...
 NIC=[
   BRIDGE=br0,
   IP=192.168.15.2,
   MAC=02:00:c0:a8:0f:02,
   NETWORK=Modcs,
   NETWORK_ID=0,
   VLAN=NO ]
 ...

 ifconfig from frontend
 $ ifconfig
 br0   Link encap:Ethernet  HWaddr 00:1f:d0:e2:4e:b9
   inet addr:192.168.15.254  Bcast:192.168.15.255
 Mask:255.255.255.0
 ...

 eth0  Link encap:Ethernet  HWaddr 00:1f:d0:e2:4e:b9
   inet addr:192.168.15.200  Bcast:0.0.0.0  Mask:255.255.255.0
 ...


 As can be viewed, VM status is runn and it is logging, but no contact can
 be made with it:

 $ ping 192.168.15.2
 PING 192.168.15.2 (192.168.15.2) 56(84) bytes of data.
 From 192.168.15.254 icmp_seq=1 Destination Host Unreachable
 From 192.168.15.254 icmp_seq=2 Destination Host Unreachable
 From 192.168.15.254 icmp_seq=3 Destination Host Unreachable

 bridge, datastore, vnet and image are properly created and tested.
 I used arp-scan, trying to visualize VM IP, but it doesn't works.

 Some advices?

 Thanks,

 Erico.





 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Fw: VM in failing state

2012-05-25 Thread davood ghatreh
Hi,

I had this problem before. create a link to your binary file, and it will
be fixed. in my case, I did it using this command:


ln -sf /usr/libexec/qemu-kvm /usr/bin/kvm


Thanks
Davood

On Fri, May 25, 2012 at 7:45 PM, Marco Bizzarri marco.bizza...@gmail.comwrote:

 Hi.

 Looking at your log it seems like you haven't the qemu binaries
 installed, can it be?

 Mon May 21 18:44:22 2012 [VMM][I]: error: Cannot find QEMU binary
 /usr/bin/kvm: No such file or directory

 Regards
 Marco



 On Fri, May 25, 2012 at 11:40 AM, A k Industrial services
 akindustrialservi...@yahoo.com wrote:
 
 
 
 
 
  Hi,
 
  Whenever i create my vm it goes in failing state. I am using Opennebula
 3.4.1.
  Can anybody help.
 
 
  Following is the vm log :
 
  Mon May 21 18:44:19 2012 [DiM][I]: New VM state is ACTIVE.
  Mon May 21 18:44:19 2012 [LCM][I]: New VM state is PROLOG.
  Mon May 21 18:44:21 2012 [TM][I]: context: Generating context block
 device at quad1.gslab.com:
 /root/opennebula-3.4.1/one/var/var//datastores/0/46/disk.0
  Mon May 21 18:44:21 2012 [TM][I]: ExitCode: 0
  Mon May 21 18:44:21 2012 [LCM][I]: New VM state is BOOT
  Mon May 21 18:44:21 2012 [VMM][I]: Generating deployment file:
 /root/opennebula-3.4.1/one/var/var/46/deployment.1
  Mon May 21 18:44:22 2012 [VMM][I]: ExitCode: 0
  Mon May 21 18:44:22 2012 [VMM][I]: Successfully execute network driver
 operation: pre.
  Mon May 21 18:44:22 2012 [VMM][I]: Command execution fail: cat  EOT |
 /var/tmp/one/vmm/kvm/deploy
 /root/opennebula-3.4.1/one/var/var//datastores/0/46/deployment.1
 quad1.gslab.com 46 quad1.gslab.com
  Mon May 21 18:44:22 2012 [VMM][I]: error: Failed to create domain from
 /root/opennebula-3.4.1/one/var/var//datastores/0/46/deployment.1
  Mon May 21 18:44:22 2012 [VMM][I]: error: Cannot find QEMU binary
 /usr/bin/kvm: No such file or directory
  Mon May 21 18:44:22 2012 [VMM][E]: Could not create domain from
 /root/opennebula-3.4.1/one/var/var//datastores/0/46/deployment.1
  Mon May 21 18:44:22 2012 [VMM][I]: ExitCode: 255
  Mon May 21 18:44:22 2012 [VMM][I]: Failed to execute virtualization
 driver operation: deploy.
  Mon May 21 18:44:22 2012 [VMM][E]: Error deploying virtual machine:
 Could not create domain from
 /root/opennebula-3.4.1/one/var/var//datastores/0/46/deployment.1
  Mon May 21 18:44:22 2012 [DiM][I]: New VM state is FAILED
 
  Regards,
 
  Krish.
 
 
 
 
  ___
  Users mailing list
  Users@lists.opennebula.org
  http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
 



 --
 Marco Bizzarri
 http://code.google.com/p/qt-asterisk/
 http://notenotturne.blogspot.com/
 http://iliveinpisa.blogspot.com/
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] better OS to install Opennebula

2012-05-24 Thread davood ghatreh
Dear Nicolas,

You can install Opennebula on both RedHat (CentOS) and Debian based
(Ubuntu) OSes without any problem. You just need to have some experience on
Linux OS, installing apps, basic shell commands, etc for a successful
installation.  After installing it, you will be able to use Sunstone GUI to
manage your cloud environment.

you also have to know Opennebula architecture. use [1] to obtain this
information.

to start installing the software, use [2], which is a step by step procedure

About the OS to install,
As my point of view, install it on CentOS 6.2. It may be a bit difficult
compared with Ubuntu, but you'll learn too many things
If you want to install it in the most easiest way, choose Ubuntu (mine was
10.04), and run aptitude install opennebula

it is not just the Opennebula application which should be installed
properly. You'll need to have a Hypervisor to work with it. Choose one, and
enable its drivers in Opennebula [3]

Feel free to ask if there is any question

Thanks
Davood

[1]: http://opennebula.org/documentation:rel3.4:plan
[2]: http://opennebula.org/documentation:rel3.4:ignc
[3]: http://opennebula.org/documentation:rel3.4:vmmg



On Thu, May 24, 2012 at 3:21 AM, Nicolas Diogo nicolasdi...@gmx.com wrote:

  hi,

 once again i will take sometime to try to get OpenNebula working.

 what is the better (easier) less difficult OS to install on?

 CentOS 6 / Scientific Linux 6
 Debian 6

 thanks,

 Nicolas

 --
  sent with Debian Linux (http://www.debian.org)
 free yourself into a safer internet
  this message is only intended to its recipient

 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] kvm config on CentOS 5.5

2012-05-23 Thread davood ghatreh
Hi,

As far as I know, oneadmin execute commands using sudo, you need to specify
which command oneadmin is allowed to run in /etc/sudoers. and also, no
password should be asked when it use sudo. for instance, if you add
following, you let it run any command with sudo, without any password
required:

oneadminALL=(ALL)   NOPASSWD: ALL


add this line to /etc/sudoers, then try to modify your bridge using
oneadmin user.

pleas also attach latest logs in /var/log/one/oned.conf when you face the
error message

Thanks
Davood

On Wed, May 23, 2012 at 1:43 PM, Jaime Melis jme...@opennebula.org wrote:

 Hello,

 I can't give you much advice on Centos 5.5 since it's not officially
 supported any more and we haven't used it for a while. However, it seems
 your problem can be solved by properly configuring
 /etc/libvirt/libvirtd.conf and /etc/libvirt/qemu.conf

 Have you followed the KVM guide (dynamic ownership, setting oneamdin as
 the user, etc):
 http://opennebula.org/documentation:rel3.4:kvmg

 Also you might want to check the contents of /etc/qemu-if{up,down} and
 compare it with the debian scripts.

 Cheers,
 Jaime


 On Tue, May 15, 2012 at 5:58 PM, Olivier Sallou 
 olivier.sal...@irisa.frwrote:

 hi,
 has anyone successfully configured KVM on CentOS 5.5 for OpenNebula?

 I have an issue with the  interface create at VM startup.

 Failed to add tap interface to bridge 'br0': Operation not permitted

 I know commands on Debian, but I cannot find how to do this on Centos
 (give non root user permissions to add a tap to the bridge).
 I added a rule : KERNEL==tun, NAME=net/%k, GROUP=kvm, MODE=0660

 but it does not seem to be enough

 Thanks

 Olivier

 --

 gpg key id: 4096R/326D8438  (keyring.debian.org)
 Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438


 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org




 --
 Jaime Melis
 Project Engineer
 OpenNebula - The Open Source Toolkit for Cloud Computing
 www.OpenNebula.org | jme...@opennebula.org

 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] VNC Help

2011-12-27 Thread davood ghatreh
Hi,

noVNC is not installed by default (as much as I know), and you need to
install it by yourself. There's a simple script to run to have it installed.

Thanks

On Wed, Dec 28, 2011 at 12:02 AM, Vahe nr vne...@gmail.com wrote:

 Thanks for all replays, let me ask something I haven't installed noVNC, is
 it installed by default during the installation or not, I am using Google
 chrome as a web browser and as I know it is websockets enabled.

 Regards

 On Tue, Dec 27, 2011 at 11:17 PM, matheus tor4 matheusi...@gmail.comwrote:

 Does your browser have websockets enabled?

 On Tue, Dec 27, 2011 at 4:12 PM, Vahe nr vne...@gmail.com wrote:

 Hi for all there
 I am a beginner in Opennebula, I have installed 3.0 version from its
 source, then also I have installed the node, everything went ok, my image
 is deployed and running on my node, but I have this problem: the icon of
 VNC is active (highlighted) but when I press it the VM doesn't appear and
 beside that no error is given.
 Any suggestion or help.

 Thanks in advance.


 Regards
  Vahe

 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org




 --
 Matheus Torquato
 Undergraduate in Computer Science
 Federal University of Alagoas


 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Experiments with haizea and OpenNebula

2011-12-20 Thread davood ghatreh
Hi,

check to see if  ONE_AUTH environment variable is pointing to the correct
path, and it has one line containing oneadmin:password. also, make sure
oned has been started with oneadmin credentials.

Thanks

On Tue, Dec 20, 2011 at 6:55 AM, Paulo Renato paulore...@gmail.com wrote:

 Davood,

 I follow your stepwise and it works for me. Now I was trying install
 OpenNebula 3.1 and I see that the configuration was diferent. But my
 problem is start oneacctd. The problem is related with authentication. Any
 idiea?

 Thanks.

 Em 2 de dezembro de 2011 04:41, davood ghatreh 
 davood.gh2...@gmail.comescreveu:

 Hi Paulo,


 Here it is. Just please note it is not a copy paste procedure, and you
 need to know what you are doing.
 It is divided to two steps. One for Oned server, one for virtulalization
 server(s). I used CentOS6 65 on all servers, and virtualization layer is
 KVM.

 for oned server (OpenNebula):

25  cd /home/
 rpm -ivh
 http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm
48  yum install wget sqlite bridge-utils tunctl gcc python-devel scons
 ruby-devel rubygems redhat-lsb
75  wget
 http://dev.opennebula.org/packages/opennebula-3.0.0/CentOS-6.0/opennebula-3.0.0-1.x86_64.rpm
78  yum localinstall install opennebula-3.0.0-1.x86_64.rpm --nogpgcheck
76  /usr/share/one/install_gems
   77  /usr/share/one/install_novnc.sh
18  vi /etc/one/sunstone-server.conf and change host and check auth to
 be base

18  su oneadmin

 *(REFRENCE1)*id oneadmin == create the same user with the same gid and
 uid in MTSes (virtualization servers)

19  mkdir ~/.one
20  echo oneadmin:*password*  ~/.one/one_auth
21  chmod 600 ~/.one/one_auth
22  one start
19  oneacctd start
20  sunstone-server start
23  to check if it is up run: onevm list

 ssh-keygen
 cat ~/.ssh/id_rsa.pub  ~/.ssh/authorized_keys
 $ chmod 700 ~/.ssh/
 $ chmod 600 ~/.ssh/id_dsa.pub
 $ chmod 600 ~/.ssh/id_dsa
 $ chmod 600 ~/.ssh/authorized_keys

 to run the shared storage on NFS:
 echo /var/lib/one/ *MTSserverNames*(rw,no_root_squash)  /etc/export

 service nfsrestart
 service nfslock restart
 service portmap restart
 chkconfig --level 35 portmap on
 chkconfig --level 35 nfslock on
 chkconfig --level 35 nfs on

 ==
 Now to make MTSes ready to be added in opennebula:

 echo *sharedstorageservername*:/var/lib/one/ /var/lib/one/ 
 /etc/rc.local
 mount *sharedstorageservername*:/var/lib/one/ /var/lib/one/
 rpm -ivh
 http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm
 yum install bridge-utils tunctl ruby

 find * *using *REFRENCE1* in Oned server and then run following in
 MTSes:

 groupadd --gid ** oneadmin
 useradd --uid ** -g oneadmin -d /var/lib/one oneadmin
 usermod --groups oneadmin,kvm,qemu oneadmin

 Modify /etc/libvirt/qemu.conf to include dynamic_ownership = 0 and make
 following changes:
 user = oneadmin
 group = oneadmin

 open /etc/libvirt/libvirtd.conf and make sure following are uncommented

 listen_tcp = 1
 unix_sock_group = oneadmin
 unix_sock_ro_perms = 0777
 unix_sock_rw_perms = 0777



 then create:


 /etc/polkit-1/localauthority/50-local.d/50-org.example-libvirt-remote-access.pkla

 [org.libvirt.unix.manage]
 Identity=unix-user:*
 Action=org.libvirt.unix.manage
 ResultAny=yes
 ResultInactive=yes
 ResultActive=yes

 service libvirtd restart

 chmod 700 /etc/sudoers
 edit /etc/sudoers and add:

 oneadminALL=(ALL)   NOPASSWD: ALL

 then comment:
 Defaultsrequiretty


 chmod 440 /etc/sudoers



 and at last:

 ln -sf /usr/libexec/qemu-kvm /usr/bin/kvm


 reboot all servers and login to sunstone and add your MTSes. Keep in mind
 that you need to run oned *just *as oeadmin user.

 everyone is welcomed to change and improve these steps,


 Thanks
 Davood



 On Fri, Dec 2, 2011 at 3:54 AM, Paulo Renato paulore...@gmail.comwrote:

 Davood,

 thanks for the help. I want your stepwise procedure, because I tried
 install opennebula a long time ago and I had  some problems with
 installation and the concepts about the server roles (infrastructure).

 Thanks.

 Paulo Renato

 Em 1 de dezembro de 2011 18:42, davood ghatreh 
 davood.gh2...@gmail.comescreveu:

 Dear Paulo,

 you can manage all your servers using OpenNebula and prepare your own
 cloud and even offer private cloud using VDC. I suggest to install the
 controller (oned server) on CentOS6-64, and I can provide you with the
 stepwise procedure if you want.

 My experience is, if you install it properly, you will enjoy a real
 meaning of a cloud concepts.

 Thanks
 Davood

 On Thu, Dec 1, 2011 at 8:36 AM, Paulo Renato paulore...@gmail.comwrote:

 Hi everybody,

 I need a cloud created with OpenNebula to do some experiments. I made
 a simulation with Haizea and I need to execute this simulation in
 a OpenNebula cloud. My experiment start approximately 150 machines. So 
 note
 that in my experiments I need access directly

[one-users] real memory usage of VM

2011-12-11 Thread davood ghatreh
Hi guys,

Does anyone know if there is any way to see how much memory a VM is using?
(KVM as Hypervisor). I don't mean allocated memory to a VM, I mean real
memory usage at the specific time (to deploy pay as you go concept).

Thanks
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Problem with NoVNC

2011-12-08 Thread davood ghatreh
Hi,

There is probably something wrong with this image or it created vm. you can
try another one. I mean, try to make your own os image, then add it to
image list in opennebula and wait until become ready. Then create a
template based on it (you need to create a virtual network before). :)


Thanks

On Thu, Dec 8, 2011 at 8:31 PM, Nuttapong Chaktranont 
nuttapong.c...@gmail.com wrote:

 Hi,

 i waited in Loading screen for 30 mins.
 How to check about the vm is working?


 Thank you.

 Message: 1
 Date: Thu, 8 Dec 2011 19:27:20 +0330
 From: davood ghatreh davood.gh2...@gmail.com
 To: users@lists.opennebula.org
 Subject: Re: [one-users] Problem with NoVNC
 Message-ID:
 CADpDy=c_o6UK=6v7u53zsmnjk+5xce6od4qoq+5aa_wtv4q...@mail.gmail.com
 Content-Type: text/plain; charset=iso-8859-1


 Hi,

 It has nothing to do with noVNC, the problem is with your VM. it is in
 loading state.

 Thanks

 On Thu, Dec 8, 2011 at 7:23 PM, Nuttapong Chaktranont 
 nuttapong.c...@gmail.com wrote:

 i installed openNebula 3.0 with Ubuntu 10.04 LTS . i already started

 sunstone, create image by downloading ttylinux.tar.gz .

 The problem is when vm is running and i clicked on the icon VNC at VNC

 Access column so it show popup NoVNC then i got Black Screen with the

 message Loading..  . i tried with other browers and got at the same thing

 e.g. chrome version 15 , firefox version 8 ,etc.

 i tried to create images with myself. i got result same ttylinux images.



 i attach image with this email too.



 Thank you


 ___

 Users mailing list

 Users@lists.opennebula.org

 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org




 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] create image vm

2011-12-07 Thread davood ghatreh
Hi,

With thanks to Fabian, here is the procedure:


On a system which has KVM available:
qemu-img create -f raw servername.img 10G
qemu-system-x86_64 -hda servername.img -cdrom /path/to/install.iso -boot d
-m 512
Connect through VNC for installation, the above command will report you the
used port (default 5900)
qemu-system-x86_64 servername.img -m 512  # to test after install
Connect through VNC
login and run 'poweroff' as root or with sudo

Thanks

On Wed, Dec 7, 2011 at 6:24 PM, Dian Djaelani djael...@maxindo.net.idwrote:

 Hello all,

 where i can find image for vm with kvm hypervisor ? or it's must create ?

 --
 Regards,

 Dian Djaelani
 djael...@maxindo.net.id

 __**_
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] create image vm

2011-12-07 Thread davood ghatreh
Sorry Dian but i don't get what you want. do you want to install KVM on
Debian, or want to create a Debian VM?

On Wed, Dec 7, 2011 at 7:59 AM, Dian Djaelani djael...@maxindo.net.idwrote:

 wait i can`t connect to VNC,
 can i create  with debian server ? or must debian desktop?


 Dian Djaelani wrote:

 owh thanks for fast respone
 i will try your advise

 davood ghatreh wrote:

 Hi,

 With thanks to Fabian, here is the procedure:


 On a system which has KVM available:
 qemu-img create -f raw servername.img 10G
 qemu-system-x86_64 -hda servername.img -cdrom /path/to/install.iso -boot
 d -m 512
 Connect through VNC for installation, the above command will report you
 the used port (default 5900)
 qemu-system-x86_64 servername.img -m 512  # to test after install
 Connect through VNC
 login and run 'poweroff' as root or with sudo

 Thanks

 On Wed, Dec 7, 2011 at 6:24 PM, Dian Djaelani 
 djael...@maxindo.net.idmailto:
 djael...@maxindo.net.**id djael...@maxindo.net.id wrote:

Hello all,

where i can find image for vm with kvm hypervisor ? or it's must
create ?

-- Regards,

Dian Djaelani
djael...@maxindo.net.id 
 mailto:djael...@maxindo.net.**iddjael...@maxindo.net.id
 

__**_
Users mailing list
Users@lists.opennebula.org 
 mailto:Users@lists.**opennebula.orgUsers@lists.opennebula.org
 

 http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org




 __**_
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org





 --
 Regards,

 Dian Djaelani
 djael...@maxindo.net.id

 __**_
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] create image vm

2011-12-07 Thread davood ghatreh
Do you get the VNC port to connect from step 2?

Do you have any GUI? you can simply use virt-manager to manage your vm's
through GUI.



On Wed, Dec 7, 2011 at 10:29 AM, Dian Djaelani djael...@maxindo.net.idwrote:

 sory maybe my question not detail
 i tray to create image on my server debian server with system which has
 KVM available
 1. qemu-img create -f raw servername.img 10G
 2. qemu-system-x86_64 -hda servername.img -cdrom /path/to/install.iso
 -boot d -m 512
 3. Connect through VNC for installation, the above command will report you
 the used port (default 5900)

 but on step no 3 i can`t connect vnc for installation
 can you help me??
 davood ghatreh wrote:

 Sorry Dian but i don't get what you want. do you want to install KVM on
 Debian, or want to create a Debian VM?

 On Wed, Dec 7, 2011 at 7:59 AM, Dian Djaelani 
 djael...@maxindo.net.idmailto:
 djael...@maxindo.net.**id djael...@maxindo.net.id wrote:

wait i can`t connect to VNC,
can i create  with debian server ? or must debian desktop?


Dian Djaelani wrote:

owh thanks for fast respone
i will try your advise

davood ghatreh wrote:

Hi,

With thanks to Fabian, here is the procedure:


On a system which has KVM available:
qemu-img create -f raw servername.img 10G
qemu-system-x86_64 -hda servername.img -cdrom
/path/to/install.iso -boot d -m 512
Connect through VNC for installation, the above command
will report you the used port (default 5900)
qemu-system-x86_64 servername.img -m 512  # to test after
install
Connect through VNC
login and run 'poweroff' as root or with sudo

Thanks

On Wed, Dec 7, 2011 at 6:24 PM, Dian Djaelani
djael...@maxindo.net.id 
 mailto:djael...@maxindo.net.**iddjael...@maxindo.net.id
 
mailto:djael...@maxindo.net.**id djael...@maxindo.net.id

mailto:djael...@maxindo.net.**id djael...@maxindo.net.id
 wrote:

   Hello all,

   where i can find image for vm with kvm hypervisor ? or
it's must
   create ?

   -- Regards,

   Dian Djaelani
djael...@maxindo.net.id 
 mailto:djael...@maxindo.net.**iddjael...@maxindo.net.id
 
mailto:djael...@maxindo.net.**id djael...@maxindo.net.id

mailto:djael...@maxindo.net.**id djael...@maxindo.net.id

   __**_
   Users mailing list
Users@lists.opennebula.org
mailto:Users@lists.**opennebula.orgUsers@lists.opennebula.org
 
mailto:Users@lists.**opennebula.orgUsers@lists.opennebula.org

mailto:Users@lists.**opennebula.orgUsers@lists.opennebula.org
 
http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**
 org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org




__**_
Users mailing list
Users@lists.opennebula.org mailto:Users@lists.**
 opennebula.org Users@lists.opennebula.org

http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**
 org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org





-- Regards,

Dian Djaelani
djael...@maxindo.net.id 
 mailto:djael...@maxindo.net.**iddjael...@maxindo.net.id
 

__**_
Users mailing list
Users@lists.opennebula.org 
 mailto:Users@lists.**opennebula.orgUsers@lists.opennebula.org
 

 http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org




 __**_
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org



 --
 Regards,

 Dian Djaelani
 djael...@maxindo.net.id

 __**_
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] modifying a virtual machine resources

2011-12-06 Thread davood ghatreh
Hi Fabian,

Thanks for you reply.
Do you know how this save as feature works? I can use it. when I save as
a VM, it goes to my images, and after a while of being LOCKED, its status
changes to FAILED. how can i save a machine as an image?

Thanks

On Tue, Dec 6, 2011 at 10:50 AM, Fabian Wenk fab...@wenks.ch wrote:

 Hello Davood


 On 29.11.2011 23:23, davood ghatreh wrote:

 Does anyone know how to managea virtual machine resources? consider that I
 create a vps with one CPU, and after a wile,  i decide to increase its
 CPU's to two. Is it possible in OpenNebula? i dont want to re-deploy ma
 machine, and dont want to loose any file of existing virtual machine in
 this process.


 As far as I know, it is not possible. You need to shutdown the VM, modify
 the template an recreate the VM again. It is like with real hardware, if
 you need to change something, you need to shutdown, do the modification and
 boot up again.

 If you need to be able to modify a VM without loosing anything, you should
 use persistent images out of the Image Repository.


 bye
 Fabian
 __**_
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] users, groups and permissions

2011-12-05 Thread davood ghatreh
Hi everyone,

I have created two users, both in the same group. I did it to let them use
the same images/networks/templates, but they are completely distinct. Now
they can see each other VMs and can simply login using VNC and make change
to each other vms. This is not what I want. And I don't want to create
distinct group for each of them, because i will have to make the same
images/templates/etc for them, because you cant chogrp a template to two
groups simultaneously.

Would you please provide me with a solution to figure it out?

Thanks all
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Little help with first building cloud

2011-12-05 Thread davood ghatreh
Hi,

With which credential are you starting oned service? if you've started it
with root credentials, stop it first, then su oneadmin and start it again
with oneadmin credentials. This happened to me before.

Thanks

On Mon, Dec 5, 2011 at 4:17 PM, matheus tor4 matheusi...@gmail.com wrote:

 I already tried

 - Make sure that /var/lib/one/.one/one_auth exists, and contains user:pass
 string.
 - Set a environment variable ONE_AUTH=/var/lib/one/.one/one_auth, and put
 it as global variable.
 - Change the contain of /var/lib/one/auth to make it strictly similar to
 /var/lib/one/.one/one_auth file
 - Make the  /var/lib/one/auth work as symbolic link to
  /var/lib/one/.one/one_auth.

 Nothing works!

 And I get the same error: [VirtualMachinePoolInfo] User couldn't be
 authenticated, aborting call.

 Any more hints?

 I dont want to reinstall OpenNebula again!! :x

 Thanks for all your help,
 It's very useful for me.

 Best regards.

 Matheus

 On Sun, Dec 4, 2011 at 7:27 PM, Hutson Betts hut...@tamu.edu wrote:

 Sounds like an issue with your $ONE_AUTH file.

 Here's an e-mail chain that explains the issue a little.

 I would simply make sure your $ONE_AUTH
 file, /home/oneadmin/.one/one_auth, exists, and that it contains the
 username:password string for the oneadmin user.

 --
 Hutson Betts
 Computer Science and Engineering
 Texas AM University


 On Sun, 2011-12-04 at 19:16 -0300, matheus tor4 wrote:
  [VirtualMachinePoolInfo] User couldn't be authenticated, aborting
  call.

 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Little help with first building cloud

2011-12-05 Thread davood ghatreh
oops! sorry, i didn't read the thread completely :D

On Mon, Dec 5, 2011 at 11:03 PM, davood ghatreh davood.gh2...@gmail.comwrote:

 Hi,

 With which credential are you starting oned service? if you've started it
 with root credentials, stop it first, then su oneadmin and start it again
 with oneadmin credentials. This happened to me before.

 Thanks


 On Mon, Dec 5, 2011 at 4:17 PM, matheus tor4 matheusi...@gmail.comwrote:

 I already tried

 - Make sure that /var/lib/one/.one/one_auth exists, and contains
 user:pass string.
 - Set a environment variable ONE_AUTH=/var/lib/one/.one/one_auth, and put
 it as global variable.
 - Change the contain of /var/lib/one/auth to make it strictly similar to
 /var/lib/one/.one/one_auth file
 - Make the  /var/lib/one/auth work as symbolic link to
  /var/lib/one/.one/one_auth.

 Nothing works!

 And I get the same error: [VirtualMachinePoolInfo] User couldn't be
 authenticated, aborting call.

 Any more hints?

 I dont want to reinstall OpenNebula again!! :x

 Thanks for all your help,
 It's very useful for me.

 Best regards.

 Matheus

 On Sun, Dec 4, 2011 at 7:27 PM, Hutson Betts hut...@tamu.edu wrote:

 Sounds like an issue with your $ONE_AUTH file.

 Here's an e-mail chain that explains the issue a little.

 I would simply make sure your $ONE_AUTH
 file, /home/oneadmin/.one/one_auth, exists, and that it contains the
 username:password string for the oneadmin user.

 --
 Hutson Betts
 Computer Science and Engineering
 Texas AM University


 On Sun, 2011-12-04 at 19:16 -0300, matheus tor4 wrote:
  [VirtualMachinePoolInfo] User couldn't be authenticated, aborting
  call.

 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] novnc problem

2011-12-02 Thread davood ghatreh
Hi Dian,

you can troubleshoot this problem easily.

First of all, read documents about setting up noVNC in opennebula website.
After making sure that you ran scripts without any problem, check to see if
there is any noVNC running in the server:

one the oned node (OpenNebula server), run this:

ps aux |grep VNC

you should see something like this:

oneadmin 24346  0.0  0.2 249764 10632 ?S21:19   0:00 python
/usr/share/one/noVNC/utils/wsproxy.py *35784 yourMTSname*:*5908*

it means that theres a port forwarding service which forwards request for
VNC to *yourMTSname*:*5908* which hosts you vm. if this is running, you
need to see if the destination(*yourMTSname*:*5908)* replies or not. to do
so, simply run a telnet in oned server:

telnet *yourMTSname **5908*

it should reply something like this

Trying 192.168.0.4...
Connected to mts4.ircloud.net.
Escape character is '^]'.
RFB 003.008

if it doesn't, check your firewalls and also, check the server which host
your vm to see if it listen to that port or not:

netstat -antpe |grep *5908*


These steps was just to troubleshoot, and you can find where the problem
is.

Thanks
Davood

On Fri, Dec 2, 2011 at 1:48 PM, Dian Djaelani djael...@maxindo.net.idwrote:

 hello any can help me ???
 on my project opennebula novnc in sunstone server cannot working,
 on mozilla firefox 8 error  WebSock error: [object Event]
 on chrome error  connection time out  server disconected

 please help me

 thnks

 --
 Regards,

 Dian Djaelani
 djael...@maxindo.net.id

 __**_
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] novnc problem

2011-12-02 Thread davood ghatreh
Dear Dian,

As much as I know, it has nothing to do with your hypervisor layer. of
curse your oned server should see the hypervisor layer using an internal
network.

if you get the proper reply by telnet command, so I think there should be a
problem with your computer. Have you tried to change the computer or use
another computer which is not in the same network?

at las, you should see what the perl says when you are trying to connect.
to do so, again check the processes:

ps aux |grep VNC

you'll get something like this:


oneadmin 24346  0.0  0.2 249764 10632 ?S21:19   0:00 python
/usr/share/one/noVNC/utils/wsproxy.py 35784 yourMTSname:5908

then kill the task by:

kill 24346

then run the task by oneadmin user:

su oneadmin
python /usr/share/one/noVNC/utils/wsproxy.py 35784 yourMTSname:5908

then you will see following:

[root@gui 21]# python /usr/share/one/noVNC/utils/wsproxy.py 35784
yourMTSname:5908
WebSocket server settings:
  - Listen on :35784
  - Flash security policy server
  - No SSL/TLS support (no cert file)
  - proxying from :35784 to yourMTSname:5908




and a console, waiting for connection appears. then try to connect to noVNC
using your browser and check the ssh console to see what appears. It will
help you to get the problem fixed.


Thanks
Davood



On Fri, Dec 2, 2011 at 2:48 PM, Dian Djaelani djael...@maxindo.net.idwrote:

 thanks for answer davood,
 before i'`am send email i check all same on your answer, telnet no problem
 it's connected
 but on mozilla and chrome it's not working

 i think can vnc only in same network, maybe it wrong in my vmnet template,
  becouse from public cannot replay icmp and etc
 can you tell me template vmnet with gateway and netmask, i tray on

 davood ghatreh wrote:

 Hi Dian,

 you can troubleshoot this problem easily.

 First of all, read documents about setting up noVNC in opennebula website.
 After making sure that you ran scripts without any problem, check to see
 if there is any noVNC running in the server:

 one the oned node (OpenNebula server), run this:

 ps aux |grep VNC

 you should see something like this:

 oneadmin 24346  0.0  0.2 249764 10632 ?S21:19   0:00 python
 /usr/share/one/noVNC/utils/**wsproxy.py *35784 yourMTSname*:*5908*

 it means that theres a port forwarding service which forwards request for
 VNC to *yourMTSname*:*5908* which hosts you vm. if this is running, you
 need to see if the destination(*yourMTSname*:***5908)* replies or not.
 to do so, simply run a telnet in oned server:

 telnet *yourMTSname **5908*


 it should reply something like this

 Trying 192.168.0.4...
 Connected to mts4.ircloud.net http://mts4.ircloud.net.

 Escape character is '^]'.
 RFB 003.008

 if it doesn't, check your firewalls and also, check the server which host
 your vm to see if it listen to that port or not:

 netstat -antpe |grep *5908*



 These steps was just to troubleshoot, and you can find where the problem
 is.

 Thanks
 Davood

 On Fri, Dec 2, 2011 at 1:48 PM, Dian Djaelani 
 djael...@maxindo.net.idmailto:
 djael...@maxindo.net.**id djael...@maxindo.net.id wrote:

hello any can help me ???
on my project opennebula novnc in sunstone server cannot working,
on mozilla firefox 8 error  WebSock error: [object Event]
on chrome error  connection time out  server disconected

please help me

thnks

-- Regards,

Dian Djaelani
djael...@maxindo.net.id 
 mailto:djael...@maxindo.net.**iddjael...@maxindo.net.id
 

__**_
Users mailing list
Users@lists.opennebula.org 
 mailto:Users@lists.**opennebula.orgUsers@lists.opennebula.org
 

 http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org





 __**_
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org



 --
 Regards,

 Dian Djaelani
 djael...@maxindo.net.id

 __**_
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] novnc problem

2011-12-02 Thread davood ghatreh
CORRECTION:

at las, you should see what the* phython *says when you are trying to
connect


:D

Thanks

On Fri, Dec 2, 2011 at 2:59 PM, davood ghatreh davood.gh2...@gmail.comwrote:

 Dear Dian,

 As much as I know, it has nothing to do with your hypervisor layer. of
 curse your oned server should see the hypervisor layer using an internal
 network.

 if you get the proper reply by telnet command, so I think there should be
 a problem with your computer. Have you tried to change the computer or use
 another computer which is not in the same network?

 at las, you should see what the perl says when you are trying to connect.
 to do so, again check the processes:

 ps aux |grep VNC

 you'll get something like this:


 oneadmin 24346  0.0  0.2 249764 10632 ?S21:19   0:00 python
 /usr/share/one/noVNC/utils/wsproxy.py 35784 yourMTSname:5908

 then kill the task by:

 kill 24346

 then run the task by oneadmin user:

 su oneadmin

 python /usr/share/one/noVNC/utils/wsproxy.py 35784 yourMTSname:5908

 then you will see following:

 [root@gui 21]# python /usr/share/one/noVNC/utils/wsproxy.py 35784
 yourMTSname:5908
 WebSocket server settings:
   - Listen on :35784
   - Flash security policy server
   - No SSL/TLS support (no cert file)
   - proxying from :35784 to yourMTSname:5908




 and a console, waiting for connection appears. then try to connect to
 noVNC using your browser and check the ssh console to see what appears. It
 will help you to get the problem fixed.


 Thanks
 Davood




 On Fri, Dec 2, 2011 at 2:48 PM, Dian Djaelani djael...@maxindo.net.idwrote:

 thanks for answer davood,
 before i'`am send email i check all same on your answer, telnet no
 problem it's connected
 but on mozilla and chrome it's not working

 i think can vnc only in same network, maybe it wrong in my vmnet
 template,  becouse from public cannot replay icmp and etc
 can you tell me template vmnet with gateway and netmask, i tray on

 davood ghatreh wrote:

 Hi Dian,

 you can troubleshoot this problem easily.

 First of all, read documents about setting up noVNC in opennebula
 website.
 After making sure that you ran scripts without any problem, check to see
 if there is any noVNC running in the server:

 one the oned node (OpenNebula server), run this:

 ps aux |grep VNC

 you should see something like this:

 oneadmin 24346  0.0  0.2 249764 10632 ?S21:19   0:00 python
 /usr/share/one/noVNC/utils/**wsproxy.py *35784 yourMTSname*:*5908*

 it means that theres a port forwarding service which forwards request
 for VNC to *yourMTSname*:*5908* which hosts you vm. if this is running, you
 need to see if the destination(*yourMTSname*:***5908)* replies or not.
 to do so, simply run a telnet in oned server:

 telnet *yourMTSname **5908*


 it should reply something like this

 Trying 192.168.0.4...
 Connected to mts4.ircloud.net http://mts4.ircloud.net.

 Escape character is '^]'.
 RFB 003.008

 if it doesn't, check your firewalls and also, check the server which
 host your vm to see if it listen to that port or not:

 netstat -antpe |grep *5908*



 These steps was just to troubleshoot, and you can find where the problem
 is.

 Thanks
 Davood

 On Fri, Dec 2, 2011 at 1:48 PM, Dian Djaelani 
 djael...@maxindo.net.idmailto:
 djael...@maxindo.net.**id djael...@maxindo.net.id wrote:

hello any can help me ???
on my project opennebula novnc in sunstone server cannot working,
on mozilla firefox 8 error  WebSock error: [object Event]
on chrome error  connection time out  server disconected

please help me

thnks

-- Regards,

Dian Djaelani
djael...@maxindo.net.id 
 mailto:djael...@maxindo.net.**iddjael...@maxindo.net.id
 

__**_
Users mailing list
Users@lists.opennebula.org 
 mailto:Users@lists.**opennebula.orgUsers@lists.opennebula.org
 

 http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org





 __**_
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org



 --
 Regards,

 Dian Djaelani
 djael...@maxindo.net.id

 __**_
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org



___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] novnc problem

2011-12-02 Thread davood ghatreh
Hey,

It is good news, because it says that everything is working just fine in
the server side. I am sure that there's something wrong with your
computer/browser. just try to check it using another computer in another
network and make sure there is no network connectivity limitation.
Don't forget to use Firefox as the browser.


Thanks


On Fri, Dec 2, 2011 at 4:32 PM, Dian Djaelani djael...@maxindo.net.idwrote:

 hai davood,

 in console the report is :

  1: myip : Plain non-SSL (ws://) WebSocket connection
  1: myip : Version hybi-08, base64: 'True'
  1: connecting to: cluster1:5936

 and on browser is Starting VNC handshake
 i waiting 30 minute but still Starting VNC handshake

 can help me again??

 davood ghatreh wrote:

 CORRECTION:

 at las, you should see what the*phython *says when you are trying to
 connect


 :D

 Thanks


 On Fri, Dec 2, 2011 at 2:59 PM, davood ghatreh 
 davood.gh2...@gmail.commailto:
 davood.gh2000@gmail.**com davood.gh2...@gmail.com wrote:

Dear Dian,

As much as I know, it has nothing to do with your hypervisor
layer. of curse your oned server should see the hypervisor layer
using an internal network.

if you get the proper reply by telnet command, so I think there
should be a problem with your computer. Have you tried to change
the computer or use another computer which is not in the same network?

at las, you should see what the perl says when you are trying to
connect. to do so, again check the processes:

ps aux |grep VNC

you'll get something like this:


oneadmin 24346  0.0  0.2 249764 10632 ?S21:19   0:00
python /usr/share/one/noVNC/utils/**wsproxy.py 35784 yourMTSname:5908

then kill the task by:

kill 24346

then run the task by oneadmin user:

su oneadmin

python /usr/share/one/noVNC/utils/**wsproxy.py 35784 yourMTSname:5908

then you will see following:

[root@gui 21]# python /usr/share/one/noVNC/utils/**wsproxy.py 35784
yourMTSname:5908
WebSocket server settings:
  - Listen on :35784
  - Flash security policy server
  - No SSL/TLS support (no cert file)
  - proxying from :35784 to yourMTSname:5908




and a console, waiting for connection appears. then try to connect
to noVNC using your browser and check the ssh console to see what
appears. It will help you to get the problem fixed.


Thanks
Davood




On Fri, Dec 2, 2011 at 2:48 PM, Dian Djaelani
djael...@maxindo.net.id 
 mailto:djael...@maxindo.net.**iddjael...@maxindo.net.id
 wrote:

thanks for answer davood,
before i'`am send email i check all same on your answer,
telnet no problem it's connected
but on mozilla and chrome it's not working

i think can vnc only in same network, maybe it wrong in my
vmnet template,  becouse from public cannot replay icmp and etc
can you tell me template vmnet with gateway and netmask, i tray on

davood ghatreh wrote:

Hi Dian,

you can troubleshoot this problem easily.

First of all, read documents about setting up noVNC in
opennebula website.
After making sure that you ran scripts without any
problem, check to see if there is any noVNC running in the
server:

one the oned node (OpenNebula server), run this:

ps aux |grep VNC

you should see something like this:

oneadmin 24346  0.0  0.2 249764 10632 ?S21:19
  0:00 python /usr/share/one/noVNC/utils/**wsproxy.py *35784
yourMTSname*:*5908*

it means that theres a port forwarding service which
forwards request for VNC to *yourMTSname*:*5908* which
hosts you vm. if this is running, you need to see if the
destination(*yourMTSname*:***5908)* replies or not. to do
so, simply run a telnet in oned server:

telnet *yourMTSname **5908*


it should reply something like this

Trying 192.168.0.4...
Connected to mts4.ircloud.net http://mts4.ircloud.net
http://mts4.ircloud.net.

Escape character is '^]'.
RFB 003.008

if it doesn't, check your firewalls and also, check the
server which host your vm to see if it listen to that port
or not:

netstat -antpe |grep *5908*



These steps was just to troubleshoot, and you can find
where the problem is.

Thanks
Davood

On Fri, Dec 2, 2011 at 1:48 PM, Dian Djaelani
djael...@maxindo.net.id 
 mailto:djael...@maxindo.net.**iddjael...@maxindo.net.id
 
mailto:djael...@maxindo.net.**id djael...@maxindo.net.id

mailto:djael...@maxindo.net.**id djael...@maxindo.net.id
 wrote:

   hello any can help me ???
   on my project opennebula

Re: [one-users] Experiments with haizea and OpenNebula

2011-12-01 Thread davood ghatreh
Dear Paulo,

you can manage all your servers using OpenNebula and prepare your own cloud
and even offer private cloud using VDC. I suggest to install the controller
(oned server) on CentOS6-64, and I can provide you with the stepwise
procedure if you want.

My experience is, if you install it properly, you will enjoy a real meaning
of a cloud concepts.

Thanks
Davood

On Thu, Dec 1, 2011 at 8:36 AM, Paulo Renato paulore...@gmail.com wrote:

 Hi everybody,

 I need a cloud created with OpenNebula to do some experiments. I made a
 simulation with Haizea and I need to execute this simulation in
 a OpenNebula cloud. My experiment start approximately 150 machines. So note
 that in my experiments I need access directly the OpenNebula cloud. Anyone
 knows a cloud that a could do it?


 I hope you can help me!!

 thanks so much!

 Paulo Renato

 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Experiments with haizea and OpenNebula

2011-12-01 Thread davood ghatreh
Hi Paulo,

Here it is. Just please note it is not a copy paste procedure, and you need
to know what you are doing.
It is divided to two steps. One for Oned server, one for virtulalization
server(s). I used CentOS6 65 on all servers, and virtualization layer is
KVM.

for oned server (OpenNebula):

   25  cd /home/
rpm -ivh
http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm
   48  yum install wget sqlite bridge-utils tunctl gcc python-devel scons
ruby-devel rubygems redhat-lsb
   75  wget
http://dev.opennebula.org/packages/opennebula-3.0.0/CentOS-6.0/opennebula-3.0.0-1.x86_64.rpm
   78  yum localinstall install opennebula-3.0.0-1.x86_64.rpm --nogpgcheck
   76  /usr/share/one/install_gems
  77  /usr/share/one/install_novnc.sh
   18  vi /etc/one/sunstone-server.conf and change host and check auth to
be base

   18  su oneadmin

*(REFRENCE1)*id oneadmin == create the same user with the same gid and uid
in MTSes (virtualization servers)

   19  mkdir ~/.one
   20  echo oneadmin:*password*  ~/.one/one_auth
   21  chmod 600 ~/.one/one_auth
   22  one start
   19  oneacctd start
   20  sunstone-server start
   23  to check if it is up run: onevm list

ssh-keygen
cat ~/.ssh/id_rsa.pub  ~/.ssh/authorized_keys
$ chmod 700 ~/.ssh/
$ chmod 600 ~/.ssh/id_dsa.pub
$ chmod 600 ~/.ssh/id_dsa
$ chmod 600 ~/.ssh/authorized_keys

to run the shared storage on NFS:
echo /var/lib/one/ *MTSserverNames*(rw,no_root_squash)  /etc/export

service nfsrestart
service nfslock restart
service portmap restart
chkconfig --level 35 portmap on
chkconfig --level 35 nfslock on
chkconfig --level 35 nfs on

==
Now to make MTSes ready to be added in opennebula:

echo *sharedstorageservername*:/var/lib/one/ /var/lib/one/ 
/etc/rc.local
mount *sharedstorageservername*:/var/lib/one/ /var/lib/one/
rpm -ivh
http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm
yum install bridge-utils tunctl ruby

find * *using *REFRENCE1* in Oned server and then run following in
MTSes:

groupadd --gid ** oneadmin
useradd --uid ** -g oneadmin -d /var/lib/one oneadmin
usermod --groups oneadmin,kvm,qemu oneadmin

Modify /etc/libvirt/qemu.conf to include dynamic_ownership = 0 and make
following changes:
user = oneadmin
group = oneadmin

open /etc/libvirt/libvirtd.conf and make sure following are uncommented

listen_tcp = 1
unix_sock_group = oneadmin
unix_sock_ro_perms = 0777
unix_sock_rw_perms = 0777



then create:

/etc/polkit-1/localauthority/50-local.d/50-org.example-libvirt-remote-access.pkla

[org.libvirt.unix.manage]
Identity=unix-user:*
Action=org.libvirt.unix.manage
ResultAny=yes
ResultInactive=yes
ResultActive=yes

service libvirtd restart

chmod 700 /etc/sudoers
edit /etc/sudoers and add:

oneadminALL=(ALL)   NOPASSWD: ALL

then comment:
Defaultsrequiretty


chmod 440 /etc/sudoers



and at last:

ln -sf /usr/libexec/qemu-kvm /usr/bin/kvm


reboot all servers and login to sunstone and add your MTSes. Keep in mind
that you need to run oned *just *as oeadmin user.

everyone is welcomed to change and improve these steps,


Thanks
Davood


On Fri, Dec 2, 2011 at 3:54 AM, Paulo Renato paulore...@gmail.com wrote:

 Davood,

 thanks for the help. I want your stepwise procedure, because I tried
 install opennebula a long time ago and I had  some problems with
 installation and the concepts about the server roles (infrastructure).

 Thanks.

 Paulo Renato

 Em 1 de dezembro de 2011 18:42, davood ghatreh 
 davood.gh2...@gmail.comescreveu:

 Dear Paulo,

 you can manage all your servers using OpenNebula and prepare your own
 cloud and even offer private cloud using VDC. I suggest to install the
 controller (oned server) on CentOS6-64, and I can provide you with the
 stepwise procedure if you want.

 My experience is, if you install it properly, you will enjoy a real
 meaning of a cloud concepts.

 Thanks
 Davood

 On Thu, Dec 1, 2011 at 8:36 AM, Paulo Renato paulore...@gmail.comwrote:

 Hi everybody,

 I need a cloud created with OpenNebula to do some experiments. I made a
 simulation with Haizea and I need to execute this simulation in
 a OpenNebula cloud. My experiment start approximately 150 machines. So note
 that in my experiments I need access directly the OpenNebula cloud. Anyone
 knows a cloud that a could do it?


 I hope you can help me!!

 thanks so much!

 Paulo Renato

 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org




 --
 Atenciosamente,

 Paulo Renato
 Administrador de Redes
 Guarda Municipal de Fortaleza

 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Re: [one-users] Little help with first building cloud

2011-11-30 Thread davood ghatreh
Hi,

I've worked on Centos and have no idea about Debian based installation, but
I think you need to share /var/lib/one, because there are some other
files/folders than images which are being used. for example,
/var/lib/one/.one/ is the path to authentication files, which servers
should see in a shared storage model to login without being asked for
password.

Thanks
Davood

On Wed, Nov 30, 2011 at 10:48 AM, matheus tor4 matheusi...@gmail.comwrote:

 Hello guys,

 I'm here again.

 I choosed to use .deb package instalation instead build source code.

 But, when I execute  $ sudo dpkg -i opennebula_3.0.0-1_amd64.deb
 I get this error message:

 Desempacotando opennebula (de opennebula_3.0.0-1_amd64.deb) ...
 dpkg: erro processando opennebula_3.0.0-1_amd64.deb (--install):
  erro estabelecendo posse de '/var/lib/one/remotes.dpkg-new': Opera��o n�o
 permitida
 Processando gatilhos para ureadahead ...
 Processando gatilhos para man-db ...
 Erros foram encontrados durante o processamento de:
  opennebula_3.0.0-1_amd64.deb

 (Sorry, it is in brazilian portuguese)

 Summarizing  we got a error like:

 dpkg: error processing opennebula_3.0.0-1_amd64.deb (- install):
   error setting ownership of '/ var / lib / one / remotes.dpkg-new':
 Operation not allowed

 I'm not so sure, but I believe that occurs because the shared file system.
 As all the files have a different owner, the front-end cannot write
 anything in this directory.

 So, the question is:

 Have I wich to share only the directory /var/lib/one/images, or the whole
 /var/lib/one?
 Does exist a file to put permissions of the shared directory?

 Very thanks guys.

 Best regards

 On Tue, Nov 29, 2011 at 8:59 AM, matheus tor4 matheusi...@gmail.comwrote:

 Hello everybody.

 Very thanks for the help until now.

 I'm using this thread to put all my doubts ok?
 So, if anyone wish follow me in this adventure Building my first cloud,
 only have to look this tread to see my status at the moment.

 My doubt now is:

 Wich is better?
 - Use .deb to install the openNebula in the hosts and in the front-end.
 Remember I'm using a Ubuntu Desktop 10.04 (32bits) as Front End and using
 Ubuntu Server 11.04 (64 bits) as Hosts.
 - Building and compile source, because is more safer, and it is more
 close to procedure shown on OpenNebula official documentation.

 Thanks

 Regards,

 Matheus Torquato




 On Sun, Nov 27, 2011 at 4:56 PM, Fabian Wenk fab...@wenks.ch wrote:

 Hello Matheus


 On 27.11.2011 17:49, matheus tor4 wrote:

 At the time I'm using the second strategy: Using a Core2Duo as a
 Front-End
 and release all
 resources of the server to be use by cloud.
 I choose this option because it is more close to the proposal of
 official
 OpenNebula Documentation.
 I hope it works now!

 So I use one of my servers (With VT) as a Image Repository too.


 This is up to you, but I would keep the image repository on the front
 end or eventually on the second system without VT. So you could use the two
 systems with VT as two identical cluster nodes.


  And now I have a little more question:

 With a NFS server configured. I have the Image Repository sharing its
 directory /var/lib/one. My doubt is:
 - Have I to insert the shared directory in the file /etc/fstab on all my
 nodes? So the node already have this directory avaiable when the machine
 starts.


 Yes, and also on the front end.


  - Or Haven't I to do this? Does the directory only be mount when it is
 necessary? (sudo mount ...)


 It needs to be already mounted when OpenNebula will deploy a VM.


  And, if I edit the /etc/fstab, Do I have to do this in the node
 ImageRepository+Cluster at the same time? I hope not, because the
 directory
 is on the machine


 I am not sure about OpenNebula 3.0, but with 2.2 the image repository
 and also the VM_DIR folder need to be mounted in the same path as they are
 on the front end.



 bye
 Fabian
 __**_
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org




 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] 回复: problem with user authentication in Sunston

2011-11-27 Thread davood ghatreh
Hi Yurlin,

Yes, that's a problem by itself, but for now, I can't authenticate any
created users in OpenNebula. Last night, I tried to install a fresh Oned on
another server. I could successfully create users and login to control
panel using them, so it seems that there is some problems with my
opennebula installation. anyway, thanks for the advise : )

Does anyone know how to create a zone? I just want to configure oZone and
finally vDC, but as it mentioned in the documentations, you need to have a
installed and properly configured zone to be able to create oZones, but i
down know how to install a zone first. i tried onezone command but no
result.

Thanks

On Mon, Nov 28, 2011 at 3:55 AM, shamaya sham...@126.com wrote:

 **
 **
 Hi, Davood
   If you are using IE, you can have a try with Firefox.
   In my system, using IE can't login into Sunstone properly.


 Cheers,
 Yuelin Sha

 2011-11-28
 --
 shamaya
  --
  发件人: davood ghatreh davood.gh2...@gmail.com
 发送时间: 2011-11-28 01:07
 主 题: [one-users] problem with user authentication in Sunston
 收件人: users@lists.opennebula.org


 Hi All,

 I have successfully installed Opennebula 3.1 on Centos6-64, and could
 create images, templates, and subsequently deploying VM. now I want to
 create users to grant access to sunstone and define quota, but users I
 create can not access sunstone and I get a invalid username or password
 when entering login info. here is my oneuser list results:


   ID GROUPNAME
 AUTH   PASSWORD
0 oneadmin oneadmincore
 5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8
1 oneadmin serveradmin server_c
 ec5a07d54f86a66a4ae20978f07237644b5dabd7
2 test customerpublic
 b39f008e318efd2bb988d724a161b61c6909677f
3 oneadmin davood  core
 0e732cd639eed7df4c2f793f456bc29d8d68a0e9
4 oneadmin customer1   server_c
 7e892b2f2466ee88c1ef67dd37495d2273372c94
6 usersfirst   public
 /C=XX/L=DefaultCity/O=DefaultCompanyLtd
7 userssag core
 d0ebf9cf7b23bc4c96ec5c015d2c0b95bbc64e75
8 usersmytest  core
 91dfd9ddb4198affc5c194cd8ce6d338fde470e2

 Any help is appreciated.

 Thanks
 Davood
 **

 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org