Re: recover a expunged machine

2016-04-07 Thread Hollman Enciso R.
all the solutions runs on XenServer and p2000 (lun) storage but we don't
have any kind of snapshot :(

On Thu, Apr 7, 2016 at 12:57 PM, Simon Weller <swel...@ena.com> wrote:

> If the VM has been expunged, unfortunately you're out of luck from a CS
> perspective.
>
> Do you have a storage snapshot of it anywhere from the underlying storage
> hardware?
>
>
> ____________
> From: Hollman Enciso R. <hollman.enc...@gmail.com>
> Sent: Thursday, April 7, 2016 12:17 PM
> To: users@cloudstack.apache.org
> Subject: recover a expunged machine
>
> Hello all
>
> One quick question :(
>
> Someone with root user deleted and expunged a instance on CloudStack.
>
> Exist some way to recover this instance ?
>
> really thanks any help
>
> --
> Hollman Eduardo Enciso R.
> http://algolibre.com
> @hollman
>



-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


recover a expunged machine

2016-04-07 Thread Hollman Enciso R.
Hello all

One quick question :(

Someone with root user deleted and expunged a instance on CloudStack.

Exist some way to recover this instance ?

really thanks any help

-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


Re: Upgrade from 4.3.0-1 to latest stable 4.4.3 ?

2015-04-30 Thread Hollman Enciso R.
On Wed, Apr 29, 2015 at 2:02 PM, Rohit Yadav rohit.ya...@shapeblue.com
wrote:

 Hi Hollman,

 Go to http://www.shapeblue.com/packages and select upstream/4.4, on this
 page you should find everything you need, the repository,
 systemvmtemplates, 4.4.3 release notes, installation/upgrade/admin docs and
 api docs. Hope this helps.


Thanks Rohit

i can found the process
http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/4.4.3/upgrade/upgrade-4.3.html

the 4.5 is not stable yet?


-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


Upgrade from 4.3.0-1 to latest stable 4.4.3 ?

2015-04-29 Thread Hollman Enciso R.
Hello all. I actually have a cloud ith CS 4.3 installed from repos (centos)

I have 2 management servers, 2 HA databases, and 1 NFS.

I wanna upgrade to the latest version stable.

Can you help me providing me the best practices to upgrade ? maybe some
tips, and the process ?

thanks a lot

-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


Re: outbound/mask traffic configure

2015-01-30 Thread Hollman Enciso R.
On Tue, Jan 27, 2015 at 5:17 PM, Geoff Higginbottom 
geoff.higginbot...@shapeblue.com wrote:

 Hi Hollman,

 You need 4 IPs as there is one for the default Source NAT, then 1 per VM
 to enable Static NAT.

 I believe your original request was to enable three VMs to each have a
 unique IP when they access the Internet.

 Regards


it works.

thanks a lot!!


-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


Re: outbound/mask traffic configure

2015-01-27 Thread Hollman Enciso R.
On Tue, Jan 27, 2015 at 10:25 AM, Geoff Higginbottom 
geoff.higginbot...@shapeblue.com wrote:

 Sorry, wrong terminology

 You need to use the Static NAT feature and you will need 1 Public IP per
 VM in addition to the original Source NAT IP, so you will 4 Public IPs in
 total


someting like that?
http://shankerbalan.net/blog/assign-static-nat-ip-address-using-cloudstack-api/



*thanks


-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


outbound/mask traffic configure

2015-01-27 Thread Hollman Enciso R.
I have a virtual router with 3 public ip addresses below have 3 instances;
Can I configure each instance comes to internet with a different public ip?

Thanks

-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


Re: outbound/mask traffic configure

2015-01-27 Thread Hollman Enciso R.
On Tue, Jan 27, 2015 at 10:25 AM, Geoff Higginbottom 
geoff.higginbot...@shapeblue.com wrote:


 You need to use the Static NAT feature and you will need 1 Public IP per
 VM in addition to the original Source NAT IP, so you will 4 Public IPs in
 total


I found it on CS UI
http://screencloud.net/v/qjjQ


but, why need 4 ip's ?
why 1 more ?

Thanks a lot

-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


Re: SAML2 in Apache CloudStack 4.3 ?

2014-12-26 Thread Hollman Enciso R.
On Wed, Dec 24, 2014 at 12:45 AM, Rohit Yadav rohit.ya...@shapeblue.com
wrote:

 Hi Hollman,

 The SAML2 auth plugin will be available starting 4.5.0 (I think it should
 be released during Jan 2015). Due to the way we work, we can backport the
 feature to 4.3 (since no db related changes are needed for this feature)
 but it’s not available in ACS 4.3 right now.

 If you are looking to use this, please help test 4.5 using your SAML IDP,
 if you need help me know since I implemented it. It has been only tested
 with few IDPs and works for only HTTP-redirected profile and unique NAMEIDs
 (transient nameids are not preferred, in case of transient name ids it
 tries to find email address or uid and uses that as unique ID for SAML
 users) so testing efforts is very much appreciated. I’m not aware of any
 production usage yet (since it’s a new feature) so an iteration may be
 needed to cover broad use-cases.


Thanks Rohit.

Well, I will upgrade my test enviroment to 4.5 and start testing.




-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


SAML2 in Apache CloudStack 4.3 ?

2014-12-23 Thread Hollman Enciso R.
Hello all.

I'm just wanna ask if it's possible configure saml2 with CS 4.3.0 ?

I found some doc but i understand that will be aviable for the CS 4.5.0
http://shapeblue.com/apache-cloudstack/saml2-cloudstack/
https://cwiki.apache.org/confluence/display/CLOUDSTACK/SAML+2.0+Plugin

Thanks

-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


Re: Error deploying a new VM

2014-12-21 Thread Hollman Enciso R.
I re-created the vr and start working.

thanks

On Fri, Dec 5, 2014 at 7:33 PM, Alireza Eskandari 
astro.alir...@yahoo.com.invalid wrote:

 Hi Hollman,It seems that management server can't apply dhcp entry on your
 virtual router. I guess management server doesn't use valid ssh keys for
 logging in to virtual router so it can apply dhcp entry.You can test this
 by logging in to you XenServer then execute following command  ssh -i
 /opt/xensource/bin/id_rsa -p 3922 root@privateIP_or_LinkLocalIpofVR, or
 ssh -i /root/.ssh/id_rsa.cloud -p 3922 root@LinkLocal on  XenServer.If
 you can login to Virtual Router successfully then you should think about
 other reasons of the problem. If not, you should reinject valid ssh key in
 your systemvm.iso and rebuild your system vms. you can learn how to do this
 here:http://shankerbalan.net/blog/reinject-keys-into-cloudstack-systemvm/
 (In above link path of injectkeys.sh maybe wrong, search your management
 server to find it.)RegardsAlireza
   From: Hollman Enciso R. hollman.enc...@gmail.com
  To: users@cloudstack.apache.org
  Sent: Saturday, December 6, 2014 3:37 AM
  Subject: Error deploying a new VM

 Hello all, i have a problem deploying a new VM i always obtain an error. on
 the log i can see
 Service SecurityGroup is not supported in the network id=229

 the complete log:

 http://pastebin.com/2LkV5N61

 any idea please ?

 --
 Hollman Eduardo Enciso R.
 http://algolibre.com
 @hollman







-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


Service SecurityGroup is not supported in the network id

2014-12-21 Thread Hollman Enciso R.
Hello all.

i'm using CS for aroud 6 months on production with a lot of clients ...
Now i have a problem deploying new VM's.

I always btain the error Service SecurityGroup is not supported in the
network id=XX
some logs creating new network:

http://paste.algolibre.com/118
http://paste.algolibre.com/120

with existing network:
http://paste.algolibre.com/119

any idea ?

thank you very much

-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


Error deploying a new VM

2014-12-05 Thread Hollman Enciso R.
Hello all, i have a problem deploying a new VM i always obtain an error. on
the log i can see
Service SecurityGroup is not supported in the network id=229

the complete log:

http://pastebin.com/2LkV5N61

any idea please ?

-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


Re: How change storage of Virtual Routers ?

2014-11-05 Thread Hollman Enciso R.
no idea ? :(

On Tue, Nov 4, 2014 at 12:29 PM, Hollman Enciso R. hollman.enc...@gmail.com
 wrote:

 Hello all.

 I have 2 PrimaryStorage and some Virtual Routers installed on one of then,
 and now I have to move this Virtula Vouters to another PrimaryStorage.

 How can i do that ?

 I tried creating a new service offering for software virtual router and
 then re-create the virtualrouter with my new service offering that have
 tags for storage but doesn't work.
 The Virtualrouters still re-creating on the old (or actual) primaryStorage.

 any idea how can i change the storage of my virtual routers ?

 thanks

 --
 Hollman Eduardo Enciso R.
 http://algolibre.com
 @hollman




-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


Re: How change default System Offering For Software Router?

2014-11-04 Thread Hollman Enciso R.
On Fri, Oct 31, 2014 at 3:31 AM, Andrija Panic andrija.pa...@gmail.com
wrote:

 It should be, yes.

 BTW the link you sent - it's changing existing VR offering...

 To make another system offering a DEFAUTL offering, use the stuff explained
 here:

 http://cloudstack-administration.readthedocs.org/en/latest/service_offerings.html#changing-the-default-system-offering-for-system-vms

 Best


i try with this manual:
http://cloudstack-administration.readthedocs.org/en/latest/service_offerings.html#changing-the-default-system-offering-for-system-vms

1. I replace the default Software Router for my new one:

mysql select id,name,unique_name,type from disk_offering;

|  7 | System Offering For Software Router|
NULL   | Service |
| 54 | System Offering For Software Router on P2000 |
Cloud.Com-SoftwareRouter   | Service |

then i restart the CS management and finally I tried to remove the the
default systema offering (
System Offering For Software Router)

but was impossible, i obtainf the error: Default service offerings cannot
be deleted

any idea ?

thanks

-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


Re: How change default System Offering For Software Router?

2014-10-31 Thread Hollman Enciso R.
On Fri, Oct 31, 2014 at 3:31 AM, Andrija Panic andrija.pa...@gmail.com
wrote:

 It should be, yes.

 BTW the link you sent - it's changing existing VR offering...

 To make another system offering a DEFAUTL offering, use the stuff explained
 here:

 http://cloudstack-administration.readthedocs.org/en/latest/service_offerings.html#changing-the-default-system-offering-for-system-vms

 Best


Thanks a lot.


-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


How change default System Offering For Software Router?

2014-10-30 Thread Hollman Enciso R.
Hello all, i'm trying to change the default system offering for software
routers with more ram and some tags for the storage. i create a new system
service offering for software router; Now i wanna set as default, how can i
do that ?

I tried to delete the delete the System Offering For Software Router but i
obtain an error:  Default service offerings cannot be deleted

any idea ?

thanks

-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


Re: Upgrade to 4.3.1

2014-09-18 Thread Hollman Enciso R.
On Wed, Sep 17, 2014 at 1:05 AM, Mārtiņš Jakubovičs mart...@vertigs.lv
wrote:

 Hello Ilya,

 Thanks for response, I upgraded from 4.3.0 to 4.3.1.


Hello Martins.

I recently upgrade my test envioroment from 4.3.0 to 4.3.1 and i have the
same problem.

not load the console. i'm not usig any domain yat.
how you sove that ?

thanks


-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


Re: Error Creating Backup Cloud database

2014-09-09 Thread Hollman Enciso R.
any idea ?

i'm just create a crontab with normal mysqldump of the database cloud but i
always obtain these error.

maybe I have to stop the management or something to backing up the database
?

On Fri, Sep 5, 2014 at 11:25 AM, Hollman Enciso R. hollman.enc...@gmail.com
 wrote:

 Hello, i'm trying to generate a backup of cloud database but it's
 generating this error.

 Any idea why or how can I made a Backup of cloud database?


 ERROR 1356 (HY000) at line 8807: View 'cloud_test.account_netstats_view'
 references invalid table(s) or column(s) or function(s) or definer/invoker
 of view lack rights to use them

 thanks

 --
 Hollman Eduardo Enciso R.
 http://algolibre.com
 @hollman




-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


Error Creating Backup Cloud database

2014-09-05 Thread Hollman Enciso R.
Hello, i'm trying to generate a backup of cloud database but it's
generating this error.

Any idea why or how can I made a Backup of cloud database?


ERROR 1356 (HY000) at line 8807: View 'cloud_test.account_netstats_view'
references invalid table(s) or column(s) or function(s) or definer/invoker
of view lack rights to use them

thanks

-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


Re: Move VR to another PrimaryStorage

2014-08-26 Thread Hollman Enciso R.
On Mon, Aug 25, 2014 at 1:02 PM, Andrei Mikhailovsky and...@arhont.com
wrote:

 Not sure if this is supported by ACS. However, the usual way to migrate vm
 from one storage to another is to shutdown a vm and click on the one of the
 buttons (that looks like the cross with arrows), select the destination
 storage and click OK. If this option is not available for a virtual router,
 then it means that you can't do it.


yes. this option it's not aviable for virtual router :(



 If you want to make your system vms to start on a particular primary
 storage you will need to change the systemvm offering and add the tag for
 the primary storage that you want to use. After that, delete the virtual
 router and do the Network restart with clean up ticked. It should recreate
 the VR using the tags and put it on the desired primary storage.


thanks, i will do that.



-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


Move VR to another PrimaryStorage

2014-08-25 Thread Hollman Enciso R.
Hello all. I'm just try to move the root disk of one of my VirtualRouters
but I can't see how can i do that.

any idea how can I do that ?

thanks

-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


Re: Add new host to a pool XenServer

2014-08-13 Thread Hollman Enciso R.
On Wed, Aug 13, 2014 at 2:36 AM, Geoff Higginbottom 
geoff.higginbot...@shapeblue.com wrote:

 Hollman,

 After adding the new Host to the XenServer Cluster using XenCenter, you
 then need to add it to CloudStack as well.  Simply go to the appropriate
 Cluster within the CloudStack UI, select View Hosts, then Add Host, this
 will ensure the Host gets added to the correct Cluster.

 Regards


Thanks Geoff.

that's work.


-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


Add new host to a pool XenServer

2014-08-12 Thread Hollman Enciso R.
Hello all.

I have a cluster configured with 2 hosts (XS6.2) in XenCenter I added the
cluster to CloudStack and recognized the 2 hosts. Now I added a third host
to the cluster but CloudStack does not recognize it. what i have to do for
CloudStack recognize it?

I have to add the new host in CloudStack or it's possible to CloudStack
recognize this new host of the exist cluster?

thanks

-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


Re: help Adding Host - private ip of the server not compatible with the CIDR

2014-08-11 Thread Hollman Enciso R.
On Mon, Aug 11, 2014 at 10:11 AM, Ahmad Emneina aemne...@gmail.com wrote:

 Correct, its a hard rule. You can create another pod to house 10.0.x.x
 hardware to overcome this... Or re-IP the new host to fit in the 172
 network.


Thanks Ahmed.

I have tom make some changes now :(

regards

-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


Re: help Adding Host - private ip of the server not compatible with the CIDR

2014-08-10 Thread Hollman Enciso R.
No ideas or suggestions ?

someone know why the error log say that 10.0.9.64/16 it's not compatible
and and prevents add the host ?

thanks


On Fri, Aug 8, 2014 at 11:52 AM, Hollman Enciso R. hollman.enc...@gmail.com
 wrote:

 hello all.

 I'm trying to add new host to my CS management Server but i obtain an
 error.
 Searching on the log form some idea i obtaind that:

 The private ip address of the server (10.0.9.64) is not compatible with
 the CIDR of pod: Rack02 and zone: Cloud01

 Cloud01 it's my zone and has the CIDR 10.1.1.0/24

 The host had 10.0.6.3/255.255.0.0

 The POD had 172.17.0.0/24

 the complete log:
 http://paste.algolibre.com/117

 Any idea or recomendation ?

 thanks.

 --
 Hollman Eduardo Enciso R.
 http://algolibre.com
 @hollman




-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


help Adding Host - private ip of the server not compatible with the CIDR

2014-08-08 Thread Hollman Enciso R.
hello all.

I'm trying to add new host to my CS management Server but i obtain an error.
Searching on the log form some idea i obtaind that:

The private ip address of the server (10.0.9.64) is not compatible with the
CIDR of pod: Rack02 and zone: Cloud01

Cloud01 it's my zone and has the CIDR 10.1.1.0/24

The host had 10.0.6.3/255.255.0.0

The POD had 172.17.0.0/24

the complete log:
http://paste.algolibre.com/117

Any idea or recomendation ?

thanks.

-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


Best way / recommended HA database for CS

2014-07-23 Thread Hollman Enciso R.
Hello all.

I have read several threads on the mailing list about high availability and
replication CloudStack database; but now I want to know the best way or
the  recomended for production deployment.

I currently have replication on 2 databases servers as explained in the
manual
http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/optional_installation.html#database-replication-optional
but this is the most recommended?

thanks.

-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


Re: Help with CloudStack using Local Storage

2014-07-11 Thread Hollman Enciso R.
On Fri, Jul 11, 2014 at 12:01 AM, Harikrishna Patnala 
harikrishna.patn...@citrix.com wrote:

 Download vhd-util @
 http://download.cloud.com.s3.amazonaws.com/tools/vhd-util, copy to
 /opt/xensource/bin and /opt/cloud/bin on XenServer and give executable
 permissions(a+x)


thanks a lot.

it works now :D


-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


Re: force to install template

2014-07-10 Thread Hollman Enciso R.
On Wed, Jul 9, 2014 at 6:45 PM, Nux! n...@li.nux.ro wrote:

 Hi,

 Has rebooting the Secondary Storage VM accomplished anything?


yes.

it works just restarting the SSVM

thanks


-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


Re: Help with CloudStack using Local Storage

2014-07-10 Thread Hollman Enciso R.
On Thu, Jul 10, 2014 at 11:54 AM, Ian Duffy i...@ianduffy.ie wrote:

 Hi Hollman,

 To bring up your system vms on a hypervisor with primary storage supplied
 by local storage you will need to change the Global settings option
 for system.vm.use.local.storage to be true.

 You will need to create new service offerings and disk offerings as
 required to enable local storage to be used on user brought up vms.

 Hope this helps


Thanks for answer.


I changed the option in global settings system.vm.use.local.storage to true.

Now. the system offering System Offering For Secondary Storage VM and
System Offering For Console Proxy said that the Storage Type are local
But. they use the Small instance Compute offering that are shared storage
type and it's impossible to change it.

So. i created a new service offering with local storage. but now. How can I
define that the Secondary Storage VM and the Console Proxy use this service
offering?

In general. how can I change the default service offering for this VMM's ?


-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


Re: Help with CloudStack using Local Storage

2014-07-10 Thread Hollman Enciso R.
On Thu, Jul 10, 2014 at 1:40 PM, Ian Duffy i...@ianduffy.ie wrote:

  I changed the option in global settings system.vm.use.local.storage to
  true.

 Good, did you restart the management server after you did this?


Yeap.



  How can I define that the Secondary Storage VM and the Console Proxy use
  this service
  offering?
 

 No need to do this. The secondary storage vm and console proxy vm will go
 of the global setting option.


Really sure ? :P

ok, so i will start to configure the zone.

the last question:

Configuring the primary storage on the zone i have to choose preSetup and
put the Name of the Local Storage displayed on XenCenter (i'm using
XenServer 6.2 )?


-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


Re: Help with CloudStack using Local Storage

2014-07-10 Thread Hollman Enciso R.
On Thu, Jul 10, 2014 at 2:30 PM, Geoff Higginbottom 
geoff.higginbot...@shapeblue.com wrote:

 Hollman,

 When creating the zone, simply select the local storage option, cloudstack
 will then use the local storage on the Hosts


I've never seen this option on the first step of the zone configuration.
thank you.

Y start my zone but it's not work.

This it's the log if someone can help me
http://paste.algolibre.com/113

I identify some errors but i don't understand so much :

can not create vdi in sr 24d0e050-be32-f31a-aa93-0d6ce17d2d33

[StoragePool:1] is unreachable: Unable to create Vol[1|vm=1|ROOT]:

Exception while trying to start console proxy
Exception while trying to start secondary storage vm

Unable to acquire lock on VMTemplateStoragePool 7

any idea ?

thank for your help

-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


Re: Help with CloudStack using Local Storage

2014-07-10 Thread Hollman Enciso R.
On Thu, Jul 10, 2014 at 2:59 PM, Hollman Enciso R. hollman.enc...@gmail.com
 wrote:

 On Thu, Jul 10, 2014 at 2:30 PM, Geoff Higginbottom 
 geoff.higginbot...@shapeblue.com wrote:

 Hollman,

 When creating the zone, simply select the local storage option,
 cloudstack will then use the local storage on the Hosts


 I've never seen this option on the first step of the zone configuration.
 thank you.

 Y start my zone but it's not work.

 This it's the log if someone can help me
 http://paste.algolibre.com/113

 I identify some errors but i don't understand so much :

 can not create vdi in sr 24d0e050-be32-f31a-aa93-0d6ce17d2d33

 [StoragePool:1] is unreachable: Unable to create Vol[1|vm=1|ROOT]:

 Exception while trying to start console proxy
 Exception while trying to start secondary storage vm

 Unable to acquire lock on VMTemplateStoragePool 7

 any idea ?

 thank for your help


The storage status on the management Server UI

NameXSELNLAB01 Local StorageID24d0e050-be32-f31a-aa93-0d6ce17d2d33
StateUpStorage
Tags
ZoneCompuDev PodDevClusterXSELNLAB01TypeLVM IP Address10.0.8.20PathlvmDisk
Total224.88 GB Disk Allocated
IOPS Total

NamesecondaryURLnfs://10.0.50.11/secondary/secondary ProtocolnfsProviderNFS
ScopeZONE ZonecompuDevDetails
ID326316e2-d734-4ecb-97c5-b64ab6933357


-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


Re: Help with CloudStack using Local Storage

2014-07-10 Thread Hollman Enciso R.
On Thu, Jul 10, 2014 at 3:04 PM, Geoff Higginbottom 
geoff.higginbot...@shapeblue.com wrote:

 Are you seeing anything getting created on local storage, logs look like
 they are reporting problems locking the storage


on the XenServer i found the /var/log/cloud/vmops.log file

http://paste.algolibre.com/114

error copying from the Secondary Storage to the Primary Storage (XenServer)
?

-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


Re: Help with CloudStack using Local Storage

2014-07-10 Thread Hollman Enciso R.
On Thu, Jul 10, 2014 at 3:43 PM, Geoff Higginbottom 
geoff.higginbot...@shapeblue.com wrote:

 Check the settings for the NFS on the Secondary Storage Server, make sure
 you have used rw,async,no_root_squash etc


yes.

I mounted the nfs under XenServer and works ok

root@XSELNLAB01 ~]# mount -t nfs 10.0.50.11:/secondary/secondary
/mnt/testsec/
[root@XSELNLAB01 ~]# df -h
FilesystemSize  Used Avail Use% Mounted on
/dev/sda1 4.0G  1.9G  1.9G  51% /
none  373M   28K  373M   1% /dev/shm
/opt/xensource/packages/iso/XenCenter.iso
   52M   52M 0 100% /var/xen/xc-install
10.0.50.11:/secondary/secondary
  144G  2.7G  134G   2% /mnt/testsec


-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


force to install template

2014-07-09 Thread Hollman Enciso R.
Hello.

it's possible to force the installation of a template?

I recently installed and configure my zone. the template of centos started
to download and finished ok.
but on the CS manager in the templates menu (CentOS 5.6(64-bit) no GUI
(XenServer)) show me the status message:

Template download is already in progress or already downloaded.

any idea to proceed wit the installation?

thanks

-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


Re: Examples of configuring DB HA?

2014-06-05 Thread Hollman Enciso R.
On Thu, Jun 5, 2014 at 8:16 PM, Adrian Lewis adr...@alsiconsulting.co.uk
wrote:

 Hi all,



 Does anyone have any example configs or blog posts explaining the DB HA
 features introduced in 4.3? Between the section in the design docs on the
 wiki and the official docs, I’m a little confused as to how it’s supposed
 to be set up – they appear to differ although there’s a lot more detail in
 the design docs. Some of it is clearly MySQL stuff that’s outside of
 Cloudstack but some of it is Cloudstack config as well. I’m just trying to
 get a feel for what is the best way to use what’s made it into 4.3 final
 (if different to the design docs). I’m not too strong on MySQL so I can’t
 easily work out what’s a requirement, what’s just recommended (and
 implications) and what the Cloudstack side actually does. Is the CS side
 purely for failover or does it actually set up part of the replication for
 you? Can you easily enable an existing DB for HA or is this best done
 before there’s any data? Before you run cloudstack-setup-databases?



 Shanker – I don’t suppose this subject could add to your already excellent
 blog post collection?



 Thanks in advance,


Hi. i have the same problem/restlessness and i think the same about the
doc. On this part it's a little confused.

I identify that you need to install all the management-servers before
deploy the mySQL HA, for example if you will think to add a new management
server after de MySQL HA it's not possible if so will erase all data from
the DB (on my personal experience)

so my  step by step was:

install the management server's accord the official 4.3 doc

install mysql server on the 2 database servers (master and slave)

#yum install mysql-server

edit the MySQL configuration /etc/my.cnf q

MASTER

[mysqld]

innodb_rollback_on_timeout=1

innodb_lock_wait_timeout=600

max_connections=700

binlog-format = 'ROW'

bind-address = 0.0.0.0

datadir=/var/lib/mysql

log-bin=mysql-bin

server_id=1

SLAVE

[mysqld]

innodb_rollback_on_timeout=1

innodb_lock_wait_timeout=600

max_connections=700

binlog-format = 'ROW'

datadir=/var/lib/mysql

server_id=2

log-bin=mysql-bi

On both servers grant privileges to root account


mysqlGRANT ALL PRIVILEGES ON *.* TO 'root'@'192.168.x.%' WITH GRANT OPTION;

now add an account for replication

# mysql -u root
mysql create user 'cloud-repl'@'192.168.1.%' identified by 'password';
mysql grant replication slave on *.* TO 'cloud-repl'@'192.168.1.%';
mysql flush privileges;
mysql flush tables with read lock;

On master:

mysql show master status;
+--+--+--+--+
| File | Position | Binlog_Do_DB | Binlog_Ignore_DB |
+--+--+--+--+
| mysql-bin.01 |  412 |  |  |
+--+--+--+--+

“don't forget the file and the position”

then

mysql unlock tables;

on the Slave:

mysql change master to
- master_host='192.168.1.16',
- master_user='cloud-repl',
- master_password='password',
- master_log_file='mysql-bin.01',
- master_log_pos=412;

now start the slave:


mysql start slave;

I have 3 management servers with a  centralised database on cluster

I will write a blogpost in a few days with all the process.

some references:

http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/choosing_deployment_architecture.html

http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/installation.html?highlight=separate%20node#install-database-on-separate-node

http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/latest/reliability.html?highlight=high%20availability#database-high-availability

-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


Re: Xen V.S KVM CloudStack Supportability

2014-06-03 Thread Hollman Enciso R.
maybe this can help you

http://www.slideshare.net/TimMackey/hypervisor-31754727


On Tue, Jun 3, 2014 at 7:42 AM, hossein zabolzadeh zabolza...@gmail.com
wrote:

 Hi there,
 I want to know which cloudstack claimed features will be disabled if I
 switch from Xen to KVM hypervisor?




-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


Re: X on CentOS instance

2014-05-28 Thread Hollman Enciso R.
On Tue, May 27, 2014 at 8:25 PM, Kirk Kosinski kirkkosin...@gmail.comwrote:

 Hi, this is due to PV mode VMs on XenServer not having a virtual
 graphics card.  The console for such VMs is a serial console so X cannot
 run.  If you need a GUI, try configuring VNC in the VM and connect
 directly using a VNC client.

 Best regards,
 Kirk


hello.I kept doing tests and this was the result:

1. y change the iso OS type to Other (64 bits) and made an installation of
CentOS 6.5 with the default option of installation on the grub (Install or
upgrade an existing system) and the result it's the same. the X not work.

2. The same iso with the same OS type (other (64 bits)) but in the
installation menu i chose install system with basic video driver and work
Ok. the X starts without problem.

That's the only way to X starts ??? why this problem doesn't occur on
XenServer directly?

thanks to all


-- 
Hollman Eduardo Enciso R.
http://nexxuz.com
http://algolibre.com
@hollman


Re: X on CentOS instance

2014-05-27 Thread Hollman Enciso R.
The Xorg.0.log

http://paste.algolibre.com/112

some screens

http://algolibre.com/wp-content/uploads/Screenshot-from-2014-05-27-113414.png
http://algolibre.com/wp-content/uploads/Screenshot-from-2014-05-27-113408.png

I tested changing the OS type to: other 64 bits, Other 2.6 Linux 64 bits,
other Linux 64 bits and other Centos 64 bits but the result it's the same.

thanks for the help


On Mon, May 26, 2014 at 3:37 PM, Ahmad Emneina aemne...@gmail.com wrote:

 That should be plenty, what's happening in the Xorg.log files?

 Ahmad

  On May 26, 2014, at 12:15 PM, Hollman Enciso R. 
 hollman.enc...@gmail.com wrote:
 
  On Mon, May 26, 2014 at 12:36 PM, Ahmad Emneina aemne...@gmail.com
 wrote:
 
  how much memory have you dedicated to the VM? I'd also start poking
 around
  in the logs for X see if there are any clear pointers to why X doesnt
  start.
 
 
  6 vcpu 6gb ram
 
  --
  Hollman Eduardo Enciso R.
  http://nexxuz.com
  http://algolibre.com
  @hollman




-- 
Hollman Eduardo Enciso R.
http://nexxuz.com
http://algolibre.com
@hollman


Re: X on CentOS instance

2014-05-27 Thread Hollman Enciso R.
On Tue, May 27, 2014 at 12:47 PM, Ahmad Emneina aemne...@gmail.com wrote:

 looks like this is your issue:

 (EE) open /dev/fb0: No such device

 The guest cant find the frame buffer device. You should be able to google
 that up and hopefully find some solutions.


I'm looking for a solution to CloudStack level but not at the level of OS.

This happens to me whenever I do an installation of centos or redhat with
CloudStack.
I use the same iso on another hypervisor not managed by CloudStack and works
ok

I tested another iso and install new instances (RedHat and CentOS / with
graphicall enviorement) and the result it's the same :(


-- 
Hollman Eduardo Enciso R.
http://nexxuz.com
http://algolibre.com
@hollman


X on CentOS instance

2014-05-26 Thread Hollman Enciso R.
Hello, I am trying to install a centos with graphical environment but has
not been possible.

When uploading the iso to CloudStack I choose CentOS 6.4 64-bit, Other
CentOS 64-bits, but it's not working for me :(

the install process work with graphicall enviorement but then i restart the
OS and the X not works

any idea?

thanks

-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


Re: X on CentOS instance

2014-05-26 Thread Hollman Enciso R.
On Mon, May 26, 2014 at 12:26 PM, Nux! n...@li.nux.ro wrote:

 Hi,

 What is your hypervisor? CentOS should work at least with the Vesa driver.
 If you are after graphical UI then I recommend you use FreeNX/OpenNX, it's
 way smoother and doesn't require you run the VM in level 5.

 HTH
 Lucian


thanks for your reply.

It's XenServer

i recently try with a centOS 6.5 liveCD and when the boots end but the
graphical
environment not load

the image is distorts while constantly tries to load but eventually it fails


-- 
Hollman Eduardo Enciso R.
http://nexxuz.com
http://algolibre.com
@hollman


Re: X on CentOS instance

2014-05-26 Thread Hollman Enciso R.
On Mon, May 26, 2014 at 12:36 PM, Ahmad Emneina aemne...@gmail.com wrote:

 how much memory have you dedicated to the VM? I'd also start poking around
 in the logs for X see if there are any clear pointers to why X doesnt
 start.



6 vcpu 6gb ram

-- 
Hollman Eduardo Enciso R.
http://nexxuz.com
http://algolibre.com
@hollman


Re: Cloudstack:: cloud_usage table empty

2014-05-23 Thread Hollman Enciso R.
Any idea with this error ?

Starting CloudStack Usage Monitor cloudstack-usage23/05/2014 15:15:22 7
jsvc error: Cannot locate Java Home
cat: /var/run/cloudstack-usage.pid: No such file or directory
[FAILED]

It's show starting the daemon cloudstack-usage.




On Thu, May 22, 2014 at 11:37 PM, Rajani Karuturi 
rajani.karut...@citrix.com wrote:

 you might want to look at
 https://issues.apache.org/jira/browse/CLOUDSTACK-6360 and the commits.


 ~Rajani



 On 23-May-2014, at 3:49 am, Fabrice Brazier fabrice.braz...@apalia.net
 mailto:fabrice.braz...@apalia.net wrote:

 Hi Saulo,

 There was an issue with mysql connector. Starting 4.3 mysql connector is no
 longer bundled with ACS.
 I created a symbolic link to make it available to usage server:
 ln -s /usr/share/java/mysql-connector-java.jar
 /usr/share/cloudstack-usage/lib/mysql-connector-java.jar

 This issue is being added to 4.3 release docs.

 Usage server  is working fine now.

 Regards,
 Fabrice Brazier
 Le 23 mai 2014 00:14, Saulo Zimbaro saulozimb...@gmail.commailto:
 saulozimb...@gmail.com a écrit :

 My cloud_usage table still empty. When I start cloudstack-usage I got error
 bellow:


 Caused by: java.sql.SQLException: No suitable driver found for


 jdbc:mysql://localhost:3306/cloud?autoReconnect=trueprepStmtCacheSize=517cachePrepStmts=true
at java.sql.DriverManager.getConnection(DriverManager.java:635)
at java.sql.DriverManager.getConnection(DriverManager.java:195)
at


 org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:75)
at


 org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
at


 org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1188)
at


 org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:106)
at


 com.cloud.utils.db.TransactionLegacy.getConnection(TransactionLegacy.java:556)
at


 com.cloud.utils.db.TransactionLegacy.prepareStatement(TransactionLegacy.java:467)
at


 com.cloud.utils.db.TransactionLegacy.prepareAutoCloseStatement(TransactionLegacy.java:460)
at


 com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(GenericDaoBase.java:394)


 I use cloudstack 4.3 and works fine.


 --
 *Saulo Zimbaro*

 Mobile ) (+55) 21 99800-0100

 *saulozimb...@gmail.commailto:saulozimb...@gmail.com

 *sa...@zimbaro.commailto:sa...@zimbaro.com





