Re: [one-users] Sneak peek of the upcoming 4.12 release: improved Virtual Data Centers

2015-01-27 Thread Amier Anis
Sir,

when 4.12 will be release?

On Fri, Jan 23, 2015 at 5:23 PM, Carlos Martín Sánchez 
cmar...@opennebula.org wrote:

 Dear community,

 You may find interesting the following post, where we describe the
 improvements we have been working on regarding the Virtual Data Centers. Now
 you have more flexibility to partition your cloud in any way you need,
 which is ideal for multi-tenant environments.

 http://opennebula.org/4-12-features-virtual-data-center-redesign/

 Best regards,
 Carlos

 --
 Carlos Martín, MSc
 Project Engineer
 OpenNebula - Flexible Enterprise Cloud Made Simple
 www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula
 http://twitter.com/opennebula cmar...@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] Ruby version

2014-11-19 Thread Amier Anis
thank you. it works.

On Thu, Nov 20, 2014 at 12:19 AM, Javier Fontan jfon...@opennebula.org
wrote:

 You can try using install_gems from the repository. It's for 4.10 so it
 will install more packages than needed but should do the trick.


 https://github.com/OpenNebula/one/blob/one-4.10/share/install_gems/install_gems


 On Sun Nov 16 2014 at 1:26:00 PM Amier Anis amirud...@skali.net wrote:

 how to resolve this issue in 4.8 stable version?


 On Fri, Jul 25, 2014 at 6:23 PM, Javier Fontan jfon...@opennebula.org
 wrote:

 That whould be the best way to go but there is not an easy path in
 CentOS 6. For the final version we will support CentOS 6 with stock
 ruby (1.8.7) but azure and softlayer hybrid drivers won't work in it.
 We have modified install_gems so it detects the ruby versions and does
 not try to install some gems. This change did not make to the beta.

 To be able to use install_gems in the beta you can execute it with this
 command:

 # ./install_gems quota sustone auth_ldap oneflow oca

 On Fri, Jul 25, 2014 at 11:53 AM, Giovanni Toraldo m...@gionn.net wrote:
  Hi,
 
  On Fri, Jul 25, 2014 at 9:27 AM, Anandharaj Subramaniam
  anandharaj.man...@mimos.my wrote:
  What is the recommended / minimum version for Ruby?
 
  You should upgrade to Ruby 1.9.3 as the warning are saying, Ruby 1.8.7
  is no more supported by upstream:
  https://www.ruby-lang.org/en/news/2013/06/30/we-retire-1-8-7/
 
  --
  Giovanni Toraldo
  http://gionn.net
  ___
  Users mailing list
  Users@lists.opennebula.org
  http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



 --
 Javier Fontán Muiños
 Developer
 OpenNebula - Flexible Enterprise Cloud Made Simple
 www.OpenNebula.org | @OpenNebula | github.com/jfontan
 ___
 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] gems instal

2014-11-16 Thread Amier Anis
thanks.

i installed this yum install centos-release-SCL .

However, do I need to disable 1.8.7 from base repo ? or still required by
opennnebule?

On Sun, Nov 16, 2014 at 3:36 AM, Carlos A. cara...@upv.es wrote:

 You should install ruby 1.9.3. The easier way is by using rvm, but in
 centos you can use a extra repository from redhat to install it. The
 repository is the best method

 El 15 de noviembre de 2014 19:10:17 CET, Amier Anis myma...@gmail.com
 escribió:

 Dear Team,

 Can someone advise on this matters?

 i have issue during install gem /usr/share/one/install_gems

 ERROR:  Error installing net-ldap:
 net-ldap requires Ruby version = 1.9.3.

 ERROR:  Error installing zendesk_api:
 mime-types requires Ruby version = 1.9.2.

 Error executing gem install --no-ri --no-rdoc zendesk_api sqlite3 sequel
 amazon-ec2 curb net-ldap builder trollop treetop parse-cron ox mysql

 how do i resolve this issue.

 On Fri, Nov 14, 2014 at 10:58 PM, Amier Anis myma...@gmail.com wrote:

 Dear List,

 Centos 6.5
 OpenNebula 4.10

 I have this issue during   /usr/share/one/install_gems sunstone

 gem install --no-ri --no-rdoc nokogiri --version  1.6.0
 Building native extensions.  This could take a while...
 Successfully installed nokogiri-1.5.11
 1 gem installed
 gem install --no-ri --no-rdoc zendesk_api
 ERROR:  Error installing zendesk_api:
 zendesk_api requires Ruby version = 1.9.0.
 Error executing gem install --no-ri --no-rdoc zendesk_api


 --

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


 --
 Sent from my Android device with K-9 Mail. Please excuse my brevity.

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


Re: [one-users] gems instal

2014-11-16 Thread Amier Anis
How do I actually resolve this issue once I do yum install ruby193 using
centos-release-SCL.

I still got this error ..

gem install --no-ri --no-rdoc zendesk_api net-ldap
 ERROR:  Error installing zendesk_api:
 mime-types requires Ruby version = 1.9.2.
 ERROR:  Error installing net-ldap:
 net-ldap requires Ruby version = 1.9.3.
 Error executing gem install --no-ri --no-rdoc zendesk_api net-ldap


Hope can provide the step.

Thanks you.

Regards  Best Wishes,


*.: Amier Anis :.*
Mobile: +6012-260-0819
--
IMPORTANT:
This e-mail (including any attachment hereto) is intended solely for the
addressee and is confidential and privileged. If this should have been sent
to you in error, you are not to reproduce, distribute or take any action in
reliance on it. Kindly notify us and delete the e-mail and all attachments
immediately.

As e-mail and/or attachments may contain viruses and other interfering or
damaging elements, the receipt and/or downloading of e-mail and/or
attachments will be at your own risk and we accept no liability for any
damage sustained as a result of any such viruses; you should carry out your
own virus checks before opening any attachment.

On Sun, Nov 16, 2014 at 7:55 PM, Amier Anis myma...@gmail.com wrote:

 thanks.

 i installed this yum install centos-release-SCL .

 However, do I need to disable 1.8.7 from base repo ? or still required by
 opennnebule?

 On Sun, Nov 16, 2014 at 3:36 AM, Carlos A. cara...@upv.es wrote:

 You should install ruby 1.9.3. The easier way is by using rvm, but in
 centos you can use a extra repository from redhat to install it. The
 repository is the best method

 El 15 de noviembre de 2014 19:10:17 CET, Amier Anis myma...@gmail.com
 escribió:

 Dear Team,

 Can someone advise on this matters?

 i have issue during install gem /usr/share/one/install_gems

 ERROR:  Error installing net-ldap:
 net-ldap requires Ruby version = 1.9.3.

 ERROR:  Error installing zendesk_api:
 mime-types requires Ruby version = 1.9.2.

 Error executing gem install --no-ri --no-rdoc zendesk_api sqlite3 sequel
 amazon-ec2 curb net-ldap builder trollop treetop parse-cron ox mysql

 how do i resolve this issue.

 On Fri, Nov 14, 2014 at 10:58 PM, Amier Anis myma...@gmail.com wrote:

 Dear List,

 Centos 6.5
 OpenNebula 4.10

 I have this issue during   /usr/share/one/install_gems sunstone

 gem install --no-ri --no-rdoc nokogiri --version  1.6.0
 Building native extensions.  This could take a while...
 Successfully installed nokogiri-1.5.11
 1 gem installed
 gem install --no-ri --no-rdoc zendesk_api
 ERROR:  Error installing zendesk_api:
 zendesk_api requires Ruby version = 1.9.0.
 Error executing gem install --no-ri --no-rdoc zendesk_api


 --

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


 --
 Sent from my Android device with K-9 Mail. Please excuse my brevity.



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


Re: [one-users] Ruby version

2014-11-16 Thread Amier Anis
how to resolve this issue in 4.8 stable version?



On Fri, Jul 25, 2014 at 6:23 PM, Javier Fontan jfon...@opennebula.org
wrote:

 That whould be the best way to go but there is not an easy path in
 CentOS 6. For the final version we will support CentOS 6 with stock
 ruby (1.8.7) but azure and softlayer hybrid drivers won't work in it.
 We have modified install_gems so it detects the ruby versions and does
 not try to install some gems. This change did not make to the beta.

 To be able to use install_gems in the beta you can execute it with this
 command:

 # ./install_gems quota sustone auth_ldap oneflow oca

 On Fri, Jul 25, 2014 at 11:53 AM, Giovanni Toraldo m...@gionn.net wrote:
  Hi,
 
  On Fri, Jul 25, 2014 at 9:27 AM, Anandharaj Subramaniam
  anandharaj.man...@mimos.my wrote:
  What is the recommended / minimum version for Ruby?
 
  You should upgrade to Ruby 1.9.3 as the warning are saying, Ruby 1.8.7
  is no more supported by upstream:
  https://www.ruby-lang.org/en/news/2013/06/30/we-retire-1-8-7/
 
  --
  Giovanni Toraldo
  http://gionn.net
  ___
  Users mailing list
  Users@lists.opennebula.org
  http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



 --
 Javier Fontán Muiños
 Developer
 OpenNebula - Flexible Enterprise Cloud Made Simple
 www.OpenNebula.org | @OpenNebula | github.com/jfontan
 ___
 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] Ports OpenNebula

2014-11-16 Thread Amier Anis
I can't remember where I got this list but now I have this list in my
firewall
Still figure out some port that not working such as live migration

# OpenNebula
-A INPUT -m state --state NEW -m tcp -p tcp --dport 2049 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 2633 -j ACCEPT
-A INPUT -m state --state NEW -m udp -p udp --dport 2633 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 6121 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 9869 -j ACCEPT
# GlusterFS Storage Server
-A INPUT -m state --state NEW -m tcp -p tcp --dport 111 -j ACCEPT
-A INPUT -m state --state NEW -m udp -p udp --dport 111 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 1000:1999 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 24007:24047 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 49152:49252 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 32769 -j ACCEPT
-A INPUT -m state --state NEW -m udp -p udp --dport 32769 -j ACCEPT
# noVNC
-A INPUT -m state --state NEW -m tcp -p tcp --dport 29876 -j ACCEPT
-A INPUT -m state --state NEW -m udp -p udp --dport 29876 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 35776:46776 -j ACCEPT
-A INPUT -m state --state NEW -m udp -p udp --dport 35776:46776 -j ACCEPT
-A INPUT -m state --state NEW -m udp -p udp --dport 59000:5 -j ACCEPT


Thanks you.

Regards  Best Wishes,


*.: Amier Anis :.*
Mobile: +6012-260-0819
--
IMPORTANT:
This e-mail (including any attachment hereto) is intended solely for the
addressee and is confidential and privileged. If this should have been sent
to you in error, you are not to reproduce, distribute or take any action in
reliance on it. Kindly notify us and delete the e-mail and all attachments
immediately.

As e-mail and/or attachments may contain viruses and other interfering or
damaging elements, the receipt and/or downloading of e-mail and/or
attachments will be at your own risk and we accept no liability for any
damage sustained as a result of any such viruses; you should carry out your
own virus checks before opening any attachment.

On Thu, Nov 13, 2014 at 11:56 PM, Carlos Martín Sánchez 
cmar...@opennebula.org wrote:

 Hi,

 On Wed, Nov 12, 2014 at 11:16 AM, Maria Jular maria.ju...@fcsc.es wrote:

 Hello everyone,

 Is there an OpenNebula document where all necessary ports to access the
 platform from remote sites appear?


 We don't have a document specifically for that, but you can find all the
 needed ports in the conf files.

 For sunstone [1], you will need to open :port and :vnc_proxy_port. By
 default, 9869 and 29876.

 If you also need to access oned, to use the CLI remotely, the port is in
 oned.conf [2]. OneFlow is a separate server, and you need to open its port
 [3] also to use the CLI remotely.

 Regards

 [1]
 http://docs.opennebula.org/4.10/administration/sunstone_gui/sunstone.html#configuration
 [2]
 http://docs.opennebula.org/4.10/administration/references/oned_conf.html
 [3]
 http://docs.opennebula.org/4.10/advanced_administration/application_flow_and_auto-scaling/appflow_configure.html
 --
 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


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


