Re: [one-users] VM in Opennebula for OpenVZ failed

2013-12-01 Thread knawnd

Hi Caty,

On 11/30/2013 06:28 PM, Catalina Quinde wrote:
Hi Nikita, excuse me by previous mail, it´s was incorrectly, well, I 
revised
https://bugzilla.openvz.org/show_bug.cgi?id=2730, but, don´t 
understand where I have to change,


The ploop version with command: aptitude show ploop, present Version: 
1.9-10 and vzctl --version displays 4.6
What is your datastore (DS) configuration? Do you use nfs-shared DS? 
What is the output of the 'onedatastore list' command?


If you are running nfs shared datastore there are several ways you can 
follow:
1) configure your nfs server to NFSv3 and not NFSv4 since according to 
[1] and [2] NFSv4 is not supported yet for ploop VMs;

2) switch from ploop-based containers to simfs ones.
In that case you have to specify in VM config (or VM template config)
VE_LAYOUT=simfs

3) reconfigure datastore to use ssh transfer driver instead of shared 
one (see info [3]).


Regards,
Nikolay.

[1] https://bugzilla.openvz.org/show_bug.cgi?id=2730
[2] https://bugzilla.openvz.org/show_bug.cgi?id=2734
[3] 
http://opennebula.org/documentation:rel4.2:system_ds#using_the_ssh_transfer_driver





Thanks Nikita,  please guide me.

Regards, Caty.

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


[one-users] How to use ceph filesystem

2013-12-01 Thread Mario Giammarco
Hello,
I am a newbie but I would like to try opennebula with ceph filesystem.

I start with default opennebula installation with three datastores: system,
default and files.

Now, even if they are configured as shared they are not an nfs mount,
simply directories on  the disk.

Now I have installed ceph, I have created a ceph rbd and datastore but then?

Should I delete existing repositories? How can I replace them with ceph?

Do I need to replace them?

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


Re: [one-users] reg oneflow - service template

2013-12-01 Thread Rajendar K
Hi Carlos,
  I have updated the files [oneflow-templates and service]
as per your instructions. Hereby specify the output of oneflow


root@:/srv/cloud/one# oneflow show 179
SERVICE 179
INFORMATION
ID  : 179
NAME: Sampletest
USER: root
GROUP   : oneadmin
STRATEGY: straight
SERVICE STATE   : RUNNING
SHUTDOWN: shutdown

PERMISSIONS

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

ROLE role1
ROLE STATE  : RUNNING
VM TEMPLATE : 590
CARNIDALITY : 3
MIN VMS : 1
MAX VMS : 3
COOLDOWN: 60s
SHUTDOWN: shutdown
NODES INFORMATION
 VM_ID NAMESTAT UCPUUMEM HOST
TIME
   568 role1_0_(service_179)   runn0   1024M 10.1.26.32 0d
01h24
   569 role1_1_(service_179)   runn0   1024M 10.1.26.31 0d
01h07
   570 role1_2_(service_179)   runn0   1024M 10.1.26.32 0d
00h51

ELASTICITY RULES

ADJUST   EXPRESSION   EVALS PERIOD
COOL
+ 1  CPU[0.0]  6030 /
3s   30s


LOG
MESSAGES
12/02/13 10:06 [I] New state: DEPLOYING
12/02/13 10:07 [I] New state: RUNNING
12/02/13 10:22 [I] Role role1 scaling up from 1 to 2 nodes
12/02/13 10:22 [I] New state: SCALING
12/02/13 10:23 [I] New state: COOLDOWN
12/02/13 10:23 [I] New state: RUNNING
12/02/13 10:38 [I] Role role1 scaling up from 2 to 3 nodes
12/02/13 10:38 [I] New state: SCALING
12/02/13 10:39 [I] New state: COOLDOWN
12/02/13 10:39 [I] New state: RUNNING

= Elasticty conditions

 min_vms: 1,
  max_vms: 3,
*  cooldown: 60, = At what period , this parameter is being
employed?   *
  elasticity_policies: [
{
  type: CHANGE,
  adjust: 1,
  expression: CPU  60,
  period: 3,
  period_number: 30,
  cooldown: 30
}
  ],
  scheduled_policies: [

  ]
}


kindly provide detail on how auto-scaling is happened in the above sample,
with relates to period_number , period and cooldown

with regards
Raj


Raj,

Believe Yourself...


On Sat, Nov 30, 2013 at 2:19 AM, Carlos Martín Sánchez 
cmar...@opennebula.org wrote:

 Hi,

 On Fri, Nov 29, 2013 at 5:19 AM, Rajendar K k.rajen...@gmail.com wrote:

 Hi All,
   I am using opennebula 4.2, i have the following queries
 related to auto scaling features

 (i) Even when conditions met, scaling up takes long time to trigger.
 For my trial,  I have used #periods 5   #period 30 cooldown 30

 - i can able to c the values 5/5 in the log,  and then it
 crosses 16/5 in course of time
 - Unable to trace down when it trigger actually.
 hope it should trigger when it reaches 5/5 ?


 This is a known bug, the period and period number inputs in sunstone are
 inverted [1].
 To solve it, execute:

 $ sudo wget
 http://dev.opennebula.org/projects/opennebula/repository/revisions/5c7b370f6be5f4f9167d508bdd31b580f05dafd4/raw/src/sunstone/public/js/plugins/oneflow-templates.js-O
  /usr/lib/one/sunstone/public/js/plugins/oneflow-templates.js

 $ sudo wget
 http://dev.opennebula.org/projects/opennebula/repository/revisions/970c34464a1d5a71f3a9dfdd3d77d62883400857/raw/src/sunstone/public/js/plugins/oneflow-services.js-O
  /usr/lib/one/sunstone/public/js/plugins/oneflow-services.js

 Or wait a few days and upgrade to OpenNebula 4.4 :)



 (ii) Scheduled policies
  - For my trial i have specified
  start time - 2013-11-29 10:30:30
   is my time format is correct? unable to scale up/down
 using this time format.


 Could you paste the output of oneflow show -j ?


 (ii) is it like AND conditions, if i specify both (i) and (ii)?. I have
 tried separately (i) and (ii) but still in-vain.


 No, they do not interfere with each other. Each condition (time, metrics
 expression) is evaluated independently.

 Regards

 [1] http://opennebula.org/documentation:rel4.2:known_issues
 --
 Carlos Martín, MSc
 Project Engineer
 OpenNebula - Flexible Enterprise Cloud Made Simple
 www.OpenNebula.org http://www.opennebula.org/ | cmar...@opennebula.org |
  @OpenNebula http://twitter.com/opennebula

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