-- 
Hollman Eduardo Enciso R.
http://nexxuz.com
http://algolibre.com
@hollman


Re: help: any body maintaining cloud blogs...???

2014-03-31 Thread Hollman Enciso R.
i have one in spanish :P

http://algolibre.com/tag/cloudstack/


On Mon, Mar 31, 2014 at 9:10 AM, abhisek basu abhisekb...@msn.com wrote:

 I have started blogging regarding ACS as well in
 http://abhisekbasu.wordpress.com/

 Sent from my iPhone

  On 31 Mar 2014, at 7:05 pm, Antone Heyward thehyperadvi...@gmail.com
 wrote:
 
  I've posted some starters with ACS and will do more updated ones now with
  4.3.
 
  http://thehyperadvisor.com
 
 
  On Mon, Mar 31, 2014 at 4:16 AM, anil lakineni 
  anilkumar459.lakin...@gmail.com wrote:
 
  thanQ guys..
 
  regards,
  Anil Kumar Lakineni
 
 
  On Sun, Mar 30, 2014 at 9:18 PM, sebgoa run...@gmail.com wrote:
 
 
  On Mar 29, 2014, at 9:22 PM, Nux! n...@li.nux.ro wrote:
 
  On 29.03.2014 19:40, raja sekhar wrote:
  hello guys,
  provide some material blogs to learn about apache cloud-stack ,apart
  from
  apache cloud-stack organization..please..
  thanks  regards,
  rajsekhar.
 
  Hello,
 
  If you googled seriously you would have found some sites.
  The following have many articles on ACS:
  http://shankerbalan.net/
  http://shapeblue.com/blog/
 
  I like mine too :)
 
  http://sebgoa.blogspot.com
 
  and http://buildacloud.org
 
 
 
 
  HTH
  Lucian
 
  --
  Sent from the Delta quadrant using Borg technology!
 
  Nux!
  www.nux.ro
 
 
 
  --
  Antone
  @thehyperadvisor
  http://thehyperadvisor.com