Re: [one-users] gems instal

2014-11-15 Thread Amier Anis
Dear Team,

Can someone advise on this matters?

i have issue during install gem /usr/share/one/install_gems

ERROR:  Error installing net-ldap:
net-ldap requires Ruby version = 1.9.3.

ERROR:  Error installing zendesk_api:
mime-types requires Ruby version = 1.9.2.

Error executing gem install --no-ri --no-rdoc zendesk_api sqlite3 sequel
amazon-ec2 curb net-ldap builder trollop treetop parse-cron ox mysql

how do i resolve this issue.

On Fri, Nov 14, 2014 at 10:58 PM, Amier Anis myma...@gmail.com wrote:

 Dear List,

 Centos 6.5
 OpenNebula 4.10

 I have this issue during   /usr/share/one/install_gems sunstone

 gem install --no-ri --no-rdoc nokogiri --version  1.6.0
 Building native extensions.  This could take a while...
 Successfully installed nokogiri-1.5.11
 1 gem installed
 gem install --no-ri --no-rdoc zendesk_api
 ERROR:  Error installing zendesk_api:
 zendesk_api requires Ruby version = 1.9.0.
 Error executing gem install --no-ri --no-rdoc zendesk_api


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


[one-users] existing vmware (free edition) image to kvm image

2014-10-09 Thread Amier Anis
Dear Team,

I need some advise how do i cater this. We have plan to migrate all vmware
vm to kvm vm as our opennebula implementation using kvm.

I would like to know how the best i can move this vmware to kvm.

I my mind, I make the converting from vmware to qcow2 image and then upload
via sunstone as image and run as persistent. Is that the correct way.

estimate each size of vmware image are 50-150GB per vm.

Thanks you.

Regards  Best Wishes,


*.: Amier Anis :.*
Mobile: +6012-260-0819
--
IMPORTANT:
This e-mail (including any attachment hereto) is intended solely for the
addressee and is confidential and privileged. If this should have been sent
to you in error, you are not to reproduce, distribute or take any action in
reliance on it. Kindly notify us and delete the e-mail and all attachments
immediately.

As e-mail and/or attachments may contain viruses and other interfering or
damaging elements, the receipt and/or downloading of e-mail and/or
attachments will be at your own risk and we accept no liability for any
damage sustained as a result of any such viruses; you should carry out your
own virus checks before opening any attachment.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Live migration fail

2014-10-06 Thread Amier Anis
thanks. it works.


On Fri, Oct 3, 2014 at 8:14 PM, Campbell, Bill 
bcampb...@axcess-financial.com wrote:

 Amier,
 Yes, each KVM node will need to be able to authenticate with each other
 directly, so you'll need to do one of the following:

- Create a key on each node and ssh-copy-id to each kvm node
- Use the same key/pair that is used to communicate from OpenNebula to
the nodes between nodes (i.e. copy the /var/lib/one/.ssh directory to each
node).

 We use the second one and it works well, but either should work.

 --
 *From: *Amier Anis myma...@gmail.com
 *To: *users@lists.opennebula.org
 *Sent: *Thursday, October 2, 2014 10:24:46 PM
 *Subject: *[one-users] Live migration fail


 Dear Team,

 I can't do live migration the error is this

 Fri Oct 3 10:20:32 2014 [Z0][LCM][I]: New VM state is MIGRATE
 Fri Oct 3 10:20:33 2014 [Z0][VMM][I]: Successfully execute transfer
 manager driver operation: tm_premigrate.
 Fri Oct 3 10:20:33 2014 [Z0][VMM][I]: ExitCode: 0
 Fri Oct 3 10:20:33 2014 [Z0][VMM][I]: Successfully execute network driver
 operation: pre.
 Fri Oct 3 10:20:33 2014 [Z0][VMM][I]: Command execution fail:
 /var/tmp/one/vmm/kvm/migrate 'one-6' 'ds12.myserver.lan'
 'ds13.myserver.lan' 6 ds13.myserver.lan
 Fri Oct 3 10:20:33 2014 [Z0][VMM][E]: migrate: Command virsh --connect
 qemu:///system migrate --live one-6 qemu+ssh://ds12/system failed: error:
 Cannot recv data: Warning: Permanently added 
 'ds12.cloud.skali.net,172.20.11.12'
 (RSA) to the list of known hosts.
 Fri Oct 3 10:20:33 2014 [Z0][VMM][I]: Permission denied, please try again.
 Fri Oct 3 10:20:33 2014 [Z0][VMM][I]: Permission denied, please try again.
 Fri Oct 3 10:20:33 2014 [Z0][VMM][I]: Permission denied
 (publickey,gssapi-keyex,gssapi-with-mic,password).: Connection reset by peer
 Fri Oct 3 10:20:33 2014 [Z0][VMM][E]: Could not migrate one-6 to
 ds12.cloud.skali.net
 Fri Oct 3 10:20:33 2014 [Z0][VMM][I]: ExitCode: 1
 Fri Oct 3 10:20:33 2014 [Z0][VMM][I]: Failed to execute virtualization
 driver operation: migrate.
 Fri Oct 3 10:20:33 2014 [Z0][VMM][E]: Error live migrating VM: Could not
 migrate one-6 to ds12.cloud.skali.net
 Fri Oct 3 10:20:33 2014 [Z0][LCM][I]: Fail to live migrate VM. Assuming
 that the VM is still RUNNING (will poll VM).


 ​Do I need to do ssh-key to each other for each worker node? I have no
 issue to deploy vm from my frontend to each of the worker node.

 I also have make it all the node into the cluster with same datastore. but
 still doesn work. same error log.
 ​

 Thanks you.

 Regards  Best Wishes,


 *.: Amier Anis :.*
 Mobile: +6012-260-0819
 --
 IMPORTANT:
 This e-mail (including any attachment hereto) is intended solely for the
 addressee and is confidential and privileged. If this should have been sent
 to you in error, you are not to reproduce, distribute or take any action in
 reliance on it. Kindly notify us and delete the e-mail and all attachments
 immediately.

 As e-mail and/or attachments may contain viruses and other interfering or
 damaging elements, the receipt and/or downloading of e-mail and/or
 attachments will be at your own risk and we accept no liability for any
 damage sustained as a result of any such viruses; you should carry out your
 own virus checks before opening any attachment.

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


 *NOTICE: Protect the information in this message in accordance with the
 company's security policies. If you received this message in error,
 immediately notify the sender and destroy all copies.*


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


[one-users] Live migration fail

2014-10-02 Thread Amier Anis
Dear Team,

I can't do live migration the error is this

Fri Oct 3 10:20:32 2014 [Z0][LCM][I]: New VM state is MIGRATE
Fri Oct 3 10:20:33 2014 [Z0][VMM][I]: Successfully execute transfer manager
driver operation: tm_premigrate.
Fri Oct 3 10:20:33 2014 [Z0][VMM][I]: ExitCode: 0
Fri Oct 3 10:20:33 2014 [Z0][VMM][I]: Successfully execute network driver
operation: pre.
Fri Oct 3 10:20:33 2014 [Z0][VMM][I]: Command execution fail:
/var/tmp/one/vmm/kvm/migrate 'one-6' 'ds12.myserver.lan'
'ds13.myserver.lan' 6 ds13.myserver.lan
Fri Oct 3 10:20:33 2014 [Z0][VMM][E]: migrate: Command virsh --connect
qemu:///system migrate --live one-6 qemu+ssh://ds12/system failed: error:
Cannot recv data: Warning: Permanently added
'ds12.cloud.skali.net,172.20.11.12'
(RSA) to the list of known hosts.
Fri Oct 3 10:20:33 2014 [Z0][VMM][I]: Permission denied, please try again.
Fri Oct 3 10:20:33 2014 [Z0][VMM][I]: Permission denied, please try again.
Fri Oct 3 10:20:33 2014 [Z0][VMM][I]: Permission denied
(publickey,gssapi-keyex,gssapi-with-mic,password).: Connection reset by peer
Fri Oct 3 10:20:33 2014 [Z0][VMM][E]: Could not migrate one-6 to
ds12.cloud.skali.net
Fri Oct 3 10:20:33 2014 [Z0][VMM][I]: ExitCode: 1
Fri Oct 3 10:20:33 2014 [Z0][VMM][I]: Failed to execute virtualization
driver operation: migrate.
Fri Oct 3 10:20:33 2014 [Z0][VMM][E]: Error live migrating VM: Could not
migrate one-6 to ds12.cloud.skali.net
Fri Oct 3 10:20:33 2014 [Z0][LCM][I]: Fail to live migrate VM. Assuming
that the VM is still RUNNING (will poll VM).


​Do I need to do ssh-key to each other for each worker node? I have no
issue to deploy vm from my frontend to each of the worker node.

I also have make it all the node into the cluster with same datastore. but
still doesn work. same error log.
​

Thanks you.

Regards  Best Wishes,


*.: Amier Anis :.*
Mobile: +6012-260-0819
--
IMPORTANT:
This e-mail (including any attachment hereto) is intended solely for the
addressee and is confidential and privileged. If this should have been sent
to you in error, you are not to reproduce, distribute or take any action in
reliance on it. Kindly notify us and delete the e-mail and all attachments
immediately.

As e-mail and/or attachments may contain viruses and other interfering or
damaging elements, the receipt and/or downloading of e-mail and/or
attachments will be at your own risk and we accept no liability for any
damage sustained as a result of any such viruses; you should carry out your
own virus checks before opening any attachment.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Addtional Disk

2014-10-01 Thread Amier Anis
thanks a lot

On Wed, Oct 1, 2014 at 5:45 PM, Javier Fontan jfon...@opennebula.org
wrote:

 There are two ways to do it:

 * Create a new datablock image and select empty datablock. There you
 can set the size and fstype. After that attach the new image to the
 VM.
 * In the template creation add a volatile disk. This will be created
 in VM creation but you wont be able to save the image afterwards. This
 is useful for swap and scratch disks you don't want to save when the
 VM is deleted.

 In both cases the context packages don't mount those disks for you.
 You have to manually mount them or add a init script that does that
 for you.

 On Sat, Sep 27, 2014 at 9:57 AM, Amier Anis myma...@gmail.com wrote:
  Dear Team,
 
  How do i define the mapping the additional disk to /mnt/data or
  /var/lib/mysql during bootup the vm. consider i already install vm
 context
  in my images. hope somebody can advise further to achieve this.
 
  In template, storage tab what is the means these and what is sample value
  should i put
 
  Target =
  Format =
  Device Prefix =
 
  For driver, I'm using qcow image and during upload the image i already
  define driver for qcow2, do in template should i re-define it again?
 
  sorry little bit confusing.
 
  Thanks you.
 
  Regards  Best Wishes,
 
 
  .: Amier Anis :.
  Mobile: +6012-260-0819
 
  
  IMPORTANT:
  This e-mail (including any attachment hereto) is intended solely for the
  addressee and is confidential and privileged. If this should have been
 sent
  to you in error, you are not to reproduce, distribute or take any action
 in
  reliance on it. Kindly notify us and delete the e-mail and all
 attachments
  immediately.
 
  As e-mail and/or attachments may contain viruses and other interfering or
  damaging elements, the receipt and/or downloading of e-mail and/or
  attachments will be at your own risk and we accept no liability for any
  damage sustained as a result of any such viruses; you should carry out
 your
  own virus checks before opening any attachment.
 
  ___
  Users mailing list
  Users@lists.opennebula.org
  http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
 



 --
 Javier Fontán Muiños
 Developer
 OpenNebula - Flexible Enterprise Cloud Made Simple
 www.OpenNebula.org | @OpenNebula | github.com/jfontan

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


[one-users] Addtional Disk

2014-09-27 Thread Amier Anis
Dear Team,

How do i define the mapping the additional disk to /mnt/data or
/var/lib/mysql during bootup the vm. consider i already install vm context
in my images. hope somebody can advise further to achieve this.

In template, storage tab what is the means these and what is sample value
should i put

   - Target =
   - Format =
   - Device Prefix =

