Re: Xenserver cores per socket
You need to add this values to vm_template_details or user_vm_details tables for respective objects (depending if you want to have it on a template level for all new VM deployed from a template or on an individual VM) cpuid.coresPerSocket It works great on vmware and I assume the behavior will be the same on Xen. At this point you can’t add or change it in UI until this is implemented https://issues.apache.org/jira/browse/CLOUDSTACK-9457 With API you can use updateVirtualMachine updateTemplate supplying the setting in details key like this command=updateTemplate&details[0].cpuid.coresPerSocket=4 On 10/7/16, 9:15 AM, "Jānis Andersons | Failiem.lv" wrote: Is it possible and how to set cores per socket in CloudStack 4.8.0, XenServer 6.5, Shared storage. For now only way I know is to stop VM in XenServer and set cores per socket, and start it up again - but it keeps changing back to CloudStack settings. -- J Andersons
Xenserver cores per socket
Is it possible and how to set cores per socket in CloudStack 4.8.0, XenServer 6.5, Shared storage. For now only way I know is to stop VM in XenServer and set cores per socket, and start it up again - but it keeps changing back to CloudStack settings. -- J Andersons
Re: Cloudstack management server changing msid
Thanks…. That makes sense. I do have a bond for my NICs which means the OS will pick one of the underlying MACs for the bond MAC upon boot (and not always the same one). And since my NIC card has been replaced twice that is why my table looks like this: mysql> select id,hex(msid),runid,state,version,last_update,removed from mshost; ++--+---+---+-+-+-+ | id | hex(msid)| runid | state | version | last_update | removed | ++--+---+---+-+-+-+ | 1 | 90B11C2005CF | 1438989683052 | Up| 4.5.1 | 2016-02-24 23:11:01 | NULL| | 2 | C81F66E36518 | 1472507558962 | Up| 4.5.2.1 | 2016-09-23 16:30:06 | NULL| | 3 | C81F66E36516 | 1474876304188 | Up| 4.5.2.1 | 2016-09-26 07:54:20 | NULL| | 4 | 44A8421593B2 | 1475849685464 | Up| 4.5.2.1 | 2016-10-08 00:09:44 | NULL| | 5 | 44A8421593B0 | 1475199571333 | Up| 4.5.2.1 | 2016-09-30 02:01:31 | NULL| ++--+---+---+-+-+-+ 5 rows in set (0.00 sec) I’m going to set the hwaddress as you suggest to keep the bond MAC from changing. Should I mark the “old” msids removed? thank you! > On Oct 7, 2016, at 12:51 AM, Stephan Seitz > wrote: > > Hi Carlos, > > we encountered the same issue after introducing nic-bonding on the > management net which changed the MAC. > > The msid includes the MAC of the interface which has the service_ip > bound to. If that MAC changes, your management node encounters an > identity crisis ;) > > We solved that, by updating the msid field in the cloud.mshost table. > > The msid is the decimal representation of the MAC. So, in our case > 57177340185274 (dec) = 3400a30d0aba (hex) (34:00:a3:0d:0a:ba) > > This currently shows: > > mysql> select * from mshost where id=1 \G > *** 1. row *** > id: 1 > msid: 57177340185274 <--- >runid: 1474366224657 > name: acs-management-1 >state: Up > version: 4.9.0 > service_ip: 10.97.13.1 > service_port: 9090 > last_update: 2016-10-07 07:43:59 > removed: NULL > alert_count: 0 > 1 row in set (0.00 sec) > > > # ip addr show dev bond0 > 4: bond0: mtu 1500 qdisc > noqueue state UP group default qlen 1000 > link/ether 34:00:a3:0d:0a:ba brd ff:ff:ff:ff:ff:ff > inet 10.97.13.1/22 brd 10.97.15.255 scope global bond0 >valid_lft forever preferred_lft forever > > > Another way to solve this issue could be changing the MAC of the > management interface to a known (and fixed) value. E.g. by using > ethtool. > > If you know the removed hardware is no longer used in the same network > segment, and you do know the previos MAC, you could change your network > configuration by setting the MAC on the new hardware to the previously > one. > > To be safe from further changes, we did this additionally by using the > hwaddress keyword in /etc/network/interfaces. This is the debian/ubuntu > way. > > auto bond0 > iface bond0 inet static > address 10.97.13.1 > netmask 255.255.252.0 > gateway 10.97.12.1 > dns-nameservers > dns-search XXX > hwaddress 34:00:a3:0d:0a:ba > bond-slaves eth0 eth1 > bond-mode 4 > bond-lacp-rate 1 > bond-miimon 100 > bond-updelay 200 > bond-downdelay 200 > > > Hope this helps! > > cheers, > > - Stephan > > Am Donnerstag, den 06.10.2016, 23:41 -0700 schrieb Carlos Reátegui: >> Hi, >> I have had this issue a few times now with my management server. I >> have had a couple unfortunate hw issues that have caused the machine >> to crash (have replaced motherboard, backplane and network cards…. >> don’t ask). Upon restoring the machine there is a new entry in the >> mshost table. However the host table mgmt_server_id still references >> the old mshost.msid and therefore my management server is unable to >> “manage” the hosts. >> >> The only way to fix this is to : >> update host set mgmt_server_id= where mgmt_server_id=> msid>; >> >> Anyone else run across this? Is there a proper way to restore a >> management server? How does the management server decide it is a new >> mshost and create a new entry in the mshost table? >> >> Currently my mshost table has 5 entries and they all claim to be in >> the “Up” state even though there is only 1 management server. One of >> the entries is for the original 4.5.1 install. The other 4 are for >> the current 4.5.2.1 upgrade. They all have the same IP address. >> >> thanks, >> Carlos
VPC cant access external IP from internal.
Hi! I have two instances in VPC Network with custom ACL rules and port forwarding on external IP. One is web server and second is windows server. Problem is that I cant access to my web server trough external IP from my windows server but it is possible to access to web servers internal IP. Also In ACL rules 0.0.0.0/0 cidr is allowed to connect to 80 port and egress rules allows all traffic from 0.0.0.0/0 -- J Anderson
Re: HA-enabled VM
You can find all service offerings used by those VM and change in service_offereing table a field ha_enabled to ’1’. After that Stop/Start VMs should make them HA. On 10/7/16, 5:40 AM, "Gian Paolo Buono" wrote: Thanks Boris, It works.. The problem is that I have 100 vm without HA, there is a charm to enable the HA to all vm ? Thanks On 10/07/2016 02:18 PM, Boris Stoyanov wrote: > Hi Gian Paolo, > > In order to have a VM in HA Enabled state you need to create that VM with Compute Offering that has “Offer HA” checked. > > Thanks, > Boris Stoyanov > boris.stoya...@shapeblue.com > www.shapeblue.com > 53 Chandos Place, Covent Garden, London WC2N 4HSUK > @shapeblue > > > > On Oct 7, 2016, at 3:01 PM, Gian Paolo Buono wrote: >> Hi all, >> >> how can i set HA Enabled to yes, in the istance of Vm ? If can't modify >> that parameter. >> >> Thanks
Re: HA-enabled VM
Thanks Boris, It works.. The problem is that I have 100 vm without HA, there is a charm to enable the HA to all vm ? Thanks On 10/07/2016 02:18 PM, Boris Stoyanov wrote: > Hi Gian Paolo, > > In order to have a VM in HA Enabled state you need to create that VM with > Compute Offering that has “Offer HA” checked. > > Thanks, > Boris Stoyanov > boris.stoya...@shapeblue.com > www.shapeblue.com > 53 Chandos Place, Covent Garden, London WC2N 4HSUK > @shapeblue > > > > On Oct 7, 2016, at 3:01 PM, Gian Paolo Buono wrote: >> Hi all, >> >> how can i set HA Enabled to yes, in the istance of Vm ? If can't modify >> that parameter. >> >> Thanks
Re: HA-enabled VM
Hi Gian Paolo, In order to have a VM in HA Enabled state you need to create that VM with Compute Offering that has “Offer HA” checked. Thanks, Boris Stoyanov > boris.stoya...@shapeblue.com www.shapeblue.com 53 Chandos Place, Covent Garden, London WC2N 4HSUK @shapeblue On Oct 7, 2016, at 3:01 PM, Gian Paolo Buono wrote: > > Hi all, > > how can i set HA Enabled to yes, in the istance of Vm ? If can't modify > that parameter. > > Thanks
AW: HA-enabled VM
Use tag "HA",should of course be set on the hosts as well.Might be that that'll only work if your template has the HA tag set Von meinem Samsung Galaxy Smartphone gesendet. Ursprüngliche Nachricht Von: Gian Paolo Buono Datum: 07.10.2016 14:03 (GMT+01:00) An: users@cloudstack.apache.org Betreff: HA-enabled VM Hi all, how can i set HA Enabled to yes, in the istance of Vm ? If can't modify that parameter. Thanks Jeroen Keerl Keerl IT Services GmbH Birkenstraße 1b . 21521 Aumühle +49 177 6320 317 www.keerl-it.com i...@keerl-it.com Geschäftsführer. Jacobus J. Keerl Registergericht Lubeck. HRB-Nr. 14511 Unsere Allgemeine Geschäftsbedingungen finden Sie hier.
HA-enabled VM
Hi all, how can i set HA Enabled to yes, in the istance of Vm ? If can't modify that parameter. Thanks
Re: ACS 4.9.0 cloudstack.apt-get.eu Ubuntu repo doesn't work?
Thanks Jeroen. Used below repo from ShapeBlue and it works fine. === deb http://packages.shapeblue.com/cloudstack/upstream/debian/4.9 / === Many thanks! Cheers. On Fri, Oct 7, 2016 at 6:58 PM, Jeroen Keerl wrote: > Check out the ShapeBlue site,they host repos as well > > > Von meinem Samsung Galaxy Smartphone gesendet. > > Ursprüngliche Nachricht > Von: Cloud List > Datum: 07.10.2016 12:21 (GMT+01:00) An: > users@cloudstack.apache.org Betreff: ACS 4.9.0 > cloudstack.apt-get.eu Ubuntu repo doesn't work? > We are using Ubuntu and trying to upgrade to ACS 4.9, have updated > /etc/apt/sources.list.d/cloudstack.list to point to: > > deb http://cloudstack.apt-get.eu/ubuntu precise 4.9 > > But apt-get update fails with below error message: > > === > W: Failed to fetch http://cloudstack.apt-get.eu/ > ubuntu/dists/precise/Release > Unable to find expected entry '4.9/binary-amd64/Packages' in Release file > (Wrong sources.list entry or malformed file) > > E: Some index files failed to download. They have been ignored, or old ones > used instead. > === > > When setting to 4.8 repo, apt-get update works fine. What could be wrong? > > Any other Ubuntu repo for Cloudstack other than cloudstack.apt-get.eu > which > we can use? > > Thank you. > > -ip- > > > > > > Jeroen Keerl > > > Keerl IT Services GmbH > Birkenstraße 1b . 21521 Aumühle > > +49 177 6320 317 > > www.keerl-it.com > i...@keerl-it.com > > Geschäftsführer. Jacobus J. Keerl > Registergericht Lubeck. HRB-Nr. 14511 > > Unsere Allgemeine Geschäftsbedingungen finden Sie hier. > > >
AW: ACS 4.9.0 cloudstack.apt-get.eu Ubuntu repo doesn't work?
Check out the ShapeBlue site,they host repos as well Von meinem Samsung Galaxy Smartphone gesendet. Ursprüngliche Nachricht Von: Cloud List Datum: 07.10.2016 12:21 (GMT+01:00) An: users@cloudstack.apache.org Betreff: ACS 4.9.0 cloudstack.apt-get.eu Ubuntu repo doesn't work? We are using Ubuntu and trying to upgrade to ACS 4.9, have updated /etc/apt/sources.list.d/cloudstack.list to point to: deb http://cloudstack.apt-get.eu/ubuntu precise 4.9 But apt-get update fails with below error message: === W: Failed to fetch http://cloudstack.apt-get.eu/ubuntu/dists/precise/Release Unable to find expected entry '4.9/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file) E: Some index files failed to download. They have been ignored, or old ones used instead. === When setting to 4.8 repo, apt-get update works fine. What could be wrong? Any other Ubuntu repo for Cloudstack other than cloudstack.apt-get.eu which we can use? Thank you. -ip- Jeroen Keerl Keerl IT Services GmbH Birkenstraße 1b . 21521 Aumühle +49 177 6320 317 www.keerl-it.com i...@keerl-it.com Geschäftsführer. Jacobus J. Keerl Registergericht Lubeck. HRB-Nr. 14511 Unsere Allgemeine Geschäftsbedingungen finden Sie hier.
ACS 4.9.0 cloudstack.apt-get.eu Ubuntu repo doesn't work?
We are using Ubuntu and trying to upgrade to ACS 4.9, have updated /etc/apt/sources.list.d/cloudstack.list to point to: deb http://cloudstack.apt-get.eu/ubuntu precise 4.9 But apt-get update fails with below error message: === W: Failed to fetch http://cloudstack.apt-get.eu/ubuntu/dists/precise/Release Unable to find expected entry '4.9/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file) E: Some index files failed to download. They have been ignored, or old ones used instead. === When setting to 4.8 repo, apt-get update works fine. What could be wrong? Any other Ubuntu repo for Cloudstack other than cloudstack.apt-get.eu which we can use? Thank you. -ip-
Re: Cloudstack management server changing msid
Hi Carlos, we encountered the same issue after introducing nic-bonding on the management net which changed the MAC. The msid includes the MAC of the interface which has the service_ip bound to. If that MAC changes, your management node encounters an identity crisis ;) We solved that, by updating the msid field in the cloud.mshost table. The msid is the decimal representation of the MAC. So, in our case 57177340185274 (dec) = 3400a30d0aba (hex) (34:00:a3:0d:0a:ba) This currently shows: mysql> select * from mshost where id=1 \G *** 1. row *** id: 1 msid: 57177340185274 <--- runid: 1474366224657 name: acs-management-1 state: Up version: 4.9.0 service_ip: 10.97.13.1 service_port: 9090 last_update: 2016-10-07 07:43:59 removed: NULL alert_count: 0 1 row in set (0.00 sec) # ip addr show dev bond0 4: bond0: mtu 1500 qdisc noqueue state UP group default qlen 1000 link/ether 34:00:a3:0d:0a:ba brd ff:ff:ff:ff:ff:ff inet 10.97.13.1/22 brd 10.97.15.255 scope global bond0 valid_lft forever preferred_lft forever Another way to solve this issue could be changing the MAC of the management interface to a known (and fixed) value. E.g. by using ethtool. If you know the removed hardware is no longer used in the same network segment, and you do know the previos MAC, you could change your network configuration by setting the MAC on the new hardware to the previously one. To be safe from further changes, we did this additionally by using the hwaddress keyword in /etc/network/interfaces. This is the debian/ubuntu way. auto bond0 iface bond0 inet static address 10.97.13.1 netmask 255.255.252.0 gateway 10.97.12.1 dns-nameservers dns-search XXX hwaddress 34:00:a3:0d:0a:ba bond-slaves eth0 eth1 bond-mode 4 bond-lacp-rate 1 bond-miimon 100 bond-updelay 200 bond-downdelay 200 Hope this helps! cheers, - Stephan Am Donnerstag, den 06.10.2016, 23:41 -0700 schrieb Carlos Reátegui: > Hi, > I have had this issue a few times now with my management server. I > have had a couple unfortunate hw issues that have caused the machine > to crash (have replaced motherboard, backplane and network cards…. > don’t ask). Upon restoring the machine there is a new entry in the > mshost table. However the host table mgmt_server_id still references > the old mshost.msid and therefore my management server is unable to > “manage” the hosts. > > The only way to fix this is to : > update host set mgmt_server_id= where mgmt_server_id= msid>; > > Anyone else run across this? Is there a proper way to restore a > management server? How does the management server decide it is a new > mshost and create a new entry in the mshost table? > > Currently my mshost table has 5 entries and they all claim to be in > the “Up” state even though there is only 1 management server. One of > the entries is for the original 4.5.1 install. The other 4 are for > the current 4.5.2.1 upgrade. They all have the same IP address. > > thanks, > Carlos