-- 
Hollman Eduardo Enciso R.
http://nexxuz.com
http://algolibre.com
@hollman


Re: [ANNOUNCE] Apache CloudStack 4.3.0 Released

2014-03-26 Thread Hollman Enciso R.
will be available in the repositories to update with yum update?


On Tue, Mar 25, 2014 at 9:05 AM, Chip Childers chipchild...@apache.orgwrote:

 Announcing Apache CloudStack 4.3.0

 Tue Mar 25 2014 09:47:06 GMT-0400 (EDT)

 Flexible, scalable, Open Source Infrastructure as a Service (IaaS) used
 by organizations such as Zynga, Datapipe, and ISWest, among others, for
 creating, managing, and deploying public, private, and hybrid Cloud
 Computing environments

 Forest Hill, MD --25 March 2014-- The Apache Software Foundation (ASF),
 the all-volunteer developers, stewards, and incubators of more than 170
 Open Source projects and initiatives, today announced Apache CloudStack
 v4.3, the latest feature release of the CloudStack cloud orchestration
 platform.

 Apache CloudStack is an integrated Infrastructure-as-a-Service (IaaS)
 software platform that allows users to build feature-rich public,
 private, and hybrid cloud environments. CloudStack includes an intuitive
 user interface and rich APIs for managing the compute, networking,
 software, and storage infrastructure resources. CloudStack became an
 Apache Top-level Project (TLP) in March 2013. We are proud to announce
 CloudStack v4.3, said Hugo Trippaers, Vice President of Apache
 CloudStack. This release represents over six months of work from the
 Apache CloudStack community with many new and improved features.

 Under The Hood

 CloudStack V4.3 is the next feature release of the 4.x line which first
 released on November 6, 2012. Some of the noteworthy new and improved
 features include:

 - Support for Microsoft Hyper-V - Apache CloudStack can now manage Hyper-V
   hypervisors in addition to KVM, XenServer, VMware, LXC, and Bare Metal
 - Juniper OpenContrail integration - OpenContrail is a software defined
   networking controller from Juniper that CloudStack now integrates with
   to provide SDN services
 - SSL Termination support for guest VMs - Apache CloudStack can configure
   and manage SSL termination in certain load balancer devices
 - Palo Alto Firewall integration - Apache CloudStack can now manage and
   configure Palo Alto firewalls
 - Remote access VPN for VPC networks - CloudStack's remote access VPN is
   now available for Virtual Private Cloud networks
 - Site to Site VPN between VRs - CloudStack now allows site-to-site VPN
   connectivity to it's virtual routing devices. This permits your cloud
   computing environment to appear as a natural extension of your local
   network, or for you to easily interconnect multiple environments
 - VXLAN support expansion to include KVM - CloudStack's support for
   integrating VXLAN, the network virtualization technology that attempts
   to ameliorate scalability problems with traditional networking
 - SolidFire plugin extension to support KVM and hypervisor snapshots for
   XenServer and ESX - SolidFire provides guaranteed Storage Quality of
   Service at the Virtual Machine level
 - Dynamic Compute offering - CloudStack now has the ability to dynamically
   scale the resources assigned to a running virtual machine instance for
   those hypervisors which support it

 Downloads and Documentation

 The official source code for the v4.3 release, as well as individual
 contributors' convenience binaries, can be downloaded from the Apache
 CloudStack downloads page at http://cloudstack.apache.org/downloads.html

 The CloudStack 4.2 release includes over 110 issues from 4.2.0 and
 4.2.1, including fixes for object storage support, documentation, and
 more. A full list of corrected issues and upgrade instructions are
 available in the Release Notes
 http://docs.cloudstack.apache.org/projects/cloudstack-release-notes

 Official installation, administration, and API documentation for each
 release is available at http://docs.cloudstack.apache.org/en/latest/
 Apache CloudStack in Action

 Join members of the Apache CloudStack community at the CloudStack
 Collaboration Conference, taking place 9-11 April 2014 immediately
 following ApacheCon. For more information, visit
 http://cloudstackcollab.org

 Availability and Oversight

 As with all Apache products, Apache CloudStack v4.3 is released under
 the Apache License v2.0, and is overseen by a self-selected team of
 active contributors to the project. A Project Management Committee (PMC)
 guides the Project’s day-to-day operations, including community
 development and product releases. For documentation and ways to become
 involved with Apache CloudStack, visit http://cloudstack.apache.org/

 About The Apache Software Foundation (ASF)

 Established in 1999, the all-volunteer Foundation oversees more than one
 hundred and seventy leading Open Source projects, including Apache HTTP
 Server --the world's most popular Web server software. Through the ASF's
 meritocratic process known as The Apache Way, more than 400 individual
 Members and 3,500 Committers successfully collaborate to develop freely
 available enterprise-grade software, benefiting millions of 