​For driver, I'm using qcow image and during upload the image i already
define driver for qcow2, do in template should i re-define it again?​

​sorry little bit confusing.​

Thanks you.

Regards  Best Wishes,


*.: Amier Anis :.*
Mobile: +6012-260-0819
--
IMPORTANT:
This e-mail (including any attachment hereto) is intended solely for the
addressee and is confidential and privileged. If this should have been sent
to you in error, you are not to reproduce, distribute or take any action in
reliance on it. Kindly notify us and delete the e-mail and all attachments
immediately.

As e-mail and/or attachments may contain viruses and other interfering or
damaging elements, the receipt and/or downloading of e-mail and/or
attachments will be at your own risk and we accept no liability for any
damage sustained as a result of any such viruses; you should carry out your
own virus checks before opening any attachment.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Sunstone problem

2014-09-27 Thread Amier Anis
*Dear Suleman,*

please check sunstone configuration

you run this at your linux console
# sed -i 's/127.0.0.1/0.0.0.0/' /etc/one/sunstone-server.conf

please ensure your iptables not blocking that 9869 port.

.

Regards  Best Wishes,


*.: Amier Anis :.*
Mobile: +6012-260-0819
On Wed, Sep 24, 2014 at 5:32 PM, WHA130036 Student sule...@siswa.um.edu.my
wrote:

 Dear Javier Fontan

 I have down Virtualbox Sandbox under the tab try-out on opennebula.org 
 website.
 Now as per instruction on the website, when i am opening sunstone in
 browser such as http://:9869;, it is not connecting. while i execute all
 commands in CLI such as onevnet, onehost list, onecluster list. etc.

 Please help me for the aforementioned problem.

 Thanks  regards



 ___
 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] ONE 4.8 + Gluster-3.4.5 on Centos 6.5 -- VMs stuck in BOOT

2014-09-26 Thread Amier Anis
*Dear Marco, *

Try this guide which i also get some clarification from Javier. I have try
and it work better.
Somehow, how you physical environment and network setup will give impact to
the performance.

I assume you fresh install and want to share system datastores 0 and
images datastore 1. If you need add additional both system for cluster
them just creat an empty template  Datastore - fill in name - select
datastore type either images or system - click save

--- Begin --

1. Please ensure turn-off iptables to all nodes to ensure it works.
2. You share gluster and cluster node. but will slow down if you dont have
dedicated network card to it.

-
Gluster Storage - (standalone)
-

# wget -P /etc/yum.repos.d
http://download.gluster.org/pub/gluster/glusterfs/LATEST/CentOS/glusterfs-epel.repo
# yum -y install glusterfs glusterfs-fuse glusterfs-server
# chkconfig glusterd on

# vi /etc/glusterfs/glusterd.vol

volume management
  option rpc-auth-allow-insecure on
  option bind-address 172.20.11.11  - change to your gluster storage
ip address
end-volume

# service glusterd start

We create glusterfs mount folder. Pls ensure the userid and groupid exist
in the gluster storage
# mkdir -p /mnt/ds0/datastores0
# chown oneadmin:oneadmin /mnt/ds0/datastores0
# chmod 775 /mnt/ds0/datastores0

# gluster volume create datastores0 172.20.11.11:/mnt/ds0/datastores0
# gluster volume start datastores0
# gluster volume set datastores0 server.allow-insecure on
# gluster volume set datastores0 storage.owner-uid 9869
# gluster volume set datastores0 storage.owner-gid 9869
# gluster volume set datastores0 auth.allow 172.20.* 
change to you ip subnet

# gluster volume info

--
Front Node
--

# wget -P /etc/yum.repos.d
http://download.gluster.org/pub/gluster/glusterfs/LATEST/CentOS/glusterfs-epel.repo
# yum -y install glusterfs glusterfs-fuse

# su - oneadmin
$ cd datastores
$ rm -rf /var/lib/one/datastores/1
$ rm -rf /var/lib/one/datastores/2

$ ln -s /var/lib/one/datastores/0 /var/lib/one/datastores/1
$ ln -s /var/lib/one/datastores/0 /var/lib/one/datastores/2

Put permanent setting during boot
# vi /etc/fstab
172.20.11.11:/datastores0 /var/lib/one/datastores/0 glusterfs
defaults,_netdev 0 0

# mount -a
# df -h

hope no error.

Go sunstone n refresh datastore page. makesure you already add your first
cluster node.

in front end should mount all gluster datastores

--
Cluster Node
--
# wget -P /etc/yum.repos.d
http://download.gluster.org/pub/gluster/glusterfs/LATEST/CentOS/glusterfs-epel.repo
# yum -y install glusterfs glusterfs-fuse

# su - oneadmin

We create default folder
$ mkdir -p /var/lib/one/datastores/0
$ ln -s /var/lib/one/datastores/0 /var/lib/one/datastores/1
$ ln -s /var/lib/one/datastores/0 /var/lib/one/datastores/2

$ exit

NOTE: Next two line if you create additional datastores as i mention
earlier. We only create system and images datastores in cluster node
$ mkdir -p /var/lib/one/datastores/100
$ ln -s /var/lib/one/datastores/100 /var/lib/one/datastores/101

$ exit

Put permanent setting during boot and point to system datastore. image just
a symlink.
# vi /etc/fstab
172.20.11.11:/datastores0 /var/lib/one/datastores/0 glusterfs
defaults,_netdev 0 0

# mount -a
# df -h

--- end --

hope this will help you.

Regards  Best Wishes,


*.: Amier Anis :.*
Mobile: +6012-260-0819

On Wed, Sep 10, 2014 at 6:09 PM, Marco Aroldi marco.aro...@gmail.com
wrote:

 Hi, thanks for the answer.

 The hypervisor hosts can telnet both clu100 and clu001 on port 24007

 I'm sorry, I'm a OpenNebual newbie, so it's not clear to me where to
 put the DISK_TYPE=GLUSTER option
 So I've tired to put the option first in the image attributes, then in
 the template custom tags, but nothing has changed
 I don't get any message related to Gluster in logs

 I'm scratching my head.
 Any help is very appreciated. Thanks!

 Wed Sep 10 11:49:22 2014 [Z0][DiM][I]: New VM state is ACTIVE.
 Wed Sep 10 11:49:22 2014 [Z0][LCM][I]: New VM state is PROLOG.
 Wed Sep 10 11:49:46 2014 [Z0][LCM][I]: New VM state is BOOT
 Wed Sep 10 11:49:46 2014 [Z0][VMM][I]: Generating deployment file:
 /var/lib/one/vms/53/deployment.0
 Wed Sep 10 11:49:47 2014 [Z0][VMM][I]: ExitCode: 0
 Wed Sep 10 11:49:47 2014 [Z0][VMM][I]: Successfully execute network
 driver operation: pre.

 The deployment file:

 domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0
 '
 nameone-53/name
 cputune
 shares1024/shares
 /cputune
 memory786432/memory
 os
 type arch='x86_64'hvm/type
 boot dev='hd'/
 /os
 devices
 emulator/usr/libexec/qemu-kvm/emulator
 disk type='network' device='disk'
 source protocol='gluster'
 name='sys-one/53/disk.0

Re: [one-users] Datastore and Gluster + Cluster

2014-09-26 Thread Amier Anis
dear Javier,

based on you explanation previously can i use an image from single images
datastore to the clusters?
​So i just create new system datastore to each cluster node. and share 1
image datastore to every cluster node.​

Thanks you.

Regards  Best Wishes,


*.: Amier Anis :.*
Mobile: +6012-260-0819
--
IMPORTANT:
This e-mail (including any attachment hereto) is intended solely for the
addressee and is confidential and privileged. If this should have been sent
to you in error, you are not to reproduce, distribute or take any action in
reliance on it. Kindly notify us and delete the e-mail and all attachments
immediately.

As e-mail and/or attachments may contain viruses and other interfering or
damaging elements, the receipt and/or downloading of e-mail and/or
attachments will be at your own risk and we accept no liability for any
damage sustained as a result of any such viruses; you should carry out your
own virus checks before opening any attachment.

On Thu, Sep 25, 2014 at 3:59 PM, Amier Anis myma...@gmail.com wrote:

 thanks javier. you save my world .. really appreciate it.


 On Wed, Sep 24, 2014 at 5:00 PM, Javier Fontan jfon...@opennebula.org
 wrote:

 The cluster endpoint is only needed in the datastore template.
 Sunstone does not need to know anything about it

 On Tue, Sep 23, 2014 at 9:44 PM, Amier Anis myma...@gmail.com wrote:
  thanks javier. i'm really appreciate it. i did almost same configuration
  without using this guide. where by
  i just do normal mount via fstab and create empty system and images in
 the
  sunstone.
 
  it works.
 
  by the way is that correct way or i still need to ensure the details of
  gluster must be in the sunstone setting?
  my first attempt did not work that time.
 
 
  On Tue, Sep 23, 2014 at 11:55 PM, Javier Fontan jfon...@opennebula.org
 
  wrote:
 
  GlusterFS is a bit different to the other shared storage as it needs
  to see the same files in both the system and images datastores. It
  needs both.
 
  Cluster 0
  Mount gluster_vol_0 in /storage
  Link /storage - /var/lib/one/datastores/100 (system)
  Link /storage - /var/lib/one/datastores/101 (images)
 
  Cluster 1
  Mount gluster_vol_1 in /storage
  Link /storage - /var/lib/one/datastores/102 (system)
  Link /storage - /var/lib/one/datastores/103 (images)
 
  Cluster 2
  Mount gluster_vol_2 in /storage
  Link /storage - /var/lib/one/datastores/104 (system)
  Link /storage - /var/lib/one/datastores/105 (images)
 
  Frontend
  Mount gluster_vol_0 in /storage/0
  Mount gluster_vol_0 in /storage/1
  Mount gluster_vol_0 in /storage/2
  Link /storage/0 - /var/lib/one/datastores/100 (system)
  Link /storage/0 - /var/lib/one/datastores/101 (images)
  Link /storage/1 - /var/lib/one/datastores/102 (system)
  Link /storage/1 - /var/lib/one/datastores/103 (images)
  Link /storage/2 - /var/lib/one/datastores/104 (system)
  Link /storage/2- /var/lib/one/datastores/105 (images)
 
  On Sat, Sep 20, 2014 at 7:28 PM, Amier Anis myma...@gmail.com wrote:
   Dear Team,
  
   I would like to know little bit more about system datastore + gluster
   and
   cluster.
  
   node 0 - FrontEnd
   node 1 - Hypervisor 1
   node 2 - Hypervisor 2
  
   Cluster 1
   node 3 Hypervisor 3
   node 4 Hypervisor 4
  
   Cluster 2
   node 5 Hypervisor 5
   node 6 Hypervisor 6
  
   GlusterFS Storage 1 - mount to frontend to datastore 0
   GlusterFS Storage 2 - mount to frontend to datastore 100 - for
 Cluster 1
   GlusterFS Storage 3 - mount to frontend to datastore 101 - for
 Cluster 2
  
   I believe that all glusterfs storage need to mount to Frontend and
   hypervisor node.
  
   my question is
  
   Should I mount datastore 0 to all hypervisor node even it is
 clusters?
   or
   Do i only mount for each datastore to each clusters. let say
 GlusterFS
   Storage 1 for non-cluster node, glusterfs 2 for cluster 2 and etc.
   In cluster 1, I only mount glusterfs 2 and set it as system datastore
   and
   image datastore. no datastore 0,1,2 in cluster 2.
  
   Which is the proper one?
   How do I set glusterfs as system and image datastore in opennebula. I
   only
   can set images datastore.
  
   Thanks in advance your kind help.
  
   Thanks you.
  
   Regards  Best Wishes,
  
  
   .: Amier Anis :.
   Mobile: +6012-260-0819
  
   
   IMPORTANT:
   This e-mail (including any attachment hereto) is intended solely for
 the
   addressee and is confidential and privileged. If this should have
 been
   sent
   to you in error, you are not to reproduce, distribute or take any
 action
   in
   reliance on it. Kindly notify us and delete the e-mail and all
   attachments
   immediately.
  
   As e-mail and/or attachments may contain viruses and other
 interfering
   or
   damaging elements, the receipt and/or downloading of e-mail and/or
   attachments will be at your own risk and we accept no liability for
 any
   damage sustained as a result of any such viruses; you should carry