Re: no VM statistics

2014-03-03 Thread Hollman Enciso R.
Thanks a lot Madan and Geoff


Re: help deleting a virtual router

2014-01-30 Thread Hollman Enciso R.
even. the instance is not associated with any account

http://algolibre.com/wp-content/uploads/vr_no_account.png

how can I delete this vr ?


On Thu, Jan 30, 2014 at 9:29 AM, Hollman Enciso R. hollman.enc...@gmail.com
 wrote:

 I deleted all instances of an account. then I removed the account. this
 account has created a virtual router. this virtual router will
 automatically be deleted? how do I delete the virtual router that is
 occupying me a public IP?

 thanks

 --
 Hollman Eduardo Enciso R.
 http://nexxuz.com
 http://algolibre.com http://www.hollmanenciso.com/
 @hollman




-- 
Hollman Eduardo Enciso R.
http://nexxuz.com
http://algolibre.com http://www.hollmanenciso.com/
@hollman


Re: help deleting a virtual router

2014-01-30 Thread Hollman Enciso R.
On Thu, Jan 30, 2014 at 9:46 AM, Vadim Kimlaychuk vadim.kimlayc...@elion.ee
 wrote:

 Login to xenserver1 and execute:

 xe vm-list (to get uuids)
 xe vm-uninstall uuid = (v-XX uuid)

 I believe that will help.

 Vadim.


Not work.

finally y force to stopped the VM, then i delete the vr and it works.
cloudstack released the public ip.

thanks


-- 
Hollman Eduardo Enciso R.
http://nexxuz.com
http://algolibre.com http://www.hollmanenciso.com/
@hollman


Re: Enabling SSL in the CloudStack

2014-01-29 Thread Hollman Enciso R.
On Wed, Jan 29, 2014 at 3:44 AM, Shanker Balan
shanker.ba...@shapeblue.comwrote:

 I prefer using Apache HTTP + SSL server for terminating SSL
 locally on the management server.


 http://shankerbalan.net/blog/securing-cloudstack-management-ui-with-apache-ssl/


thanks!



-- 
Hollman Eduardo Enciso R.
http://nexxuz.com
http://algolibre.com http://www.hollmanenciso.com/
@hollman


Re: Enabling SSL in the CloudStack

2014-01-29 Thread Hollman Enciso R.
On Tue, Jan 28, 2014 at 4:35 PM, Kristoffer Sheather @ CloudCentral 
kristoffer.sheat...@cloudcentral.com.au wrote:

 Hi Hollman,

 I'd recommend fronting your CloudStack installation with a load balancer
 and terminating the SSL sessions there.  This will work well even if you
 only have a single management server behind the load balancer.

 You gain the added benefit of being able to scale your management cluster
 out without changing the front end IP address serving the portal / API.

 Most load balancers like Citrix NetScaler will work well, or you could use
 an open source solution such as HAproxy - the latest development builds
 support native SSL termination