Re: [one-users] dns in template contextual

2014-09-26 Thread Amier Anis
ok thanks robert.


On Fri, Sep 26, 2014 at 10:22 PM, Robert Tanase robert.tan...@appnor.com
wrote:

 Hello Amier,

 If you are using contextualization part, then on predefined VNET for
 attribute DNS is ok to specify multiple DNS addresses separated with space
 like.
 DNS8.8.8.8 8.8.4.4
 in template :
 ETH0_DNS$NETWORK[DNS, *vnet_name*/ETH0_DNS


 Regards,
 Robert Tanase


 On Fri, Sep 26, 2014 at 5:07 PM, Amier Anis myma...@gmail.com wrote:

 dear sir,

 how do i add more then 1 dns info in the template?
 do contextual support?

 Thanks you.

 Regards  Best Wishes,


 *.: Amier Anis :.*
 Mobile: +6012-260-0819

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




 --





 *Best regards,Robert TANASESoftware Developer - Appnor MSP S.A.US: (+1)
 650 336 57 50RO: (+4) 021 569 46 56http://www.appnor.com
 http://www.appnor.com/*

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


Re: [one-users] Datastore and Gluster + Cluster

2014-09-25 Thread Amier Anis
thanks javier. you save my world .. really appreciate it.


On Wed, Sep 24, 2014 at 5:00 PM, Javier Fontan jfon...@opennebula.org
wrote:

 The cluster endpoint is only needed in the datastore template.
 Sunstone does not need to know anything about it

 On Tue, Sep 23, 2014 at 9:44 PM, Amier Anis myma...@gmail.com wrote:
  thanks javier. i'm really appreciate it. i did almost same configuration
  without using this guide. where by
  i just do normal mount via fstab and create empty system and images in
 the
  sunstone.
 
  it works.
 
  by the way is that correct way or i still need to ensure the details of
  gluster must be in the sunstone setting?
  my first attempt did not work that time.
 
 
  On Tue, Sep 23, 2014 at 11:55 PM, Javier Fontan jfon...@opennebula.org
  wrote:
 
  GlusterFS is a bit different to the other shared storage as it needs
  to see the same files in both the system and images datastores. It
  needs both.
 
  Cluster 0
  Mount gluster_vol_0 in /storage
  Link /storage - /var/lib/one/datastores/100 (system)
  Link /storage - /var/lib/one/datastores/101 (images)
 
  Cluster 1
  Mount gluster_vol_1 in /storage
  Link /storage - /var/lib/one/datastores/102 (system)
  Link /storage - /var/lib/one/datastores/103 (images)
 
  Cluster 2
  Mount gluster_vol_2 in /storage
  Link /storage - /var/lib/one/datastores/104 (system)
  Link /storage - /var/lib/one/datastores/105 (images)
 
  Frontend
  Mount gluster_vol_0 in /storage/0
  Mount gluster_vol_0 in /storage/1
  Mount gluster_vol_0 in /storage/2
  Link /storage/0 - /var/lib/one/datastores/100 (system)
  Link /storage/0 - /var/lib/one/datastores/101 (images)
  Link /storage/1 - /var/lib/one/datastores/102 (system)
  Link /storage/1 - /var/lib/one/datastores/103 (images)
  Link /storage/2 - /var/lib/one/datastores/104 (system)
  Link /storage/2- /var/lib/one/datastores/105 (images)
 
  On Sat, Sep 20, 2014 at 7:28 PM, Amier Anis myma...@gmail.com wrote:
   Dear Team,
  
   I would like to know little bit more about system datastore + gluster
   and
   cluster.
  
   node 0 - FrontEnd
   node 1 - Hypervisor 1
   node 2 - Hypervisor 2
  
   Cluster 1
   node 3 Hypervisor 3
   node 4 Hypervisor 4
  
   Cluster 2
   node 5 Hypervisor 5
   node 6 Hypervisor 6
  
   GlusterFS Storage 1 - mount to frontend to datastore 0
   GlusterFS Storage 2 - mount to frontend to datastore 100 - for
 Cluster 1
   GlusterFS Storage 3 - mount to frontend to datastore 101 - for
 Cluster 2
  
   I believe that all glusterfs storage need to mount to Frontend and
   hypervisor node.
  
   my question is
  
   Should I mount datastore 0 to all hypervisor node even it is clusters?
   or
   Do i only mount for each datastore to each clusters. let say GlusterFS
   Storage 1 for non-cluster node, glusterfs 2 for cluster 2 and etc.
   In cluster 1, I only mount glusterfs 2 and set it as system datastore
   and
   image datastore. no datastore 0,1,2 in cluster 2.
  
   Which is the proper one?
   How do I set glusterfs as system and image datastore in opennebula. I
   only
   can set images datastore.
  
   Thanks in advance your kind help.
  
   Thanks you.
  
   Regards  Best Wishes,
  
  
   .: Amier Anis :.
   Mobile: +6012-260-0819
  
   
   IMPORTANT:
   This e-mail (including any attachment hereto) is intended solely for
 the
   addressee and is confidential and privileged. If this should have been
   sent
   to you in error, you are not to reproduce, distribute or take any
 action
   in
   reliance on it. Kindly notify us and delete the e-mail and all
   attachments
   immediately.
  
   As e-mail and/or attachments may contain viruses and other interfering
   or
   damaging elements, the receipt and/or downloading of e-mail and/or
   attachments will be at your own risk and we accept no liability for
 any
   damage sustained as a result of any such viruses; you should carry out
   your
   own virus checks before opening any attachment.
  
   ___
   Users mailing list
   Users@lists.opennebula.org
   http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
  
 
 
 
  --
  Javier Fontán Muiños
  Developer
  OpenNebula - Flexible Enterprise Cloud Made Simple
  www.OpenNebula.org | @OpenNebula | github.com/jfontan
 
 



 --
 Javier Fontán Muiños
 Developer
 OpenNebula - Flexible Enterprise Cloud Made Simple
 www.OpenNebula.org | @OpenNebula | github.com/jfontan

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


Re: [one-users] Datastore and Gluster + Cluster

2014-09-23 Thread Amier Anis
thanks javier. i'm really appreciate it. i did almost same configuration
without using this guide
http://docs.opennebula.org/4.8/administration/storage/gluster_ds.html.
where by
i just do normal mount via fstab and create empty system and images in the
sunstone.

it works.

by the way is that correct way or i still need to ensure the details of
gluster must be in the sunstone setting?
my first attempt did not work that time.


On Tue, Sep 23, 2014 at 11:55 PM, Javier Fontan jfon...@opennebula.org
wrote:

 GlusterFS is a bit different to the other shared storage as it needs
 to see the same files in both the system and images datastores. It
 needs both.

 Cluster 0
 Mount gluster_vol_0 in /storage
 Link /storage - /var/lib/one/datastores/100 (system)
 Link /storage - /var/lib/one/datastores/101 (images)

 Cluster 1
 Mount gluster_vol_1 in /storage
 Link /storage - /var/lib/one/datastores/102 (system)
 Link /storage - /var/lib/one/datastores/103 (images)

 Cluster 2
 Mount gluster_vol_2 in /storage
 Link /storage - /var/lib/one/datastores/104 (system)
 Link /storage - /var/lib/one/datastores/105 (images)

 Frontend
 Mount gluster_vol_0 in /storage/0
 Mount gluster_vol_0 in /storage/1
 Mount gluster_vol_0 in /storage/2
 Link /storage/0 - /var/lib/one/datastores/100 (system)
 Link /storage/0 - /var/lib/one/datastores/101 (images)
 Link /storage/1 - /var/lib/one/datastores/102 (system)
 Link /storage/1 - /var/lib/one/datastores/103 (images)
 Link /storage/2 - /var/lib/one/datastores/104 (system)
 Link /storage/2- /var/lib/one/datastores/105 (images)

 On Sat, Sep 20, 2014 at 7:28 PM, Amier Anis myma...@gmail.com wrote:
  Dear Team,
 
  I would like to know little bit more about system datastore + gluster and
  cluster.
 
  node 0 - FrontEnd
  node 1 - Hypervisor 1
  node 2 - Hypervisor 2
 
  Cluster 1
  node 3 Hypervisor 3
  node 4 Hypervisor 4
 
  Cluster 2
  node 5 Hypervisor 5
  node 6 Hypervisor 6
 
  GlusterFS Storage 1 - mount to frontend to datastore 0
  GlusterFS Storage 2 - mount to frontend to datastore 100 - for Cluster 1
  GlusterFS Storage 3 - mount to frontend to datastore 101 - for Cluster 2
 
  I believe that all glusterfs storage need to mount to Frontend and
  hypervisor node.
 
  my question is
 
  Should I mount datastore 0 to all hypervisor node even it is clusters? or
  Do i only mount for each datastore to each clusters. let say GlusterFS
  Storage 1 for non-cluster node, glusterfs 2 for cluster 2 and etc.
  In cluster 1, I only mount glusterfs 2 and set it as system datastore and
  image datastore. no datastore 0,1,2 in cluster 2.
 
  Which is the proper one?
  How do I set glusterfs as system and image datastore in opennebula. I
 only
  can set images datastore.
 
  Thanks in advance your kind help.
 
  Thanks you.
 
  Regards  Best Wishes,
 
 
  .: Amier Anis :.
  Mobile: +6012-260-0819
 
  
  IMPORTANT:
  This e-mail (including any attachment hereto) is intended solely for the
  addressee and is confidential and privileged. If this should have been
 sent
  to you in error, you are not to reproduce, distribute or take any action
 in
  reliance on it. Kindly notify us and delete the e-mail and all
 attachments
  immediately.
 
  As e-mail and/or attachments may contain viruses and other interfering or
  damaging elements, the receipt and/or downloading of e-mail and/or
  attachments will be at your own risk and we accept no liability for any
  damage sustained as a result of any such viruses; you should carry out
 your
  own virus checks before opening any attachment.
 
  ___
  Users mailing list
  Users@lists.opennebula.org
  http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
 



 --
 Javier Fontán Muiños
 Developer
 OpenNebula - Flexible Enterprise Cloud Made Simple
 www.OpenNebula.org | @OpenNebula | github.com/jfontan

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


[one-users] Datastore and Gluster + Cluster

2014-09-20 Thread Amier Anis
Dear Team,

I would like to know little bit more about system datastore + gluster and
cluster.

node 0 - FrontEnd
node 1 - Hypervisor 1
node 2 - Hypervisor 2

Cluster 1
node 3 Hypervisor 3
node 4 Hypervisor 4

Cluster 2
node 5 Hypervisor 5
node 6 Hypervisor 6

GlusterFS Storage 1 - mount to frontend to datastore 0
GlusterFS Storage 2 - mount to frontend to datastore 100 - for Cluster 1
GlusterFS Storage 3 - mount to frontend to datastore 101 - for Cluster 2

I believe that all glusterfs storage need to mount to Frontend and
hypervisor node.

my question is

   1. Should I mount datastore 0 to all hypervisor node even it is
   clusters? or
   2. Do i only mount for each datastore to each clusters. let say
   GlusterFS Storage 1 for non-cluster node, glusterfs 2 for cluster 2 and etc.
   3. In cluster 1, I only mount glusterfs 2 and set it as system datastore
   and image datastore. no datastore 0,1,2 in cluster 2.

Which is the proper one?
How do I set glusterfs as system and image datastore in opennebula. I only
can set images datastore.

Thanks in advance your kind help.

Thanks you.

Regards  Best Wishes,


*.: Amier Anis :.*
Mobile: +6012-260-0819
--
IMPORTANT:
This e-mail (including any attachment hereto) is intended solely for the
addressee and is confidential and privileged. If this should have been sent
to you in error, you are not to reproduce, distribute or take any action in
reliance on it. Kindly notify us and delete the e-mail and all attachments
immediately.

As e-mail and/or attachments may contain viruses and other interfering or
damaging elements, the receipt and/or downloading of e-mail and/or
attachments will be at your own risk and we accept no liability for any
damage sustained as a result of any such viruses; you should carry out your
own virus checks before opening any attachment.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Multiple VLAN and Bridge

2014-09-16 Thread Amier Anis
thanks stefan. i will give a try. I will let you know if i need further
help.


On Tue, Sep 16, 2014 at 6:17 PM, Stefan Kooman ste...@bit.nl wrote:

 Hi,

 Quoting Amier Anis (myma...@gmail.com):
  Dear Stefan,
 
  It's great ... yes I would like you to share here. I hv tried before but
 no
  luck.
  My server have at least 2 physical nic. 1 is management and another one
 is
  storage.

 I use this little script to setup networking on our hosts (openvswitch
 should already be installed and running):

 #!/bin/sh
 echo adding bridges
 ovs-vsctl add-br storage
 ovs-vsctl add-br uplink
 ovs-vsctl add-br mgmt-migr

 echo adding bonds
 ovs-vsctl add-bond storage bond0 eth0 eth5 bond_mode=balance-tcp
 lacp=active other_config:lacp-time=fast trunks=list-of-vlan-ids-here
 ovs-vsctl add-bond uplink bond1 eth1 eth4 bond_mode=balance-tcp
 lacp=active other_config:lacp-time=fast trunks=list-of-vlan-ids-here
 ovs-vsctl add-bond mgmt-migr bond2 eth2 eth3 bond_mode=balance-tcp
 lacp=active other_config:lacp-time=fast trunks=list-of-vlan-ids-here

 We have all vlans tagged/trunked on the port(s)(channels). In order to
 have vlan interface(s) on the hypervisor itself we create some
 openvswitch internal ports:

 echo adding vlans
 ovs-vsctl add-port storage vlanVID tag=VID -- set interface vlanID
 type=internal
 ovs-vsctl add-port mgmt-migr vlanVID tag=VID -- set interface vlanVID
 type=internal
 ovs-vsctl add-port mgmt-migr vlanVID tag=VID -- set interface vlanVID
 type=internal

 That way we can configure networking for hypervisor management,
 vm-migration and storage (nfs) on the hypervisors themselves. It will
 just show up as a regular interface (ip list).

 If you don't want / can't make portchannels (bonds/trunkports/teams,
 whatever you want to call them: 802.3ad) you can add ports to bridges
 like this:

 ovs-vsctl add-br bridge-name

 At this point you got two options. Create a trunk port (tag all vlans:
 802.1Q), or provide a list of vlans. If you define a trunk port you
 don't have to add newly created vlans on the openvswitch port if you add
 new vlans on the physical switch port.

 trunk port:
 ovs-vsctl add-port eth0 bridge-name vlan_mode=trunk

 or

 Explicitly specify vlans:
 ovs-vsctl add-port eth0 bridge-name trunks=vlan_id1,vlan_id2

 In /etc/network/interfaces (if using Ubuntu/Debian) you have to make
 sure the physical devices are marked up/down:

 auto eth0
 iface eth0 inet manual
   pre-up ip link set $IFACE up
   post-down ip link set $IFACE down

 auto eth1
 iface eth1 inet manual
   pre-up ip link set $IFACE up
   post-down ip link set $IFACE down

 ...
 for every interface you want to add to openvswitch
 ...

 And of course configure networking for the vlan (internal)
 interface(s).

 ovs-vsctl show should give you a nice overview of what has been
 configured.

 Just add the openvswitch bridge(s) to OpenNebula and off you go.

 Let me know if I can be of any further assistance.

 Gr. Stefan


 --
 | BIT BV  http://www.bit.nl/Kamer van Koophandel 09090351
 | GPG: 0xD14839C6   +31 318 648 688 / i...@bit.nl

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


Re: [one-users] Multiple VLAN and Bridge

2014-09-15 Thread Amier Anis
Dear Stefan,

It's great ... yes I would like you to share here. I hv tried before but no
luck.
My server have at least 2 physical nic. 1 is management and another one is
storage.

Thanks you.

Regards  Best Wishes,


*.: Amier Anis :.*
Mobile: +6012-260-0819
--
IMPORTANT:
This e-mail (including any attachment hereto) is intended solely for the
addressee and is confidential and privileged. If this should have been sent
to you in error, you are not to reproduce, distribute or take any action in
reliance on it. Kindly notify us and delete the e-mail and all attachments
immediately.

As e-mail and/or attachments may contain viruses and other interfering or
damaging elements, the receipt and/or downloading of e-mail and/or
attachments will be at your own risk and we accept no liability for any
damage sustained as a result of any such viruses; you should carry out your
own virus checks before opening any attachment.

On Fri, Sep 12, 2014 at 2:45 PM, Stefan Kooman ste...@bit.nl wrote:

 Quoting Amier Anis (myma...@gmail.com):
  *Dear Team,*
 
  What is the best configuration my network host to be setup

 I would go with OpenvSwitch. It's easy to setup and you can do stuff
 (vlan trunking) that is very difficult to set up the traditional way.
 If at all possible, use different nic's to seperate storage, uplink
 and management/migration traffic. To add redundancy/capacity you can
 use bonds (port channels). I can post some openvswitch setup commands if
 you want.

 Gr. Stefan


 --
 | BIT BV  http://www.bit.nl/Kamer van Koophandel 09090351
 | GPG: 0xD14839C6   +31 318 648 688 / i...@bit.nl

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


[one-users] Multiple VLAN and Bridge

2014-09-10 Thread Amier Anis
*Dear Team,*

What is the best configuration my network host to be setup

Currently I do setup my each of my host with eth0 with bridge and vlan
soemthing like eth0.801, ifcfg-vbr801 and eth0.802, ifcfg-vbr802 then I do
tagging at vm creation at network setting. I have Layer 3 switch that i
already add gateway and tagging the port to each server.

during vm creation, i will only tie the network with vbr801 or vbr802.

Is this my configuration is correct? Since i face an issue my other vlan
then vbr801 is lost connection from the vm. i dont have an issue with
vbr801.

anyone can help on this matters. thanks in advance.

Thanks you.

Regards  Best Wishes,


*.: Amier Anis :.*
Mobile: +6012-260-0819
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] AppMarket error installation