yeap. you're right

I'm on testing enviroment.

At this moment I have not a netscaler. but thanks for the recomendation

-- 
Hollman Eduardo Enciso R.
http://nexxuz.com
http://algolibre.com http://www.hollmanenciso.com/
@hollman


Enabling SSL in the CloudStack

2014-01-28 Thread Hollman Enciso R.
Hello.

How can i enable SSL on CS interface ?

I found that
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Enabling+SSL+in+the+CloudStack+UI

but it's for old versions :(

I have CS 4.2.1



-- 
Hollman Eduardo Enciso R.
http://nexxuz.com
http://algolibre.com http://www.hollmanenciso.com/
@hollman


Re: change role to user

2014-01-23 Thread Hollman Enciso R.
On Thu, Jan 23, 2014 at 4:20 AM, Geoff Higginbottom 
geoff.higginbot...@shapeblue.com wrote:

 Hollman,

 It’s the Account, not the User that has the permissions.

 In the 'account' table, you could try changing the 'type' field from 0
 (user) to 1 (Domain Admin), but I have not tried this myself so please test
 on a test system and not a production system



Geoff thanks a lot!!

it works updating the database. In my case

update account set type=1 where id=8 -- Super admin
update account set type=2 where id=8 -- Domain Admin

Best regards

IMHO I think that this option it's neccesary in the UI :P




-- 
Hollman Eduardo Enciso R.
http://nexxuz.com
http://algolibre.com http://www.hollmanenciso.com/
@hollman


Re: force expunge disks

2014-01-22 Thread Hollman Enciso R.
You have to wait the interval configured on global settings:


expunge.delayDetermines how long (in seconds) to wait before actually
expunging destroyed vm. The default value = the default value of
expunge.interval


expunge.intervalThe interval (in seconds) to wait before running the
expunge thread.

I can't remember the default time, i think that it's 42 hours. i Change it
to 1 hour (in seconds)

and that's it


On Wed, Jan 22, 2014 at 11:24 AM, Pierre-Luc Dion pd...@cloudops.comwrote:

 I'm stuck with some disks with Expunging state. The the VDI for the
 hypervisor is gone but the disk in Cloudstack remain in Expunging state. is
 their a way to  force expunging them or updating the database to reflect
 the proper state of the disk ?

 I'm tempted to execute following SQL queries but would I miss entries
 somewhere else?

 update volumes set removed='2014-01-16 18:57:25', state='Expunged',
 display_volume=0 WHERE name='DATA-1442' LIMIT 1;
 update volume_view set removed='2014-01-16 18:57:25', state='Expunged',
 display_volume=0 WHERE name='DATA-1442' LIMIT 1;


 Thanks,

 Pierre-Luc Dion
 Architecte de Solution Cloud | Cloud Solutions Architect
 514-447-3456, 1101
 - - -

 *CloudOps*420 rue Guy
 Montréal QC  H3J 1S6
 www.cloudops.com
 @CloudOps_




-- 
Hollman Eduardo Enciso R.
http://nexxuz.com
http://algolibre.com http://www.hollmanenciso.com/
@hollman


Translation

2014-01-20 Thread Hollman Enciso R.
Hello allI can see that CloudStack it's not correctly translated. so I
wanna know how can translate it to spanish (my native language) and send it
to new releases ?

regards

-- 
Hollman Eduardo Enciso R.
http://nexxuz.com
http://algolibre.com http://www.hollmanenciso.com/
@hollman


Re: Translation

2014-01-20 Thread Hollman Enciso R.
translating this file?

/usr/share/cloudstack-management/webapps/client/WEB-INF/classes/resources/messages_es.properties


On Mon, Jan 20, 2014 at 5:28 PM, Hollman Enciso R. hollman.enc...@gmail.com
 wrote:

 Hello allI can see that CloudStack it's not correctly translated. so I
 wanna know how can translate it to spanish (my native language) and send it
 to new releases ?

 regards

 --
 Hollman Eduardo Enciso R.
 http://nexxuz.com
 http://algolibre.com http://www.hollmanenciso.com/
 @hollman