2014-06-25 Thread Amier Anis
Dear Javier,

I have this error message and not to sure what to do;-

[root@snode10 market]# su - oneadmin
[oneadmin@snode10 ~]$ cd /usr/lib/one/ruby/oneapps/market
[oneadmin@snode10 market]$ sudo gem install mime-types --version ' 2.0'
Successfully installed mime-types-1.25.1
Installing ri documentation for mime-types-1.25.1
/usr/lib/ruby/1.8/rdoc/rdoc.rb:280: warning: conflicting chdir during
another chdir block
/usr/lib/ruby/1.8/rdoc/rdoc.rb:287: warning: conflicting chdir during
another chdir block
Done installing documentation for mime-types after 0 seconds
1 gem installed

[oneadmin@snode10 market]$ sudo bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
Fetching gem metadata from http://rubygems.org/.
Fetching additional metadata from http://rubygems.org/..
Resolving dependencies...
Using bcrypt 3.1.7
Using bcrypt-ruby 3.1.5
Using bson 1.10.2
Using bson_ext 1.10.2
Using diff-lcs 1.2.5
Using tilt 1.4.1
Using haml 4.0.5
Using json 1.8.1

Gem::InstallError: mime-types requires Ruby version = 1.9.2.
An error occurred while installing mime-types (2.3), and Bundler cannot
continue.
Make sure that `gem install mime-types -v '2.3'` succeeds before bundling.
[oneadmin@snode10 market]$

you kindly help much appreciate


Regards  Best Wishes,


*.: Amier Anis :.*
Mobile: +6012-260-0819
--
IMPORTANT:
This e-mail (including any attachment hereto) is intended solely for the
addressee and is confidential and privileged. If this should have been sent
to you in error, you are not to reproduce, distribute or take any action in
reliance on it. Kindly notify us and delete the e-mail and all attachments
immediately.

As e-mail and/or attachments may contain viruses and other interfering or
damaging elements, the receipt and/or downloading of e-mail and/or
attachments will be at your own risk and we accept no liability for any
damage sustained as a result of any such viruses; you should carry out your
own virus checks before opening any attachment.


On Wed, Jun 25, 2014 at 6:10 PM, Javier Fontan jfon...@opennebula.org
wrote:

 You can try installing a mime-types gem compatible with 1.8.7 before
 executing bundle install:

 $ sudo gem install mime-types --version ' 2.0'

 After that bundle install should not complain about the version.


 On Wed, Jun 25, 2014 at 4:02 AM, Amier Anis myma...@gmail.com wrote:

 *Dear List,*

 My current production env using OpenNebula 4.6.2 (centos 6.5).

 I tried to install AppMarket Server but failed with

 Gem::InstallError: mime-types requires Ruby version = 1.9.2.
 An error occurred while installing mime-types (2.3), and Bundler cannot
 continue.
 Make sure that `gem install mime-types -v '2.3'` succeeds before bundling.

 any one can help me how to upgrade ruby from 1.8.7 to 1.9.2?

 Thanks you.

 Regards  Best Wishes,


 *.: Amier Anis :.*
 Mobile: +6012-260-0819
 --
 IMPORTANT:
 This e-mail (including any attachment hereto) is intended solely for the
 addressee and is confidential and privileged. If this should have been sent
 to you in error, you are not to reproduce, distribute or take any action in
 reliance on it. Kindly notify us and delete the e-mail and all attachments
 immediately.

 As e-mail and/or attachments may contain viruses and other interfering or
 damaging elements, the receipt and/or downloading of e-mail and/or
 attachments will be at your own risk and we accept no liability for any
 damage sustained as a result of any such viruses; you should carry out your
 own virus checks before opening any attachment.

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




 --
 Javier Fontán Muiños
 Developer
 OpenNebula - Flexible Enterprise Cloud Made Simple
 www.OpenNebula.org | @OpenNebula | github.com/jfontan

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


[one-users] AppMarket error installation

2014-06-24 Thread Amier Anis
*Dear List,*

My current production env using OpenNebula 4.6.2 (centos 6.5).

I tried to install AppMarket Server but failed with

Gem::InstallError: mime-types requires Ruby version = 1.9.2.
An error occurred while installing mime-types (2.3), and Bundler cannot
continue.
Make sure that `gem install mime-types -v '2.3'` succeeds before bundling.

any one can help me how to upgrade ruby from 1.8.7 to 1.9.2?

Thanks you.

Regards  Best Wishes,


*.: Amier Anis :.*
Mobile: +6012-260-0819
--
IMPORTANT:
This e-mail (including any attachment hereto) is intended solely for the
addressee and is confidential and privileged. If this should have been sent
to you in error, you are not to reproduce, distribute or take any action in
reliance on it. Kindly notify us and delete the e-mail and all attachments
immediately.

As e-mail and/or attachments may contain viruses and other interfering or
damaging elements, the receipt and/or downloading of e-mail and/or
attachments will be at your own risk and we accept no liability for any
damage sustained as a result of any such viruses; you should carry out your
own virus checks before opening any attachment.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] system datastores 0 not show capacity hdd

2014-05-13 Thread Amier Anis
Dear List,

I have an issue that system datastores 0 was not able to show the capacity
hdd.
This is fresh installation with internal hdd. normal partition scheme,
centos 6.5, opennebula 4.4

[oneadmin@cnode10 ~]$ onedatastore list
  ID NAMESIZE AVAIL CLUSTER  IMAGES TYPE DS   TM
   0 system0M - - 0 sys  -shared
   1 default 376G 94%   - 0 img  fs   shared
   2 files   376G 94%   - 0 fil  fs   ssh

[root@cnode10 ~]# tail -f /var/log/one/oned.log
Wed May 14 00:57:52 2014 [HKM][I]:  Hook Manager loaded
Wed May 14 00:57:52 2014 [ImM][I]: Loading Image Manager driver.
Wed May 14 00:57:52 2014 [ImM][I]:  Image Manager loaded
Wed May 14 00:57:52 2014 [AuM][I]: Loading Auth. Manager driver.
Wed May 14 00:57:52 2014 [AuM][I]:  Auth Manager loaded
Wed May 14 00:57:52 2014 [ReM][I]: Starting Request Manager...
Wed May 14 00:57:52 2014 [ReM][I]: Starting XML-RPC server, port 2633 ...
Wed May 14 00:57:52 2014 [ReM][I]: Request Manager started.
Wed May 14 00:57:52 2014 [ReM][D]: Req:5328 UID:0 SystemConfig invoked
Wed May 14 00:57:52 2014 [ReM][D]: Req:5328 UID:0 SystemConfig result
SUCCESS, TEMPLATEAUTH_MAD...
Wed May 14 00:58:06 2014 [InM][D]: Monitoring datastore default (1)
Wed May 14 00:58:06 2014 [InM][D]: Monitoring datastore files (2)
Wed May 14 00:58:06 2014 [ImM][D]: Datastore default (1) successfully
monitored.
Wed May 14 00:58:06 2014 [ImM][D]: Datastore files (2) successfully
monitored.
Wed May 14 01:00:06 2014 [ImM][D]: Datastore default (1) successfully
monitored.
Wed May 14 01:00:06 2014 [ImM][D]: Datastore files (2) successfully
monitored.
Wed May 14 01:00:23 2014 [ReM][D]: Req:5744 UID:0 VirtualMachinePoolInfo
invoked, -2, -1, -1, -1
Wed May 14 01:00:23 2014 [ReM][D]: Req:5744 UID:0 VirtualMachinePoolInfo
result SUCCESS, VM_POOL/VM_POOL
Wed May 14 01:00:23 2014 [ReM][D]: Req:5744 UID:0 VirtualMachinePoolInfo
invoked, -2, -1, -1, -1
Wed May 14 01:00:23 2014 [ReM][D]: Req:5744 UID:0 VirtualMachinePoolInfo
result SUCCESS, VM_POOL/VM_POOL



​You kind assistant is highly sought.​

Thanks you.

Regards  Best Wishes,


*.: Amier Anis :.*
Mobile: +6012-260-0819
--
IMPORTANT:
This e-mail (including any attachment hereto) is intended solely for the
addressee and is confidential and privileged. If this should have been sent
to you in error, you are not to reproduce, distribute or take any action in
reliance on it. Kindly notify us and delete the e-mail and all attachments
immediately.

As e-mail and/or attachments may contain viruses and other interfering or
damaging elements, the receipt and/or downloading of e-mail and/or
attachments will be at your own risk and we accept no liability for any
damage sustained as a result of any such viruses; you should carry out your
own virus checks before opening any attachment.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Creating images how to

2013-11-12 Thread Amier Anis
thanks guys,I will try both way.basically i'm looking similar to vmware export feature than I can use as ovf template once I hv done the necessary configuration on my image.hi sharuz,nice to meet u here. i'm ok to have TTS. :)will be at cyberjaya tomorrow (thurs) after 5pm. we can meet at any mamak.  Sent from my BlackBerry z10. From: Sharuzzaman Ahmat RaslanSent: Wednesday, 13 November 2013 00:27To: Martin AlfkeCc: Amier Anis; usersSubject: Re: [one-users] Creating images how toHi all,Alternative to Martin's way:Launch virt-manager on any Linux system (you can install virt-manager on CentOS)In the virt-manager, create a new VM, customize the disk size, select the CentOS installer ISO image, and start performing the installation.

Note where you save the virtual disk for this VM.Once installation finish, you will have a fully installed VM. You will use this virtual disk (usually qcow format) and upload it into Opennebula. This is your gold image.

After that, you need to configure your VM template in Opennebula. Here you need to define your NIC, memory, and point the disk information to your gold image that you have uploaded. You need to know if you are using persistence or non-persistence. Persistence will modify your gold image. Non-persistence will create a clone of your gold image, and changes will be written to that clone. That depends on your Opennebula storage architecture too.

Amier, I'm Malaysian, and working in Cyberjaya.If you want, maybe we can have a face-to-face knowledge sharing session, so that we can discuss this further.Thanks.

On Fri, Nov 8, 2013 at 6:09 PM, Martin Alfke tux...@gmail.com wrote:

Hi Amier,

we create Images in the following way:

1. create qcow2 disk:
qemu-img create -f qcow2 base_centos.img 10G

2. fetch installer image:
wget centos mirror/centos6/6/os/x86_64/images/install.img

3. install image:
qemu-system-x86_46 -m 4096 -hda centos_base.img -cdrom install.img -boot d

4. post install vm preparation:
qemu-system-x86_46 -m 4096 -hda centos_base.img

Within image:
install acpid (needed to reboot/shutdown vm from open nebula management node)
install one-context package

5. upload image to opennebula
attn: do not use sunstone for large images copied over network.
copy image to open nebula management host (scp,..) and use local directory and image name.

hth,

Martin


On 07 Nov 2013, at 18:21, Amier Anis myma...@gmail.com wrote:

 Dear Guys,

 I'm still new with opennebula. I would like to know how to create images for my 100 vm using centos 6.4. In the images i need to install a few component and add a few users.

 any ideas?

 Thanks you.

 Regards  Best Wishes,


 .: Amier Anis :.
 Mobile: +6012-260-0819

 IMPORTANT:
 This e-mail (including any attachment hereto) is intended solely for the addressee and is confidential and privileged. If this should have been sent to you in error, you are not to reproduce, distribute or take any action in reliance on it. Kindly notify us and delete the e-mail and all attachments immediately.



 As e-mail and/or attachments may contain viruses and other interfering or damaging elements, the receipt and/or downloading of e-mail and/or attachments will be at your own risk and we accept no liability for any damage sustained as a result of any such viruses; you should carry out your own virus checks before opening any attachment.


 ___
 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
-- Sharuzzaman Ahmat Raslan


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


Re: [one-users] Datastores 0 dont see capacity

2013-11-08 Thread Amier Anis
how soon 4.4 will be release?



On Fri, Nov 8, 2013 at 6:59 PM, Carlos Martín Sánchez 
cmar...@opennebula.org wrote:

 Hi,

 OpenNebula 4.2 only monitors Image and File datastores. System DS
 monitorization will be added in 4.4, to be released soon.

 Regards

 --
 Carlos Martín, MSc
 Project Engineer
 OpenNebula - Flexible Enterprise Cloud Made Simple
 www.OpenNebula.org | cmar...@opennebula.org | 
 @OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org


 On Fri, Nov 8, 2013 at 11:00 AM, Giancarlo gdefilip...@ltbl.it wrote:

 Hi,
 after installed opennebule 4.2 i'vel mounted a glusterfs share.
 In image and files datastores i seee right capacity but in siste
 datastore (0) i doesn't see it
 Someone can help me??
 Thanks
 ___
 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] OpenNebula with additional storage

2013-10-14 Thread Amier Anis
hi,

any idea on this?

part of that, is /var/lib/one/datastores not necessary export from frontend?

On Thu, Sep 19, 2013 at 11:23 AM, Amier Anis myma...@gmail.com wrote:

 *Hi Ruben,*

 Thanks give some explanation. Just to ensure I have same picture and
 understand your words.

1. I'm planned to use GlusterFS or iSCSI (openfiler) for both my
datastore 1 and 2.
2. Do you mean default and system (0 and 1) can be expand to external
storage?
3. Is that mean when I use ID 100 for datastore1 (192.168.1.11) then
datastore2 (192.168.8.12) must be use ID 101 or must use same ID 100?

 Is the structure look like this?

 ​/var/lib/one/datastore/0-- default created by OpenNebula | default
 internal storage or can expand to external storage
 ​/var/lib/one/datastore/1-- default created by OpenNebula | default
 inernal storage or can expand to external storage
 ​/var/lib/one/datastore/101    mount point from datastore 1
 ​/var/lib/one/datastore/102    mount point from datastore 2


 Thanks you.




 *.: Amier Anis :.*
 On Thu, Sep 19, 2013 at 3:19 AM, Ruben S. Montero 
 rsmont...@opennebula.org wrote:

 Hi

 So I assume that you have 2 different NFS shares (or equivalent):

 About Mount Points

 They **must** use the same ID as the one assigned by OpenNebula. So if
 you want datastore with ID 100 be backed by datastore1 (192.168.8.11), then
 you must mount the volume on
 ​​
 /var/lib/one/datastore/100. Same apply to 0,1 default and system
 datastores created by OpenNebula by default.

 About Datastore Types and Usage

 There are two types of Datastores: Images where you usually store base
 images (e.g. default ID:1) and system where the VMs run from (e.g. system
 ID:0). And there are three types of images: persistent no copy from image
 to system datastores (link); no-persistent images are copied (cloned) to
 the system datastore; and volatile disks, always created in the datastore.

 Summary, register an image (oneimage create) will take space from your
 image DS, deploying a vm (onevm deploy) will take space from your system
 DS. How much space? It depends on the image (persistent vs non-persistent)
 and the format raw vs qcow2.

 You  also need to consider that checkpoints (suspend/stop a VM) will
 generate a checkpoint file to be stored also in the system DS


 Hope you can now plan better your storage.

 Cheers

 Ruben



 On Wed, Sep 18, 2013 at 4:18 PM, Amier Anis myma...@gmail.com wrote:

 Guys,

 any suggestion or advise. really need your help.

 On Tue, Sep 17, 2013 at 7:41 PM, Amier Anis myma...@gmail.com wrote:

 Hi,

 I would like to know how I should implement the datastore if I have 2
 different size of storage but with same datastore types (shared FS). As I
 know I need to I need to mount the target datastore to very hosts.

 However, I little bit confuse on the datastore structure and where to
 mount the the first datastore1 (192.168.8.11) and 2nd datastore2
 (192.168.8.12). Is that correct if i mount the datastore like this at every
 node?

 *Method 1*

1. datastore1 to /var/lib/one/datastore/0
2. datastore2 to /var/lib/one/datastore/1

 or i need to like this

 *Method 2*

1. datastore1 to /var/lib/one/datastore/1
2. datastore2 to /var/lib/one/datastore/2

 Is the /var/lib/one/datastore/0 is for frontend use? how much space we
 need if we have 1TB of datastore or VM?

 Is there any specfic number that I must use and cannot use to mount the
 datastore?

 How do i set the additional datastore?


 Hope you can advise further.

 OpenNebula : 4.x
 OpenNebula Sunstone : 192.168.8.10
 Storage 1 / Datastore 1 : 192.168.8.11
 Storage 2 / Datastore 2 : 192.168.8.12

 Your kind assistant is highly sought.

 Thanks you.

 Regards  Best Wishes,


 *.: Amier Anis :.*



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




 --
 --
 Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013
 --
 Ruben S. Montero, PhD
 Project co-Lead and Chief Architect
 OpenNebula - The Open Source Solution for Data Center Virtualization
 www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula



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


Re: [one-users] ssh password less login not function

2013-10-03 Thread Amier Anis
HI team,

once opennebula-common create oneadmin, Is there any issue if i reset the
oneadmin password?

Is there any require password-less from workers to management node?