-- 
Hollman Eduardo Enciso R.
http://nexxuz.com
http://algolibre.com http://www.hollmanenciso.com/
@hollman


Re: Translation

2014-01-20 Thread Hollman Enciso R.
On Mon, Jan 20, 2014 at 5:48 PM, Erik Weber terbol...@gmail.com wrote:

 You could do it on transifex :-)

 https://www.transifex.com/projects/p/CloudStack_UI/


thanks


-- 
Hollman Eduardo Enciso R.
http://nexxuz.com
http://algolibre.com http://www.hollmanenciso.com/
@hollman


Re: just 2 questions

2014-01-15 Thread Hollman Enciso R.
On Tue, Jan 14, 2014 at 5:37 PM, Geoff Higginbottom 
geoff.higginbot...@shapeblue.com wrote:

 If you need to, I believe you can resize the Root Volume on the
 Hypervisor, but obviously this will have be completed by Admins with
 Hypervisor access, and not normal users


Hi Geoff

yeap. I stopped the instance, then in XenServer I resize the root disk and
work ok. but, CloudStack show me the wrong size :(

No more options ?

regards

-- 
Hollman Eduardo Enciso R.
http://nexxuz.com
http://algolibre.com http://www.hollmanenciso.com/
@hollman


Re: just 2 questions

2014-01-15 Thread Hollman Enciso R.
On Wed, Jan 15, 2014 at 8:39 AM, Geoff Higginbottom 
geoff.higginbot...@shapeblue.com wrote:

 You can modify the 'size' column in the 'volumes' table to reflect the new
 expanded size.

 e.g. I just changed a 20GB root volume to 30GB.

 20GB = 21474836480
 30GB = 32212254720

 After stopping then starting the VM, it is still reporting the size as 30GB

 The 'Primary Storage Allocated' in the Resources View also reflected the
 change, but only after the system refreshed the resource usage info.


It works!

Thanks a lot!


-- 
Hollman Eduardo Enciso R.
http://nexxuz.com
http://algolibre.com http://www.hollmanenciso.com/
@hollman


Re: just 2 questions

2014-01-14 Thread Hollman Enciso R.
On Thu, Jan 9, 2014 at 10:27 AM, Shanker Balan
shanker.ba...@shapeblue.comwrote:

  1. it's possible expand the hard drive for an instance? how ?

 You can’t resize the “root” disk as of now. A data disk can be resized.


 http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Admin_Guide/working-with-volumes.html


do you know if this option will be ported in a new version of CloudStack?



-- 
Hollman Eduardo Enciso R.
http://nexxuz.com
http://algolibre.com http://www.hollmanenciso.com/
@hollman


Re: problem converting a snapshoot to a template

2014-01-09 Thread Hollman Enciso R.
On Thu, Jan 9, 2014 at 12:13 AM, Sanjeev Neelarapu 
sanjeev.neelar...@citrix.com wrote:

 Hi,

 Is your environment installed freshly with 4.2.0 or you uninstalled
 previous version of CS (say 3.x) and installed 4.2 on that?
 If yes please remove all the directories with name cloud and try again?
 This worked well for us in 4.2


It's a fresh installation of 4.2 in centOS with the CS repo


-- 
Hollman Eduardo Enciso R.
http://nexxuz.com
http://algolibre.com http://www.hollmanenciso.com/
@hollman


just 2 questions

2014-01-09 Thread Hollman Enciso R.
Hello All. i have 2 small questions.


1. it's possible expand the hard drive for an instance? how ?

2. It's possible change the service to an instance resource increase and
decrease with the instance running ? how ?

Thanks

-- 
Hollman Eduardo Enciso R.
http://nexxuz.com
http://algolibre.com http://www.hollmanenciso.com/
@hollman


Re: just 2 questions

2014-01-09 Thread Hollman Enciso R.
On Thu, Jan 9, 2014 at 10:27 AM, Shanker Balan
shanker.ba...@shapeblue.comwrote:

 Hi Hollman,

 comments inline.

 On 09-Jan-2014, at 8:19 pm, Hollman Enciso R. hollman.enc...@gmail.com
 wrote:

  Hello All. i have 2 small questions.
 
 
  1. it's possible expand the hard drive for an instance? how ?

 You can’t resize the “root” disk as of now. A data disk can be resized.


 http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Admin_Guide/working-with-volumes.html


 
  2. It's possible change the service to an instance resource increase and
  decrease with the instance running ? how ?

 The feature is called dynamic scaling.


 http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Admin_Guide/changing-service-offering-for-vm.html#change-cpu-ram-for-vm


Thanks for your reply. I just have have a problem with the 2nd.

I enable the enable.dynamic.scale.vm on global settings and on the zone
settings. then install the tools on the VM instance, reboot the system 2
times (for the installatión)

then i try to scale the cpu and ram but i obtain a message that say that no
have tools installed
http://algolibre.com/wp-content/uploads/No_Scaling.png

The log say the same.

any idea ?

thanks

-- 
Hollman Eduardo Enciso R.
http://nexxuz.com
http://algolibre.com http://www.hollmanenciso.com/
@hollman


Re: just 2 questions

2014-01-09 Thread Hollman Enciso R.
On Thu, Jan 9, 2014 at 3:38 PM, Hollman Enciso R.
hollman.enc...@gmail.comwrote:

  2. It's possible change the service to an instance resource increase and
  decrease with the instance running ? how ?

 The feature is called dynamic scaling.


 http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Admin_Guide/changing-service-offering-for-vm.html#change-cpu-ram-for-vm


 Thanks for your reply. I just have have a problem with the 2nd.

 I enable the enable.dynamic.scale.vm on global settings and on the zone
 settings. then install the tools on the VM instance, reboot the system 2
 times (for the installatión)

 then i try to scale the cpu and ram but i obtain a message that say that
 no have tools installed
 http://algolibre.com/wp-content/uploads/No_Scaling.png

 The log say the same.

 any idea ?


i stopped the instance, then change the service offering, started again the
instance and work ok, but the idea it's in hot  swapping


-- 
Hollman Eduardo Enciso R.
http://nexxuz.com
http://algolibre.com http://www.hollmanenciso.com/
@hollman


Re: just 2 questions

2014-01-09 Thread Hollman Enciso R.
On Thu, Jan 9, 2014 at 3:54 PM, Hollman Enciso R.
hollman.enc...@gmail.comwrote:

 On Thu, Jan 9, 2014 at 3:38 PM, Hollman Enciso R. 
 hollman.enc...@gmail.com wrote:

  2. It's possible change the service to an instance resource increase and
  decrease with the instance running ? how ?

 The feature is called dynamic scaling.


 http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Admin_Guide/changing-service-offering-for-vm.html#change-cpu-ram-for-vm


 Thanks for your reply. I just have have a problem with the 2nd.

 I enable the enable.dynamic.scale.vm on global settings and on the zone
 settings. then install the tools on the VM instance, reboot the system 2
 times (for the installatión)

 then i try to scale the cpu and ram but i obtain a message that say that
 no have tools installed
 http://algolibre.com/wp-content/uploads/No_Scaling.png

 The log say the same.

 any idea ?


 i stopped the instance, then change the service offering, started again
 the instance and work ok, but the idea it's in hot  swapping


It's neccesary to enable Dynamically Sacalable ckeck box on the Details of
the instance ?
i check this option and repeat the procces to scale up my instance in hot
swapping and work ok
but. i check the resorces and i identify that the RAM assigned it's 16GB on
the VM but i just scale up to 5GB of RAM. Even I have not any service
offering with 16GB of RAM

The same procces on Linux Instance work ok. the problem it's just on Windows
http://algolibre.com/wp-content/uploads/dynamically_scalable.png



-- 
Hollman Eduardo Enciso R.
http://nexxuz.com
http://algolibre.com http://www.hollmanenciso.com/
@hollman


Re: limit setting firewall

2014-01-08 Thread Hollman Enciso R.
On Tue, Jan 7, 2014 at 10:41 PM, Dave Hoffman david.hoff...@appcore.comwrote:

 You can edit what each user type can view by adding/removing options from

 /usr/share/cloudstack-management/webapps/client/scripts/cloudStack.js

 Default:

   else { //normal user
 return [dashboard, instances, storage, network,
 templates, accounts, events];

 Without Network:

   else { //normal user
 return [dashboard, instances, storage, templates,
 accounts, events];

 More information on UI customization:
 http://www.slideshare.net/cloudstack/cloudstack-ui-customization


Dave.

Thanks a lot for the reference and for your help.



-- 
Hollman Eduardo Enciso R.
http://nexxuz.com
http://algolibre.com http://www.hollmanenciso.com/
@hollman


Re: issue creating a template with some service offering

2014-01-08 Thread Hollman Enciso R.
On Wed, Jan 8, 2014 at 9:47 AM, Daan Hoogland daan.hoogl...@gmail.comwrote:


 Do your hypervisors support this?


Yes.

I made a test creating a new VM directly on the hypervisor with the same
resources (x3) and work ok


-- 
Hollman Eduardo Enciso R.
http://nexxuz.com
http://algolibre.com http://www.hollmanenciso.com/
@hollman


Re: issue creating a template with some service offering

2014-01-08 Thread Hollman Enciso R.
On Wed, Jan 8, 2014 at 10:05 AM, Erik Weber terbol...@gmail.com wrote:

 As Daan said, check that your hypervisors report the CPUs are 3.00GHz or
 more and not something like 2.99GHz.

 I had a similar issue where 2.0GHz CPUs actually reported with a speed of
 1.99GHz and subsequently my 2GHz offerings didn't work.

 Regards,
 Eri


yeap.

that's the problem.

my hypervisor it's 2.4GHZ and i made a service offering with 3GHz.

thanks


-- 
Hollman Eduardo Enciso R.
http://nexxuz.com
http://algolibre.com http://www.hollmanenciso.com/
@hollman


Some questinos about Accounts, Users Domains and Projects

2014-01-08 Thread Hollman Enciso R.
Hello, sorry for all my questions today but I have been several weeks working
with CloudStack.Learning and doing tests and there are some things I have
not managed to find in the documentation.

I wanna know some things about the delegation and control about resources
between accounts, users, domains and projects. I read in
http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Admin_Guide/accounts-users-domains.htmland
really i just wanna kwnow some things

1. If i create one doain-admin account. this account can i delegate to
create normal users ?

2. a domain account can limit some resources to the normal users in the
domain or in the project ?

3. a project admin can limit some resources to the normal users in the
project ?

The idea it's understand the diferences and limitations.

pd: excuse e my terrible english :P

-- 
Hollman Eduardo Enciso R.
http://nexxuz.com
http://algolibre.com http://www.hollmanenciso.com/
@hollman


Re: issue creating a template with some service offering

2014-01-08 Thread Hollman Enciso R.
Dave.

Thanks a lot.

the problem was that x3, x4 ... was created with 3 and 4 GHz. but my
hypervisor just support 2.4 GHz

Problem solved


On Wed, Jan 8, 2014 at 10:43 AM, Dave Hoffman david.hoff...@appcore.comwrote:

 It looks like your host is in an avoid set and cannot be used for
 deploying new vms.

 1.
2014-01-0809:10:42,798DEBUG[cloud.deploy.FirstFitPlanner](
 Job-Executor-5:job-43=[84f54047-8d50-47c0-b251-bb2798378806])Listing
clusters in order of aggregate capacity, that have(atleast one host
with)enough CPU and RAM capacity under this Zone:1
 2.
2014-01-0809:10:42,801DEBUG[cloud.deploy.FirstFitPlanner](
 Job-Executor-5:job-43=[84f54047-8d50-47c0-b251-bb2798378806])Removing
from the clusterId list these clusters from avoid set:[1]
 3.
2014-01-0809:10:42,804DEBUG[cloud.deploy.FirstFitPlanner](
 Job-Executor-5:job-43=[84f54047-8d50-47c0-b251-bb2798378806])No
clusters found after removing disabled clusters and clusters in
avoid list, returning.
 4.
2014-01-0809:10:42,808DEBUG[cloud.vm.UserVmManagerImpl](
 Job-Executor-5:job-43=[84f54047-8d50-47c0-b251-bb2798378806])Destroying
vm VM[User|userver]as it failed to create on Host with Id:null


 This typically happens when Cloudstack has an issue deploying on that host
 or cluster.  It will mark it as avoid and move to the next host/cluster if
 available.  I would look further up in your log to see if there was another
 issue prior to this one.

 Can you still deploy vms with the x2 service offering? x4?  Can you deploy
 multiple vms with the x2 in the environment?

 What version of XenServer are you runnings?  Try running
 xe-toolstack-restart on the host/pool master to force a refresh from
 Cloudstack.  If that doesn't work you may have to restart the host or
 remove the host from Cloudstack and add it back into Cloudstack.

 Also check your storage on the Host and/or SAN to make sure that is still
 communicating correctly.



 On 01/08/2014 08:29 AM, Hollman Enciso R. wrote:

 Hello all.

 I created 3 types of service.
 x2, x3 and x4

 x2 has 2 cores, 2GB of ram, 2.00 GHz
 x3 has 3 cores 3gb of ram, 3.00 GHz
 ...

 When I create an instance with x2 works ok, but when I deply a instance
 with

 to x2 I get some errors. this is the general log

 http://paste.algolibre.com/105

 Reading the log I identify 3 errors.

 1. SecurityGroup Service is not supported in the network id = 204
 I made a select from table networks with id = 204 and it is this:
 http://paste.algolibre.com/106

 2. Could not find suitable Deployment Destination for this VM under any
 clusters, returning.
 I do not know why

 3. Listing clusters in order of aggregate capacity, That have (atleast one
 host with) enough CPU and RAM capacity Under This Zone 1
 says that I have no resources in the area but If I have available

 I appreciate any help

 thanks





-- 
Hollman Eduardo Enciso R.
http://nexxuz.com
http://algolibre.com http://www.hollmanenciso.com/
@hollman


problem converting a snapshoot to a template

2014-01-08 Thread Hollman Enciso R.
Hello, i have a volume and to this volume i tooke a snapshoot. then i try
to conver the snapshoot in to a template. But i have the following problem.

the UI show me the following error:

Failed to create template
/usr/local/cloud/systemvm/scripts/storage/secondary/create_privatetemplate_from_snapshot_xen.sh:
line 65: /bin/vhd-util: Permission denied30#failed to query
/mnt/SecStorage/df01c799-874e-3ee6-9372-ca4d582be42e/snapshots/2/9/4c3ea37b-4d69-4471-9b71-26575a973145.vhd


i tried to read this file but this file doesn't exist on this path. i
search the file and it's located on:
/usr/share/cloudstack-common/scripts/storage/secondary/create_privatetemplate_from_snapshot_xen.sh

so i made a symbolink link from
/usr/share/cloudstack-common/scripts to
/usr/local/cloud/systemvm/
 This it's a bug or something wrong on my installation? - i have CS 4.2.0

And the second part of the error it's: failed to query
/mnt/SecStorage/df01c799-874e-3ee6-9372-ca4d582be42e/snapshots/2/9/4c3ea37b-4d69-4471-9b71-26575a973145.vhd:

this path not exist on my CS management, but i searched this file on my
secondary stoarge that it's a second server ith nfs i can located:

[root@nfs mnt]# find / -name 4c3ea37b-4d69-4471-9b71-26575a973145.vhd
/secondary/snapshots/2/9/4c3ea37b-4d69-4471-9b71-26575a973145.vhd

maybe the problem it's that on the management it's not mounted the nfs
server ?
it's extrage becouse i have my secondary storage OK and working uploading
isos, and snapshoots of instances


some idea ?

PD: this it's the log http://paste.algolibre.com/108



-- 
Hollman Eduardo Enciso R.
http://nexxuz.com
http://algolibre.com http://www.hollmanenciso.com/
@hollman


limit setting firewall

2014-01-07 Thread Hollman Enciso R.
Hello all.

I'm just wanna know if it's possible to remove the privilege to the users
to configure the firewall settings like nat, port forwarding etc.. ?

I want that just the administrator configure this.
It's possible?

thanks

-- 
Hollman Eduardo Enciso R.
http://nexxuz.com
http://algolibre.com http://www.hollmanenciso.com/
@hollman