On Wed, Oct 2, 2013 at 5:02 PM, Amier Anis myma...@gmail.com wrote:

 I don't think that selinux is the issue as I can ssh with password-less
 without issue if no opennebula installed.
 I also has tried using setenforce 0 and still have same issue. (i try
 diffrent machine)

 [oneadmin@mnode lib]$ /usr/sbin/sestatus
 SELinux status: disabled


 I has tried both let the opennebula-common created the user or i manually
 created. same issue.
 This is how I install opennebula and the component:-

 yum -y install opennebula-server opennebula-sunstone opennebula-ozones
 opennebula-gate opennebula-flow opennebula-node-kvm


 Yes, i have all the file in the ~/.ssh

 [oneadmin@mnode .ssh]$ ls -l
 total 16
 -rw--- 1 oneadmin oneadmin  406 Oct  2 10:19 authorized_keys
 -rw--- 1 oneadmin oneadmin   61 Oct  2 03:08 config
 -rw--- 1 oneadmin oneadmin 1675 Oct  2 10:19 id_rsa
 -rw--- 1 oneadmin oneadmin  406 Oct  2 10:19 id_rsa.pub

 ​I try to ssh -v node01 ... this error come out. however, this error not
 appear at the first place.

 -bash-4.1$ ssh -v 10.86.3.101

 OpenSSH_5.3p1, OpenSSL 1.0.0-fips 29 Mar 2010

 debug1: Reading configuration data /var/lib/one/.ssh/config

 debug1: Reading configuration data /etc/ssh/ssh_config

 debug1: Applying options for *

 debug1: Connecting to 10.86.3.101 [10.86.3.101] port 22.

 debug1: Connection established.

 debug1: identity file /var/lib/one/.ssh/identity type -1

 debug1: identity file /var/lib/one/.ssh/id_rsa type 1

 debug1: identity file /var/lib/one/.ssh/id_dsa type -1

 debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3

 debug1: match: OpenSSH_5.3 pat OpenSSH*

 debug1: Enabling compatibility mode for protocol 2.0

 debug1: Local version string SSH-2.0-OpenSSH_5.3

 debug1: SSH2_MSG_KEXINIT sent

 debug1: SSH2_MSG_KEXINIT received

 debug1: kex: server-client aes128-ctr hmac-md5 none

 debug1: kex: client-server aes128-ctr hmac-md5 none

 debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(102410248192) sent

 debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP

 debug1: SSH2_MSG_KEX_DH_GEX_INIT sent

 debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY

 debug1: Host '10.86.3.101' is known and matches the RSA host key.

 debug1: Found key in /var/lib/one/.ssh/known_hosts:1

 debug1: ssh_rsa_verify: signature correct

 debug1: SSH2_MSG_NEWKEYS sent

 debug1: expecting SSH2_MSG_NEWKEYS

 debug1: SSH2_MSG_NEWKEYS received

 debug1: SSH2_MSG_SERVICE_REQUEST sent

 debug1: SSH2_MSG_SERVICE_ACCEPT received

 debug1: Authentications that can continue:
 publickey,gssapi-keyex,gssapi-with-mic,password

 debug1: Next authentication method: gssapi-keyex

 debug1: No valid Key exchange context

 debug1: Next authentication method: gssapi-with-mic

 debug1: Unspecified GSS failure.  Minor code may provide more information

 Bad format in credentials cache

 debug1: Unspecified GSS failure.  Minor code may provide more information

 Bad format in credentials cache

 debug1: Unspecified GSS failure.  Minor code may provide more information

 debug1: Unspecified GSS failure.  Minor code may provide more information

 Bad format in credentials cache

 debug1: Next authentication method: publickey

 debug1: Trying private key: /var/lib/one/.ssh/identity

 debug1: Offering public key: /var/lib/one/.ssh/id_rsa

 debug1: Authentications that can continue:
 publickey,gssapi-keyex,gssapi-with-mic,password

 debug1: Trying private key: /var/lib/one/.ssh/id_dsa

 debug1: Next authentication method: password​


 Which is better I export /var/lib/one to every workers node or manually
 export to each workers?

 Thanks you.

 Regards  Best Wishes,


 *.: Amier Anis :.*
 Mobile: +6012-260-0819
 On Wed, Oct 2, 2013 at 3:40 PM, Valentin Bud valentin@gmail.comwrote:

 Hello Amier,


 On Wed, Oct 2, 2013 at 10:27 AM, Amier Anis myma...@gmail.com wrote:

 Hi valentin,

 Yes, I'm using packaging from opennebula repo and no error during
 install either i created the oneadmin first before install or automatic
 created by the installer.

 yum -y install opennebula-server opennebula-sunstone opennebula-ozones
 opennebula-gate opennebula-flow opennebula-node-kvm


 The opennebula-common package provides the user oneadmin so no need to
 create it manually. The opennebula-common is required by
 opennebula-server so no need to install it manually.



 I also has remove selinux from the system.
 ​
 ​
 ​

 yum -y remove selinux-policy


 Have you rebooted you system afterwards?



 Yes, I already configure
 ~/.ssh/config

 [oneadmin@mnode]$ vi ~/.ssh/config
  Host *
 StrictHostKeyChecking no
 UserKnownHostsFile /dev/null
   ControlMaster auto
 ControlPath /tmp/%r@%h:%p


 This looks OK.

 I suggest you remove the packages yum -y remove opennebula-\* and remove
 the oneadmin user, rm -rf /var/lib

Re: [one-users] ssh password less login not function

2013-10-03 Thread Amier Anis
hi teamany idea on this?  Sent from my BlackBerry z10. From: Amier AnisSent: Thursday, 3 October 2013 18:35To: Valentin BudCc: users@lists.opennebula.orgSubject: Re: [one-users] ssh password less login not functionHI team,once opennebula-common create oneadmin, Is there any issue if i reset the oneadmin password?
Is there any require password-less from workers to management node?
On Wed, Oct 2, 2013 at 5:02 PM, Amier Anis myma...@gmail.com wrote:
I don't think that selinux is the issue as I can ssh with password-less without issue if no opennebula installed.
I also has tried using"setenforce 0" and still have same issue. (i try diffrent machine)
[oneadmin@mnode lib]$ /usr/sbin/sestatus
SELinux status: disabledI has tried both let the opennebula-common created the user or i manually created. same issue.
This is how I install opennebula and the component:-yum -y install opennebula-server opennebula-sunstone opennebula-ozones opennebula-gate opennebula-flow opennebula-node-kvm

Yes, i have all the file in the ~/.ssh
[oneadmin@mnode .ssh]$ ls -ltotal 16
-rw--- 1 oneadmin oneadmin 406 Oct 2 10:19 authorized_keys
-rw--- 1 oneadmin oneadmin  61 Oct 2 03:08 config-rw--- 1 oneadmin oneadmin 1675 Oct 2 10:19 id_rsa
-rw--- 1 oneadmin oneadmin 406 Oct 2 10:19 id_rsa.pub
​I try to ssh -v node01 ... this error come out. however, this error not appear at the first place.

-bash-4.1$ ssh -v 10.86.3.101
OpenSSH_5.3p1, OpenSSL 1.0.0-fips 29 Mar 2010debug1: Reading configuration data /var/lib/one/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config

debug1: Applying options for *
debug1: Connecting to 10.86.3.101 [10.86.3.101] port 22.debug1: Connection established.
debug1: identity file /var/lib/one/.ssh/identity type -1
debug1: identity file /var/lib/one/.ssh/id_rsa type 1

debug1: identity file /var/lib/one/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3
debug1: match: OpenSSH_5.3 pat OpenSSH*debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.3

debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT receiveddebug1: kex: server-client aes128-ctr hmac-md5 none
debug1: kex: client-server aes128-ctr hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(102410248192) sent

debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sentdebug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host '10.86.3.101' is known and matches the RSA host key.
debug1: Found key in /var/lib/one/.ssh/known_hosts:1

debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sentdebug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT receiveddebug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password

debug1: Next authentication method: gssapi-keyex

debug1: No valid Key exchange context
debug1: Next authentication method: gssapi-with-micdebug1: Unspecified GSS failure. Minor code may provide more information

Bad format in credentials cache

debug1: Unspecified GSS failure. Minor code may provide more information
Bad format in credentials cache
debug1: Unspecified GSS failure. Minor code may provide more information
debug1: Unspecified GSS failure. Minor code may provide more informationBad format in credentials cache
debug1: Next authentication method: publickey

debug1: Trying private key: /var/lib/one/.ssh/identity
debug1: Offering public key: /var/lib/one/.ssh/id_rsa
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
debug1: Trying private key: /var/lib/one/.ssh/id_dsadebug1: Next authentication method: password​

Which is better I export /var/lib/one to every workers node or manually export to each workers?
Thanks you.Regards  Best Wishes,.: Amier Anis :.Mobile: +6012-260-0819On Wed, Oct 2, 2013 at 3:40 PM, Valentin Bud valentin@gmail.com wrote:

Hello Amier,

On Wed, Oct 2, 2013 at 10:27 AM, Amier Anis myma...@gmail.com wrote:

Hi valentin,



Yes, I'm using packaging from opennebula repo and no error during install either i created the oneadmin first before install or automatic created by the installer.

yum -y install opennebula-server opennebula-sunstone opennebula-ozones opennebula-gate opennebula-flow opennebula-node-kvm



The opennebula-common package provides the user oneadmin so no need to create it manually. The openneb

[one-users] ssh password less login not function

2013-10-02 Thread Amier Anis
*Hi Guys,*

I'm having issue with ssh password less login not function correctly.
It's work with fresh install CentOS 6.4 before install opennebula. Once
opennebula started, it doesn't work any more. The workers node can login
with less password without any issue but management node can't login to
worker nodes.

At first attempt, I install opennebula then setup the ssh-keygen to
oneadmin (created during installation) and I also hv tried to create
oneadmin first then install opennebula but both failed.

If the mgmt server can ssh with password less to workers then the mgmt
server can't ssh to itself as the mgmt server also have the vm.

*My Setup*

   1. I only export and share /var/lib/one/datastores to every workers
   2. authorized_keys has been export to every wokers vice versa.
   3. declared every hostname in /etc/hosts

Is there any issue or things that i need to look into it.

Thanks you.


*.: Amier Anis :.*
Mobile: +6012-260-0819
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] ssh password less login not function

2013-10-02 Thread Amier Anis
Hi valentin,

Yes, I'm using packaging from opennebula repo and no error during install
either i created the oneadmin first before install or automatic created by
the installer.

yum -y install opennebula-server opennebula-sunstone opennebula-ozones
opennebula-gate opennebula-flow opennebula-node-kvm


I also has remove selinux from the system.

yum -y remove selinux-policy


Yes, I already configure
​
~/.ssh/config

[oneadmin@mnode]$ vi ~/.ssh/config
 Host *
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
  ControlMaster auto
ControlPath /tmp/%r@%h:%p

Thanks you.

*.: Amier Anis :.*
Mobile: +6012-260-0819

On Wed, Oct 2, 2013 at 2:58 PM, Valentin Bud valentin@gmail.com wrote:

 Hello Amier,


 On Wed, Oct 2, 2013 at 9:16 AM, Amier Anis myma...@gmail.com wrote:

 *Hi Guys,*

 I'm having issue with ssh password less login not function correctly.
 It's work with fresh install CentOS 6.4 before install opennebula. Once
 opennebula started, it doesn't work any more. The workers node can login
 with less password without any issue but management node can't login to
 worker nodes.


 I see you're using CentOS as OS. Have you installed OpenNebula from
 packages [1]? Have you configured SSH as
 pointed in [1]. I mean the
 ​​
 ~/.ssh/config part.

 Another important aspect is SELINUX. Is it on or off? If it on check the
 /var/lib/one/.ssh context, it should have ssh_home_t as label.
 You can accomplish that using
 ​​
 chcon -R -t ssh_home_t /var/lib/one/.ssh as either oneadmin or root.



 At first attempt, I install opennebula then setup the ssh-keygen to
 oneadmin (created during installation) and I also hv tried to create
 oneadmin first then install opennebula but both failed


 If the mgmt server can ssh with password less to workers then the mgmt
 server can't ssh to itself as the mgmt server also have the vm.


 I suggest you install OpenNebula from packages and work your way up from
 there. Don't forget to check the SELINUX context of oneadmin's ~/.ssh and
 either SSH to
 hosts in advance or configure SSH via ~/.ssh/config to allow connections
 without StrictHostKeyChecking.



 *My Setup*

1. I only export and share /var/lib/one/datastores to every workers
2. authorized_keys has been export to every wokers vice versa.
3. declared every hostname in /etc/hosts

 Is there any issue or things that i need to look into it.

 Thanks you.

 If you need more help in the future be sure to come back and ask for it
 :). Enjoy.





 *.: Amier Anis :.*
 Mobile: +6012-260-0819


 [1]: http://opennebula.org/documentation:rel4.2:ignc#centos_platform_notes


 Good Will,
 --
 Valentin Bud
 http://databus.pro | valen...@databus.pro

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


Re: [one-users] ssh password less login not function

2013-10-02 Thread Amier Anis
I don't think that selinux is the issue as I can ssh with password-less
without issue if no opennebula installed.
I also has tried using setenforce 0 and still have same issue. (i try
diffrent machine)

[oneadmin@mnode lib]$ /usr/sbin/sestatus
SELinux status: disabled


I has tried both let the opennebula-common created the user or i manually
created. same issue.
This is how I install opennebula and the component:-

yum -y install opennebula-server opennebula-sunstone opennebula-ozones
opennebula-gate opennebula-flow opennebula-node-kvm


Yes, i have all the file in the ~/.ssh

[oneadmin@mnode .ssh]$ ls -l
total 16
-rw--- 1 oneadmin oneadmin  406 Oct  2 10:19 authorized_keys
-rw--- 1 oneadmin oneadmin   61 Oct  2 03:08 config
-rw--- 1 oneadmin oneadmin 1675 Oct  2 10:19 id_rsa
-rw--- 1 oneadmin oneadmin  406 Oct  2 10:19 id_rsa.pub

​I try to ssh -v node01 ... this error come out. however, this error not
appear at the first place.

-bash-4.1$ ssh -v 10.86.3.101

OpenSSH_5.3p1, OpenSSL 1.0.0-fips 29 Mar 2010

debug1: Reading configuration data /var/lib/one/.ssh/config

debug1: Reading configuration data /etc/ssh/ssh_config

debug1: Applying options for *

debug1: Connecting to 10.86.3.101 [10.86.3.101] port 22.

debug1: Connection established.

debug1: identity file /var/lib/one/.ssh/identity type -1

debug1: identity file /var/lib/one/.ssh/id_rsa type 1

debug1: identity file /var/lib/one/.ssh/id_dsa type -1

debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3

debug1: match: OpenSSH_5.3 pat OpenSSH*

debug1: Enabling compatibility mode for protocol 2.0

debug1: Local version string SSH-2.0-OpenSSH_5.3

debug1: SSH2_MSG_KEXINIT sent

debug1: SSH2_MSG_KEXINIT received

debug1: kex: server-client aes128-ctr hmac-md5 none

debug1: kex: client-server aes128-ctr hmac-md5 none

debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(102410248192) sent

debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP

debug1: SSH2_MSG_KEX_DH_GEX_INIT sent

debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY

debug1: Host '10.86.3.101' is known and matches the RSA host key.

debug1: Found key in /var/lib/one/.ssh/known_hosts:1

debug1: ssh_rsa_verify: signature correct

debug1: SSH2_MSG_NEWKEYS sent

debug1: expecting SSH2_MSG_NEWKEYS

debug1: SSH2_MSG_NEWKEYS received

debug1: SSH2_MSG_SERVICE_REQUEST sent

debug1: SSH2_MSG_SERVICE_ACCEPT received

debug1: Authentications that can continue:
publickey,gssapi-keyex,gssapi-with-mic,password

debug1: Next authentication method: gssapi-keyex

debug1: No valid Key exchange context

debug1: Next authentication method: gssapi-with-mic

debug1: Unspecified GSS failure.  Minor code may provide more information

Bad format in credentials cache

debug1: Unspecified GSS failure.  Minor code may provide more information

Bad format in credentials cache

debug1: Unspecified GSS failure.  Minor code may provide more information

debug1: Unspecified GSS failure.  Minor code may provide more information

Bad format in credentials cache

debug1: Next authentication method: publickey

debug1: Trying private key: /var/lib/one/.ssh/identity

debug1: Offering public key: /var/lib/one/.ssh/id_rsa

debug1: Authentications that can continue:
publickey,gssapi-keyex,gssapi-with-mic,password

debug1: Trying private key: /var/lib/one/.ssh/id_dsa

debug1: Next authentication method: password​


Which is better I export /var/lib/one to every workers node or manually
export to each workers?

Thanks you.

Regards  Best Wishes,


*.: Amier Anis :.*
Mobile: +6012-260-0819
On Wed, Oct 2, 2013 at 3:40 PM, Valentin Bud valentin@gmail.com wrote:

 Hello Amier,


 On Wed, Oct 2, 2013 at 10:27 AM, Amier Anis myma...@gmail.com wrote:

 Hi valentin,

 Yes, I'm using packaging from opennebula repo and no error during install
 either i created the oneadmin first before install or automatic created by
 the installer.

 yum -y install opennebula-server opennebula-sunstone opennebula-ozones
 opennebula-gate opennebula-flow opennebula-node-kvm


 The opennebula-common package provides the user oneadmin so no need to
 create it manually. The opennebula-common is required by
 opennebula-server so no need to install it manually.



 I also has remove selinux from the system.
 ​
 ​
 ​

 yum -y remove selinux-policy


 Have you rebooted you system afterwards?



 Yes, I already configure
 ~/.ssh/config

 [oneadmin@mnode]$ vi ~/.ssh/config
  Host *
 StrictHostKeyChecking no
 UserKnownHostsFile /dev/null
   ControlMaster auto
 ControlPath /tmp/%r@%h:%p


 This looks OK.

 I suggest you remove the packages yum -y remove opennebula-\* and remove
 the oneadmin user, rm -rf /var/lib/one, reboot the machine and start
 from scratch. Let the packages deal with user creation. After that on
 mnode you should have the oneadmin public/private keys in
 ~/.ssh and the public key in ~/.ssh/authorized_keys. You can config ssh
 and try to ssh localhost.

 WARNING: don't remove the /var/lib/one directory if you

Re: [one-users] OpenNebula with additional storage

2013-09-18 Thread Amier Anis
Guys,

any suggestion or advise. really need your help.

On Tue, Sep 17, 2013 at 7:41 PM, Amier Anis myma...@gmail.com wrote:

 Hi,

 I would like to know how I should implement the datastore if I have 2
 different size of storage but with same datastore types (shared FS). As I
 know I need to I need to mount the target datastore to very hosts.

 However, I little bit confuse on the datastore structure and where to
 mount the the first datastore1 (192.168.8.11) and 2nd datastore2
 (192.168.8.12). Is that correct if i mount the datastore like this at every
 node?

 *Method 1*

1. datastore1 to /var/lib/one/datastore/0
2. datastore2 to /var/lib/one/datastore/1

 or i need to like this

 *Method 2*

1. datastore1 to /var/lib/one/datastore/1
2. datastore2 to /var/lib/one/datastore/2

 Is the /var/lib/one/datastore/0 is for frontend use? how much space we
 need if we have 1TB of datastore or VM?

 Is there any specfic number that I must use and cannot use to mount the
 datastore?

 How do i set the additional datastore?


 Hope you can advise further.

 OpenNebula : 4.x
 OpenNebula Sunstone : 192.168.8.10
 Storage 1 / Datastore 1 : 192.168.8.11
 Storage 2 / Datastore 2 : 192.168.8.12

 Your kind assistant is highly sought.

 Thanks you.

 Regards  Best Wishes,


 *.: Amier Anis :.*

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


Re: [one-users] OpenNebula with additional storage

2013-09-18 Thread Amier Anis
*Hi Ruben,*

Thanks give some explanation. Just to ensure I have same picture and
understand your words.

   1. I'm planned to use GlusterFS or iSCSI (openfiler) for both my
   datastore 1 and 2.
   2. Do you mean default and system (0 and 1) can be expand to external
   storage?
   3. Is that mean when I use ID 100 for datastore1 (192.168.1.11) then
   datastore2 (192.168.8.12) must be use ID 101 or must use same ID 100?

Is the structure look like this?

​/var/lib/one/datastore/0-- default created by OpenNebula | default
internal storage or can expand to external storage
​/var/lib/one/datastore/1-- default created by OpenNebula | default
inernal storage or can expand to external storage
​/var/lib/one/datastore/101    mount point from datastore 1
​/var/lib/one/datastore/102    mount point from datastore 2


Thanks you.




*.: Amier Anis :.*
On Thu, Sep 19, 2013 at 3:19 AM, Ruben S. Montero
rsmont...@opennebula.orgwrote:

 Hi

 So I assume that you have 2 different NFS shares (or equivalent):

 About Mount Points

 They **must** use the same ID as the one assigned by OpenNebula. So if you
 want datastore with ID 100 be backed by datastore1 (192.168.8.11), then you
 must mount the volume on
 ​​
 /var/lib/one/datastore/100. Same apply to 0,1 default and system
 datastores created by OpenNebula by default.

 About Datastore Types and Usage

 There are two types of Datastores: Images where you usually store base
 images (e.g. default ID:1) and system where the VMs run from (e.g. system
 ID:0). And there are three types of images: persistent no copy from image
 to system datastores (link); no-persistent images are copied (cloned) to
 the system datastore; and volatile disks, always created in the datastore.

 Summary, register an image (oneimage create) will take space from your
 image DS, deploying a vm (onevm deploy) will take space from your system
 DS. How much space? It depends on the image (persistent vs non-persistent)
 and the format raw vs qcow2.

 You  also need to consider that checkpoints (suspend/stop a VM) will
 generate a checkpoint file to be stored also in the system DS


 Hope you can now plan better your storage.

 Cheers

 Ruben



 On Wed, Sep 18, 2013 at 4:18 PM, Amier Anis myma...@gmail.com wrote:

 Guys,

 any suggestion or advise. really need your help.

 On Tue, Sep 17, 2013 at 7:41 PM, Amier Anis myma...@gmail.com wrote:

 Hi,

 I would like to know how I should implement the datastore if I have 2
 different size of storage but with same datastore types (shared FS). As I
 know I need to I need to mount the target datastore to very hosts.

 However, I little bit confuse on the datastore structure and where to
 mount the the first datastore1 (192.168.8.11) and 2nd datastore2
 (192.168.8.12). Is that correct if i mount the datastore like this at every
 node?

 *Method 1*

1. datastore1 to /var/lib/one/datastore/0
2. datastore2 to /var/lib/one/datastore/1

 or i need to like this

 *Method 2*

1. datastore1 to /var/lib/one/datastore/1
2. datastore2 to /var/lib/one/datastore/2

 Is the /var/lib/one/datastore/0 is for frontend use? how much space we
 need if we have 1TB of datastore or VM?

 Is there any specfic number that I must use and cannot use to mount the
 datastore?

 How do i set the additional datastore?


 Hope you can advise further.

 OpenNebula : 4.x
 OpenNebula Sunstone : 192.168.8.10
 Storage 1 / Datastore 1 : 192.168.8.11
 Storage 2 / Datastore 2 : 192.168.8.12

 Your kind assistant is highly sought.

 Thanks you.

 Regards  Best Wishes,


 *.: Amier Anis :.*



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




 --
 --
 Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013
 --
 Ruben S. Montero, PhD
 Project co-Lead and Chief Architect
 OpenNebula - The Open Source Solution for Data Center Virtualization
 www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula

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


[one-users] OpenNebula with additional storage

2013-09-17 Thread Amier Anis
Hi,

I would like to know how I should implement the datastore if I have 2
different size of storage but with same datastore types (shared FS). As I
know I need to I need to mount the target datastore to very hosts.

However, I little bit confuse on the datastore structure and where to mount
the the first datastore1 (192.168.8.11) and 2nd datastore2 (192.168.8.12).
Is that correct if i mount the datastore like this at every node?

*Method 1*

   1. datastore1 to /var/lib/one/datastore/0
   2. datastore2 to /var/lib/one/datastore/1

or i need to like this

*Method 2*

   1. datastore1 to /var/lib/one/datastore/1
   2. datastore2 to /var/lib/one/datastore/2

Is the /var/lib/one/datastore/0 is for frontend use? how much space we need
if we have 1TB of datastore or VM?

Is there any specfic number that I must use and cannot use to mount the
datastore?

How do i set the additional datastore?


Hope you can advise further.

OpenNebula : 4.x
OpenNebula Sunstone : 192.168.8.10
Storage 1 / Datastore 1 : 192.168.8.11
Storage 2 / Datastore 2 : 192.168.8.12

Your kind assistant is highly sought.

Thanks you.

Regards  Best Wishes,


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