Guest networking issue
Hi Hope someone can help me on this Below is my env a) CloudStack 4.9 on CentOs 7.2, b) running on 2 compute nodes and one controller node c) NFS as shared storage primary and secondary d) Basic networking f) Hosts, Guests, system VMs and NFS storage are in same IP range I can create VMs and from UI I can see Guests are getting IPs assigned 1. when the instance boots up it has no IP assigned (ip addr show shows no IP). But I have to do dhclient for the guest to get configured. 2. Even though instance gets an IP after running dhclient, I am unable to reach no further than the host that the instance are in. All the routes are in place. I have created Security Group with allow all to this guest still no luck please let me know if you need any additional information Best Regards *Asanka Gunasekara* *Asst. Engineering Manager - Systems Infra Services* *Global IT Infrastructure Services Division* | Informatics International Limited | 89/57 | Jampettah Lane | Colombo 13 | Sri Lanka | | T: +94-115-794-942 (Dir)| F: +94-112-542-832 | M: +94-768209719 | | asank...@informaticsint.com | www.informaticsint.com |
Re: Guest networking issue
Hi I desperately need some assistance, Best Regards *Asanka Gunasekara* *Asst. Engineering Manager - Systems Infra Services* *Global IT Infrastructure Services Division* | Informatics International Limited | 89/57 | Jampettah Lane | Colombo 13 | Sri Lanka | | T: +94-115-794-942 (Dir)| F: +94-112-542-832 | M: +94-768209719 | | asank...@informaticsint.com | www.informaticsint.com | On 9 August 2016 at 10:22, Asanka Gunasekara wrote: > Hi Hope someone can help me on this > > Below is my env > > a) CloudStack 4.9 on CentOs 7.2, > b) running on 2 compute nodes and one controller node > c) NFS as shared storage primary and secondary > d) Basic networking > f) Hosts, Guests, system VMs and NFS storage are in same IP range > > I can create VMs and from UI I can see Guests are getting IPs assigned > > 1. when the instance boots up it has no IP assigned (ip addr show > shows no IP). But I have to do dhclient for the guest to get configured. > > 2. Even though instance gets an IP after running dhclient, I am > unable to reach no further than the host that the instance are in. All the > routes are in place. I have created Security Group with allow all to this > guest still no luck > > please let me know if you need any additional information > > Best Regards > > *Asanka Gunasekara* > > *Asst. Engineering Manager - Systems Infra Services* > *Global IT Infrastructure Services Division* > > | Informatics International Limited | 89/57 | Jampettah Lane | Colombo 13 > | Sri Lanka | > > | T: +94-115-794-942 (Dir)| F: +94-112-542-832 | M: +94-768209719 | > > | asank...@informaticsint.com | > www.informaticsint.com | > >
Re: Guest networking issue
Hi, all this time I was using an ISO to install Centos on a vm but I used CentOS-7-x86_64-GenericCloud-20140917_02.qcow2 <http://172.16.10.50/c-share/CentOS-7-x86_64-GenericCloud-20140917_02.qcow2> image and it works, it acquires IP and routing function properly What do I have to do to get the ISO installation to do this Best Regards *Asanka Gunasekara* *Asst. Engineering Manager - Systems Infra Services* *Global IT Infrastructure Services Division* | Informatics International Limited | 89/57 | Jampettah Lane | Colombo 13 | Sri Lanka | | T: +94-115-794-942 (Dir)| F: +94-112-542-832 | M: +94-768209719 | | asank...@informaticsint.com | www.informaticsint.com | On 9 August 2016 at 10:22, Asanka Gunasekara wrote: > Hi Hope someone can help me on this > > Below is my env > > a) CloudStack 4.9 on CentOs 7.2, > b) running on 2 compute nodes and one controller node > c) NFS as shared storage primary and secondary > d) Basic networking > f) Hosts, Guests, system VMs and NFS storage are in same IP range > > I can create VMs and from UI I can see Guests are getting IPs assigned > > 1. when the instance boots up it has no IP assigned (ip addr show > shows no IP). But I have to do dhclient for the guest to get configured. > > 2. Even though instance gets an IP after running dhclient, I am > unable to reach no further than the host that the instance are in. All the > routes are in place. I have created Security Group with allow all to this > guest still no luck > > please let me know if you need any additional information > > Best Regards > > *Asanka Gunasekara* > > *Asst. Engineering Manager - Systems Infra Services* > *Global IT Infrastructure Services Division* > > | Informatics International Limited | 89/57 | Jampettah Lane | Colombo 13 > | Sri Lanka | > > | T: +94-115-794-942 (Dir)| F: +94-112-542-832 | M: +94-768209719 | > > | asank...@informaticsint.com | > www.informaticsint.com | > >
Re: Guest networking issue
Hi Found the issue, if for some one like me needs help all you have to do is ONBOOT=yes in ifcfg-ethx, simple as that :( Best Regards *Asanka Gunasekara* *Asst. Engineering Manager - Systems Infra Services* *Global IT Infrastructure Services Division* | Informatics International Limited | 89/57 | Jampettah Lane | Colombo 13 | Sri Lanka | | T: +94-115-794-942 (Dir)| F: +94-112-542-832 | M: +94-768209719 | | asank...@informaticsint.com | www.informaticsint.com | On 9 August 2016 at 10:22, Asanka Gunasekara wrote: > Hi Hope someone can help me on this > > Below is my env > > a) CloudStack 4.9 on CentOs 7.2, > b) running on 2 compute nodes and one controller node > c) NFS as shared storage primary and secondary > d) Basic networking > f) Hosts, Guests, system VMs and NFS storage are in same IP range > > I can create VMs and from UI I can see Guests are getting IPs assigned > > 1. when the instance boots up it has no IP assigned (ip addr show > shows no IP). But I have to do dhclient for the guest to get configured. > > 2. Even though instance gets an IP after running dhclient, I am > unable to reach no further than the host that the instance are in. All the > routes are in place. I have created Security Group with allow all to this > guest still no luck > > please let me know if you need any additional information > > Best Regards > > *Asanka Gunasekara* > > *Asst. Engineering Manager - Systems Infra Services* > *Global IT Infrastructure Services Division* > > | Informatics International Limited | 89/57 | Jampettah Lane | Colombo 13 > | Sri Lanka | > > | T: +94-115-794-942 (Dir)| F: +94-112-542-832 | M: +94-768209719 | > > | asank...@informaticsint.com | > www.informaticsint.com | > >
Secondary storage is not secondary properly
Hi, I am setting up a test platform CloudStack 4.9 and intigrate with Vmware. All things was fine till I dashboard it shows the capacity of Secondary storage as 0.00Kb/0.00Kb. When I try to register a ISO logs shows "Image store doesn't has enough capacity, so skip downloading template to this image store 1" message # df -h gives me below output where the nfs share is located /dev/xvdb150G 6.6G 41G 15% /share Can any one let me know what is going on, I have tried adding NFS as well as samba all shows 0/0Kb. NFS is running on a different server, I can manual mount this share as NFS and SMB Cloud stack - 4.9 Os is Centos 7 (64) I am sorry for the duble post as I was registered under an alious (preciously my mail) Thanks and Regards
Re: Secondary storage is not secondary properly
Hi Makrand thank you for replying, please see below for the rest results * Make sure that it's accessible from the *storage* network (the network that you configured as storage when you created the zone, assuming you selected advanced networking). Asanka > Since this is a test environemt I have just made it all in one subnet (is that the issue) * Is the secondary storage virtual machine up and running? Check your Infrastructure tab. Asanka > Yes both system VMs are up and running * If the secondary storage virtual machine is up and running, open its console and log in as root / password. Then check 'ip addr list' to make sure that it has IP addresses. Asanka > Yes it IP are assigned * If it has IP addresses, try pinging your secondary storage NFS server (still within the SSVM). Asanka > I can ping secondary storage * If you can ping your secondary storage NFS server, try mounting the NFS share at some random place in your filesystem to make sure you can mount it from the SSVM. e.g., 'mkdir /tmp/t; mount myserver:/export/secstorage /tmp/t' Asanka > I can mount the secondary storage as below [image: Inline images 1] On 8 August 2017 at 12:54, Eric Green wrote: > > > On Aug 7, 2017, at 23:44, Asanka Gunasekara wrote: > > NFS is running on a different server, I can manual mount this share as > NFS > > and SMB > > Cloud stack - 4.9 > > Os is Centos 7 (64) > > * Make sure that it's accessible from the *storage* network (the network > that you configured as storage when you created the zone, assuming you > selected advanced networking). > * Is the secondary storage virtual machine up and running? Check your > Infrastructure tab. > * If the secondary storage virtual machine is up and running, open its > console and log in as root / password. Then check 'ip addr list' to make > sure that it has IP addresses. > * If it has IP addresses, try pinging your secondary storage NFS server > (still within the SSVM). > * If you can ping your secondary storage NFS server, try mounting the NFS > share at some random place in your filesystem to make sure you can mount it > from the SSVM. e.g., 'mkdir /tmp/t; mount myserver:/export/secstorage > /tmp/t' > * Make sure you're using the NFS server's *storage* network IP address > when you make this attempt. > > It is possible that your NFS server has a firewall configured? But from my > experiments, the secondary storage VM not providing secondary storage > usually is a networking problem, things not set up properly in your zone's > networking so that the secondary storage VM can't reach the secondary > storage. Are you using advanced networking, or basic networking? > >
Re: Secondary storage is not secondary properly
I am sorry Eric, thank you for replying, please see below for the rest results * Make sure that it's accessible from the *storage* network (the network that you configured as storage when you created the zone, assuming you selected advanced networking). Asanka > Since this is a test environemt I have just made it all in one subnet (is that the issue) * Is the secondary storage virtual machine up and running? Check your Infrastructure tab. Asanka > Yes both system VMs are up and running * If the secondary storage virtual machine is up and running, open its console and log in as root / password. Then check 'ip addr list' to make sure that it has IP addresses. Asanka > Yes it IP are assigned * If it has IP addresses, try pinging your secondary storage NFS server (still within the SSVM). Asanka > I can ping secondary storage * If you can ping your secondary storage NFS server, try mounting the NFS share at some random place in your filesystem to make sure you can mount it from the SSVM. e.g., 'mkdir /tmp/t; mount myserver:/export/secstorage /tmp/t' Asanka > I can mount the secondary storage as below [image: Inline images 1] On 8 August 2017 at 12:54, Eric Green wrote: > > > On Aug 7, 2017, at 23:44, Asanka Gunasekara wrote: > > NFS is running on a different server, I can manual mount this share as > NFS > > and SMB > > Cloud stack - 4.9 > > Os is Centos 7 (64) > > * Make sure that it's accessible from the *storage* network (the network > that you configured as storage when you created the zone, assuming you > selected advanced networking). > * Is the secondary storage virtual machine up and running? Check your > Infrastructure tab. > * If the secondary storage virtual machine is up and running, open its > console and log in as root / password. Then check 'ip addr list' to make > sure that it has IP addresses. > * If it has IP addresses, try pinging your secondary storage NFS server > (still within the SSVM). > * If you can ping your secondary storage NFS server, try mounting the NFS > share at some random place in your filesystem to make sure you can mount it > from the SSVM. e.g., 'mkdir /tmp/t; mount myserver:/export/secstorage > /tmp/t' > * Make sure you're using the NFS server's *storage* network IP address > when you make this attempt. > > It is possible that your NFS server has a firewall configured? But from my > experiments, the secondary storage VM not providing secondary storage > usually is a networking problem, things not set up properly in your zone's > networking so that the secondary storage VM can't reach the secondary > storage. Are you using advanced networking, or basic networking? > >
Re: Secondary storage is not secondary properly
Hi Guys, thanks for replying buy running ssvm-check.sh I got below output [image: Inline images 1] My nfs is 172.17.101.253 but it is looking for 172.17.101.1 which is the gateway and the Management server is 172.17.101.248 but it is looking in to Loval host [image: Inline images 2] What is going on, have I done something wrong? On 8 August 2017 at 14:22, Dag Sonstebo wrote: > Hi Asanka, > > One quick thing to check – log in to your SSVM and run > /use/local/cloud/systemvm/ssvm-check.sh – this will tell you if the SSVM > can mount and write to secondary storage. > > Regards, > Dag Sonstebo > Cloud Architect > ShapeBlue > > From: Asanka Gunasekara > Reply-To: "users@cloudstack.apache.org" > Date: Tuesday, 8 August 2017 at 09:27 > To: "users@cloudstack.apache.org" > Subject: Re: Secondary storage is not secondary properly > > I am sorry Eric, thank you for replying, please see below for the rest > results > > * Make sure that it's accessible from the *storage* network (the network > that you configured as storage when you created the zone, assuming you > selected advanced networking). > Asanka > Since this is a test environemt I have just made it all in one > subnet (is that the issue) > > * Is the secondary storage virtual machine up and running? Check your > Infrastructure tab. > Asanka > Yes both system VMs are up and running > > * If the secondary storage virtual machine is up and running, open its > console and log in as root / password. Then check 'ip addr list' to make > sure that it has IP addresses. > Asanka > Yes it IP are assigned > > * If it has IP addresses, try pinging your secondary storage NFS server > (still within the SSVM). > Asanka > I can ping secondary storage > > * If you can ping your secondary storage NFS server, try mounting the NFS > share at some random place in your filesystem to make sure you can mount it > from the SSVM. e.g., 'mkdir /tmp/t; mount myserver:/export/secstorage > /tmp/t' > Asanka > I can mount the secondary storage as below > > > [nline images 1] > > > dag.sonst...@shapeblue.com > www.shapeblue.com > 53 Chandos Place, Covent Garden, London WC2N 4HSUK > @shapeblue > > > > On 8 August 2017 at 12:54, Eric Green eric.lee.gr...@gmail.com>> wrote: > > > On Aug 7, 2017, at 23:44, Asanka Gunasekara asa...@nimbus.lk>> wrote: > > NFS is running on a different server, I can manual mount this share as > NFS > > and SMB > > Cloud stack - 4.9 > > Os is Centos 7 (64) > > * Make sure that it's accessible from the *storage* network (the network > that you configured as storage when you created the zone, assuming you > selected advanced networking). > * Is the secondary storage virtual machine up and running? Check your > Infrastructure tab. > * If the secondary storage virtual machine is up and running, open its > console and log in as root / password. Then check 'ip addr list' to make > sure that it has IP addresses. > * If it has IP addresses, try pinging your secondary storage NFS server > (still within the SSVM). > * If you can ping your secondary storage NFS server, try mounting the NFS > share at some random place in your filesystem to make sure you can mount it > from the SSVM. e.g., 'mkdir /tmp/t; mount myserver:/export/secstorage > /tmp/t' > * Make sure you're using the NFS server's *storage* network IP address > when you make this attempt. > > It is possible that your NFS server has a firewall configured? But from my > experiments, the secondary storage VM not providing secondary storage > usually is a networking problem, things not set up properly in your zone's > networking so that the secondary storage VM can't reach the secondary > storage. Are you using advanced networking, or basic networking? > >
Re: Secondary storage is not secondary properly
Thanks Makrand On 8 August 2017 at 14:42, Makrand wrote: > Asanka, > > The email list blocks the screen shots. I guess no one in the list can see > your posted screens in emal chain. > > Better paste text output of the result or upload screens to image hosting > (e.g. snag.gy). > > -- > Makrand > > > On Tue, Aug 8, 2017 at 2:28 PM, Asanka Gunasekara > wrote: > > > Hi Guys, thanks for replying buy running ssvm-check.sh I got below output > > > > > > [image: Inline images 1] > > > > My nfs is 172.17.101.253 but it is looking for 172.17.101.1 which is the > > gateway and the Management server is 172.17.101.248 but it is looking in > to > > Loval host > > > > > > > > > > [image: Inline images 2] > > > > What is going on, have I done something wrong? > > > > On 8 August 2017 at 14:22, Dag Sonstebo > > wrote: > > > >> Hi Asanka, > >> > >> One quick thing to check – log in to your SSVM and run > >> /use/local/cloud/systemvm/ssvm-check.sh – this will tell you if the > SSVM > >> can mount and write to secondary storage. > >> > >> Regards, > >> Dag Sonstebo > >> Cloud Architect > >> ShapeBlue > >> > >> From: Asanka Gunasekara > >> Reply-To: "users@cloudstack.apache.org" > >> Date: Tuesday, 8 August 2017 at 09:27 > >> To: "users@cloudstack.apache.org" > >> Subject: Re: Secondary storage is not secondary properly > >> > >> I am sorry Eric, thank you for replying, please see below for the rest > >> results > >> > >> * Make sure that it's accessible from the *storage* network (the network > >> that you configured as storage when you created the zone, assuming you > >> selected advanced networking). > >> Asanka > Since this is a test environemt I have just made it all in one > >> subnet (is that the issue) > >> > >> * Is the secondary storage virtual machine up and running? Check your > >> Infrastructure tab. > >> Asanka > Yes both system VMs are up and running > >> > >> * If the secondary storage virtual machine is up and running, open its > >> console and log in as root / password. Then check 'ip addr list' to make > >> sure that it has IP addresses. > >> Asanka > Yes it IP are assigned > >> > >> * If it has IP addresses, try pinging your secondary storage NFS server > >> (still within the SSVM). > >> Asanka > I can ping secondary storage > >> > >> * If you can ping your secondary storage NFS server, try mounting the > NFS > >> share at some random place in your filesystem to make sure you can > mount it > >> from the SSVM. e.g., 'mkdir /tmp/t; mount myserver:/export/secstorage > >> /tmp/t' > >> Asanka > I can mount the secondary storage as below > >> > >> > >> [nline images 1] > >> > >> > >> dag.sonst...@shapeblue.com > >> www.shapeblue.com > >> 53 Chandos Place, Covent Garden, London WC2N 4HSUK > >> @shapeblue > >> > >> > >> > >> On 8 August 2017 at 12:54, Eric Green >> eric.lee.gr...@gmail.com>> wrote: > >> > >> > On Aug 7, 2017, at 23:44, Asanka Gunasekara >> asa...@nimbus.lk>> wrote: > >> > NFS is running on a different server, I can manual mount this share as > >> NFS > >> > and SMB > >> > Cloud stack - 4.9 > >> > Os is Centos 7 (64) > >> > >> * Make sure that it's accessible from the *storage* network (the network > >> that you configured as storage when you created the zone, assuming you > >> selected advanced networking). > >> * Is the secondary storage virtual machine up and running? Check your > >> Infrastructure tab. > >> * If the secondary storage virtual machine is up and running, open its > >> console and log in as root / password. Then check 'ip addr list' to make > >> sure that it has IP addresses. > >> * If it has IP addresses, try pinging your secondary storage NFS server > >> (still within the SSVM). > >> * If you can ping your secondary storage NFS server, try mounting the > NFS > >> share at some random place in your filesystem to make sure you can > mount it > >> from the SSVM. e.g., 'mkdir /tmp/t; mount myserver:/export/secstorage > >> /tmp/t' > >> * Make sure you're using the NFS server's *storage* network IP address > >> when you make this attempt. > >> > >> It is possible that your NFS server has a firewall configured? But from > >> my experiments, the secondary storage VM not providing secondary storage > >> usually is a networking problem, things not set up properly in your > zone's > >> networking so that the secondary storage VM can't reach the secondary > >> storage. Are you using advanced networking, or basic networking? > >> > >> > > >
Re: Secondary storage is not secondary properly
Hi Guys, ssvm-check.sh command output https://snag.gy/bzpE5n.jpg Details of my nfs share https://snag.gy/WgJxCY.jpg Thanks and Best Regards Asanka On 8 August 2017 at 14:48, Asanka Gunasekara wrote: > Thanks Makrand > > On 8 August 2017 at 14:42, Makrand wrote: > >> Asanka, >> >> The email list blocks the screen shots. I guess no one in the list can see >> your posted screens in emal chain. >> >> Better paste text output of the result or upload screens to image hosting >> (e.g. snag.gy). >> >> -- >> Makrand >> >> >> On Tue, Aug 8, 2017 at 2:28 PM, Asanka Gunasekara >> wrote: >> >> > Hi Guys, thanks for replying buy running ssvm-check.sh I got below >> output >> > >> > >> > [image: Inline images 1] >> > >> > My nfs is 172.17.101.253 but it is looking for 172.17.101.1 which is the >> > gateway and the Management server is 172.17.101.248 but it is looking >> in to >> > Loval host >> > >> > >> > >> > >> > [image: Inline images 2] >> > >> > What is going on, have I done something wrong? >> > >> > On 8 August 2017 at 14:22, Dag Sonstebo >> > wrote: >> > >> >> Hi Asanka, >> >> >> >> One quick thing to check – log in to your SSVM and run >> >> /use/local/cloud/systemvm/ssvm-check.sh – this will tell you if the >> SSVM >> >> can mount and write to secondary storage. >> >> >> >> Regards, >> >> Dag Sonstebo >> >> Cloud Architect >> >> ShapeBlue >> >> >> >> From: Asanka Gunasekara >> >> Reply-To: "users@cloudstack.apache.org" >> >> Date: Tuesday, 8 August 2017 at 09:27 >> >> To: "users@cloudstack.apache.org" >> >> Subject: Re: Secondary storage is not secondary properly >> >> >> >> I am sorry Eric, thank you for replying, please see below for the rest >> >> results >> >> >> >> * Make sure that it's accessible from the *storage* network (the >> network >> >> that you configured as storage when you created the zone, assuming you >> >> selected advanced networking). >> >> Asanka > Since this is a test environemt I have just made it all in one >> >> subnet (is that the issue) >> >> >> >> * Is the secondary storage virtual machine up and running? Check your >> >> Infrastructure tab. >> >> Asanka > Yes both system VMs are up and running >> >> >> >> * If the secondary storage virtual machine is up and running, open its >> >> console and log in as root / password. Then check 'ip addr list' to >> make >> >> sure that it has IP addresses. >> >> Asanka > Yes it IP are assigned >> >> >> >> * If it has IP addresses, try pinging your secondary storage NFS server >> >> (still within the SSVM). >> >> Asanka > I can ping secondary storage >> >> >> >> * If you can ping your secondary storage NFS server, try mounting the >> NFS >> >> share at some random place in your filesystem to make sure you can >> mount it >> >> from the SSVM. e.g., 'mkdir /tmp/t; mount myserver:/export/secstorage >> >> /tmp/t' >> >> Asanka > I can mount the secondary storage as below >> >> >> >> >> >> [nline images 1] >> >> >> >> >> >> dag.sonst...@shapeblue.com >> >> www.shapeblue.com >> >> 53 Chandos Place, Covent Garden, London WC2N 4HSUK >> >> @shapeblue >> >> >> >> >> >> >> >> On 8 August 2017 at 12:54, Eric Green > to: >> >> eric.lee.gr...@gmail.com>> wrote: >> >> >> >> > On Aug 7, 2017, at 23:44, Asanka Gunasekara > > >> asa...@nimbus.lk>> wrote: >> >> > NFS is running on a different server, I can manual mount this share >> as >> >> NFS >> >> > and SMB >> >> > Cloud stack - 4.9 >> >> > Os is Centos 7 (64) >> >> >> >> * Make sure that it's accessible from the *storage* network (the >> network >> >> that you configured as storage when you created the zone, assuming you >> >> selected advanced networking). >> >> * Is the secondary storage virtual machine up and running? Check your >> >> Infrastructure tab. >> >> * If the secondary storage virtual machine is up and running, open its >> >> console and log in as root / password. Then check 'ip addr list' to >> make >> >> sure that it has IP addresses. >> >> * If it has IP addresses, try pinging your secondary storage NFS server >> >> (still within the SSVM). >> >> * If you can ping your secondary storage NFS server, try mounting the >> NFS >> >> share at some random place in your filesystem to make sure you can >> mount it >> >> from the SSVM. e.g., 'mkdir /tmp/t; mount myserver:/export/secstorage >> >> /tmp/t' >> >> * Make sure you're using the NFS server's *storage* network IP address >> >> when you make this attempt. >> >> >> >> It is possible that your NFS server has a firewall configured? But from >> >> my experiments, the secondary storage VM not providing secondary >> storage >> >> usually is a networking problem, things not set up properly in your >> zone's >> >> networking so that the secondary storage VM can't reach the secondary >> >> storage. Are you using advanced networking, or basic networking? >> >> >> >> >> > >> > >
Re: Secondary storage is not secondary properly
Hi Guys, what would happen if I destroy and restart the management server, will it create new system vms with correct entries Thanks and Regards On 8 August 2017 at 14:58, Asanka Gunasekara wrote: > Hi Guys, > > ssvm-check.sh command output > > https://snag.gy/bzpE5n.jpg > > Details of my nfs share > > https://snag.gy/WgJxCY.jpg > > Thanks and Best Regards > > Asanka > > > > On 8 August 2017 at 14:48, Asanka Gunasekara wrote: > >> Thanks Makrand >> >> On 8 August 2017 at 14:42, Makrand wrote: >> >>> Asanka, >>> >>> The email list blocks the screen shots. I guess no one in the list can >>> see >>> your posted screens in emal chain. >>> >>> Better paste text output of the result or upload screens to image hosting >>> (e.g. snag.gy). >>> >>> -- >>> Makrand >>> >>> >>> On Tue, Aug 8, 2017 at 2:28 PM, Asanka Gunasekara >>> wrote: >>> >>> > Hi Guys, thanks for replying buy running ssvm-check.sh I got below >>> output >>> > >>> > >>> > [image: Inline images 1] >>> > >>> > My nfs is 172.17.101.253 but it is looking for 172.17.101.1 which is >>> the >>> > gateway and the Management server is 172.17.101.248 but it is looking >>> in to >>> > Loval host >>> > >>> > >>> > >>> > >>> > [image: Inline images 2] >>> > >>> > What is going on, have I done something wrong? >>> > >>> > On 8 August 2017 at 14:22, Dag Sonstebo >>> > wrote: >>> > >>> >> Hi Asanka, >>> >> >>> >> One quick thing to check – log in to your SSVM and run >>> >> /use/local/cloud/systemvm/ssvm-check.sh – this will tell you if the >>> SSVM >>> >> can mount and write to secondary storage. >>> >> >>> >> Regards, >>> >> Dag Sonstebo >>> >> Cloud Architect >>> >> ShapeBlue >>> >> >>> >> From: Asanka Gunasekara >>> >> Reply-To: "users@cloudstack.apache.org" >>> >> Date: Tuesday, 8 August 2017 at 09:27 >>> >> To: "users@cloudstack.apache.org" >>> >> Subject: Re: Secondary storage is not secondary properly >>> >> >>> >> I am sorry Eric, thank you for replying, please see below for the rest >>> >> results >>> >> >>> >> * Make sure that it's accessible from the *storage* network (the >>> network >>> >> that you configured as storage when you created the zone, assuming you >>> >> selected advanced networking). >>> >> Asanka > Since this is a test environemt I have just made it all in >>> one >>> >> subnet (is that the issue) >>> >> >>> >> * Is the secondary storage virtual machine up and running? Check your >>> >> Infrastructure tab. >>> >> Asanka > Yes both system VMs are up and running >>> >> >>> >> * If the secondary storage virtual machine is up and running, open its >>> >> console and log in as root / password. Then check 'ip addr list' to >>> make >>> >> sure that it has IP addresses. >>> >> Asanka > Yes it IP are assigned >>> >> >>> >> * If it has IP addresses, try pinging your secondary storage NFS >>> server >>> >> (still within the SSVM). >>> >> Asanka > I can ping secondary storage >>> >> >>> >> * If you can ping your secondary storage NFS server, try mounting the >>> NFS >>> >> share at some random place in your filesystem to make sure you can >>> mount it >>> >> from the SSVM. e.g., 'mkdir /tmp/t; mount myserver:/export/secstorage >>> >> /tmp/t' >>> >> Asanka > I can mount the secondary storage as below >>> >> >>> >> >>> >> [nline images 1] >>> >> >>> >> >>> >> dag.sonst...@shapeblue.com >>> >> www.shapeblue.com >>> >> 53 Chandos Place, Covent Garden, London WC2N 4HSUK >>> >> @shapeblue >>> >> >>> >> >>> >> >>> >> On 8 August 2017 at 12:54, Eric Green >> to: >>> >> eric.lee.gr...@gm
Re: Secondary storage is not secondary properly
Hi Guys, I tried to destroy the VM and restart the management server but as soon as I delete then some process kicks in and re-spawns the both system VMs :( On 8 August 2017 at 15:40, Asanka Gunasekara wrote: > Hi Guys, what would happen if I destroy and restart the management server, > will it create new system vms with correct entries > > Thanks and Regards > > On 8 August 2017 at 14:58, Asanka Gunasekara wrote: > >> Hi Guys, >> >> ssvm-check.sh command output >> >> https://snag.gy/bzpE5n.jpg >> >> Details of my nfs share >> >> https://snag.gy/WgJxCY.jpg >> >> Thanks and Best Regards >> >> Asanka >> >> >> >> On 8 August 2017 at 14:48, Asanka Gunasekara wrote: >> >>> Thanks Makrand >>> >>> On 8 August 2017 at 14:42, Makrand wrote: >>> >>>> Asanka, >>>> >>>> The email list blocks the screen shots. I guess no one in the list can >>>> see >>>> your posted screens in emal chain. >>>> >>>> Better paste text output of the result or upload screens to image >>>> hosting >>>> (e.g. snag.gy). >>>> >>>> -- >>>> Makrand >>>> >>>> >>>> On Tue, Aug 8, 2017 at 2:28 PM, Asanka Gunasekara >>>> wrote: >>>> >>>> > Hi Guys, thanks for replying buy running ssvm-check.sh I got below >>>> output >>>> > >>>> > >>>> > [image: Inline images 1] >>>> > >>>> > My nfs is 172.17.101.253 but it is looking for 172.17.101.1 which is >>>> the >>>> > gateway and the Management server is 172.17.101.248 but it is looking >>>> in to >>>> > Loval host >>>> > >>>> > >>>> > >>>> > >>>> > [image: Inline images 2] >>>> > >>>> > What is going on, have I done something wrong? >>>> > >>>> > On 8 August 2017 at 14:22, Dag Sonstebo >>>> > wrote: >>>> > >>>> >> Hi Asanka, >>>> >> >>>> >> One quick thing to check – log in to your SSVM and run >>>> >> /use/local/cloud/systemvm/ssvm-check.sh – this will tell you if the >>>> SSVM >>>> >> can mount and write to secondary storage. >>>> >> >>>> >> Regards, >>>> >> Dag Sonstebo >>>> >> Cloud Architect >>>> >> ShapeBlue >>>> >> >>>> >> From: Asanka Gunasekara >>>> >> Reply-To: "users@cloudstack.apache.org" >>> > >>>> >> Date: Tuesday, 8 August 2017 at 09:27 >>>> >> To: "users@cloudstack.apache.org" >>>> >> Subject: Re: Secondary storage is not secondary properly >>>> >> >>>> >> I am sorry Eric, thank you for replying, please see below for the >>>> rest >>>> >> results >>>> >> >>>> >> * Make sure that it's accessible from the *storage* network (the >>>> network >>>> >> that you configured as storage when you created the zone, assuming >>>> you >>>> >> selected advanced networking). >>>> >> Asanka > Since this is a test environemt I have just made it all in >>>> one >>>> >> subnet (is that the issue) >>>> >> >>>> >> * Is the secondary storage virtual machine up and running? Check your >>>> >> Infrastructure tab. >>>> >> Asanka > Yes both system VMs are up and running >>>> >> >>>> >> * If the secondary storage virtual machine is up and running, open >>>> its >>>> >> console and log in as root / password. Then check 'ip addr list' to >>>> make >>>> >> sure that it has IP addresses. >>>> >> Asanka > Yes it IP are assigned >>>> >> >>>> >> * If it has IP addresses, try pinging your secondary storage NFS >>>> server >>>> >> (still within the SSVM). >>>> >> Asanka > I can ping secondary storage >>>> >> >>>> >> * If you can ping your secondary storage NFS server, try mounting >>>> the NFS >>>> >> share at some random place in your filesy
Re: Secondary storage is not secondary properly
Hi Makrand, as per http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/4.9/management-server/_systemvm.html step 2, I have removed the mounts and mount points once the seeding process was complete Thanks and Regards Asanka On 8 August 2017 at 12:36, Makrand wrote: > Hi, > > Secondary storage is mounted in (normally /mnt/secondary) on > the management server. If it is appearing zero, ACS management may not see > be able see the NFS. Can you paste df -h output from management server CLI? > > Check if your SSVM is running properly by running > /usr/local/cloud/systemvm/ssvm-check.sh > . > > > Sometimes reboot/recreating SSVM solves issues with sec storage. > > > > -- > Makrand > > > On Tue, Aug 8, 2017 at 12:14 PM, Asanka Gunasekara > wrote: > > > Hi, I am setting up a test platform CloudStack 4.9 and intigrate with > > Vmware. All things was fine till I dashboard it shows the capacity of > > Secondary storage as 0.00Kb/0.00Kb. When I try to register a ISO logs > shows > > "Image store doesn't has enough capacity, so skip downloading template to > > this image store 1" message > > > > # df -h gives me below output where the nfs share is located > > > > /dev/xvdb150G 6.6G 41G 15% /share > > > > Can any one let me know what is going on, I have tried adding NFS as well > > as samba all shows 0/0Kb. > > > > NFS is running on a different server, I can manual mount this share as > NFS > > and SMB > > Cloud stack - 4.9 > > Os is Centos 7 (64) > > > > I am sorry for the duble post as I was registered under an alious > > (preciously my mail) > > > > Thanks and Regards > > >
Re: Secondary storage is not secondary properly
Hi Dag, thanks for reply Did the change and the VMs are being rebuilt NFS server configuration, I took this from the installation guied [root@share ~]# cat /etc/exports /share_smb/export/secondary *(rw,async,no_root_squash,no_subtree_check) /share_smb/export/primary *(rw,async,no_root_squash,no_subtree_check) [root@share ~]# On 8 August 2017 at 17:06, Dag Sonstebo wrote: > Hi Asanka, > > Can you change your “host” global setting to your management server IP > (it’s currently set to “localhost”), restart your management service and > then destroy your SSVM + let this recreate. > > Once done run the check again and let us know the outcome. > > Can you also show us the configuration of your NFS share – i.e. what > parameters are set etc. > > Regards, > Dag Sonstebo > Cloud Architect > ShapeBlue > > On 08/08/2017, 10:28, "Asanka Gunasekara" wrote: > > Hi Guys, > > ssvm-check.sh command output > > https://snag.gy/bzpE5n.jpg > > Details of my nfs share > > https://snag.gy/WgJxCY.jpg > > Thanks and Best Regards > > Asanka > > > > > dag.sonst...@shapeblue.com > www.shapeblue.com > 53 Chandos Place, Covent Garden, London WC2N 4HSUK > @shapeblue > > > > On 8 August 2017 at 14:48, Asanka Gunasekara wrote: > > > Thanks Makrand > > > > On 8 August 2017 at 14:42, Makrand wrote: > > > >> Asanka, > >> > >> The email list blocks the screen shots. I guess no one in the list > can see > >> your posted screens in emal chain. > >> > >> Better paste text output of the result or upload screens to image > hosting > >> (e.g. snag.gy). > >> > >> -- > >> Makrand > >> > >> > >> On Tue, Aug 8, 2017 at 2:28 PM, Asanka Gunasekara > > >> wrote: > >> > >> > Hi Guys, thanks for replying buy running ssvm-check.sh I got below > >> output > >> > > >> > > >> > [image: Inline images 1] > >> > > >> > My nfs is 172.17.101.253 but it is looking for 172.17.101.1 which > is the > >> > gateway and the Management server is 172.17.101.248 but it is > looking > >> in to > >> > Loval host > >> > > >> > > >> > > >> > > >> > [image: Inline images 2] > >> > > >> > What is going on, have I done something wrong? > >> > > >> > On 8 August 2017 at 14:22, Dag Sonstebo < > dag.sonst...@shapeblue.com> > >> > wrote: > >> > > >> >> Hi Asanka, > >> >> > >> >> One quick thing to check – log in to your SSVM and run > >> >> /use/local/cloud/systemvm/ssvm-check.sh – this will tell you if > the > >> SSVM > >> >> can mount and write to secondary storage. > >> >> > >> >> Regards, > >> >> Dag Sonstebo > >> >> Cloud Architect > >> >> ShapeBlue > >> >> > >> >> From: Asanka Gunasekara > >> >> Reply-To: "users@cloudstack.apache.org" < > users@cloudstack.apache.org> > >> >> Date: Tuesday, 8 August 2017 at 09:27 > >> >> To: "users@cloudstack.apache.org" > >> >> Subject: Re: Secondary storage is not secondary properly > >> >> > >> >> I am sorry Eric, thank you for replying, please see below for > the rest > >> >> results > >> >> > >> >> * Make sure that it's accessible from the *storage* network (the > >> network > >> >> that you configured as storage when you created the zone, > assuming you > >> >> selected advanced networking). > >> >> Asanka > Since this is a test environemt I have just made it all > in one > >> >> subnet (is that the issue) > >> >> > >> >> * Is the secondary storage virtual machine up and running? Check > your > >> >> Infrastructure tab. > >> >> Asanka > Yes both system VMs are up and running > >> >> > >> >> * If the secondary storage virtual machine is up and running, > open its > >> >> console and log in as root / pass
Re: Secondary storage is not secondary properly
Hi Dag After changing localhost to management server ip oin global configuration I dont see the management server error. But the NFS error still persist Thanks and Regards Asanka On 8 August 2017 at 23:33, Asanka Gunasekara wrote: > Hi Dag, thanks for reply > > Did the change and the VMs are being rebuilt > > NFS server configuration, I took this from the installation guied > > [root@share ~]# cat /etc/exports > /share_smb/export/secondary *(rw,async,no_root_squash,no_subtree_check) > /share_smb/export/primary *(rw,async,no_root_squash,no_subtree_check) > [root@share ~]# > > > On 8 August 2017 at 17:06, Dag Sonstebo > wrote: > >> Hi Asanka, >> >> Can you change your “host” global setting to your management server IP >> (it’s currently set to “localhost”), restart your management service and >> then destroy your SSVM + let this recreate. >> >> Once done run the check again and let us know the outcome. >> >> Can you also show us the configuration of your NFS share – i.e. what >> parameters are set etc. >> >> Regards, >> Dag Sonstebo >> Cloud Architect >> ShapeBlue >> >> On 08/08/2017, 10:28, "Asanka Gunasekara" wrote: >> >> Hi Guys, >> >> ssvm-check.sh command output >> >> https://snag.gy/bzpE5n.jpg >> >> Details of my nfs share >> >> https://snag.gy/WgJxCY.jpg >> >> Thanks and Best Regards >> >> Asanka >> >> >> >> >> dag.sonst...@shapeblue.com >> www.shapeblue.com >> 53 Chandos Place, Covent Garden, London WC2N 4HSUK >> @shapeblue >> >> >> >> On 8 August 2017 at 14:48, Asanka Gunasekara wrote: >> >> > Thanks Makrand >> > >> > On 8 August 2017 at 14:42, Makrand wrote: >> > >> >> Asanka, >> >> >> >> The email list blocks the screen shots. I guess no one in the list >> can see >> >> your posted screens in emal chain. >> >> >> >> Better paste text output of the result or upload screens to image >> hosting >> >> (e.g. snag.gy). >> >> >> >> -- >> >> Makrand >> >> >> >> >> >> On Tue, Aug 8, 2017 at 2:28 PM, Asanka Gunasekara < >> asa...@nimbus.lk> >> >> wrote: >> >> >> >> > Hi Guys, thanks for replying buy running ssvm-check.sh I got >> below >> >> output >> >> > >> >> > >> >> > [image: Inline images 1] >> >> > >> >> > My nfs is 172.17.101.253 but it is looking for 172.17.101.1 >> which is the >> >> > gateway and the Management server is 172.17.101.248 but it is >> looking >> >> in to >> >> > Loval host >> >> > >> >> > >> >> > >> >> > >> >> > [image: Inline images 2] >> >> > >> >> > What is going on, have I done something wrong? >> >> > >> >> > On 8 August 2017 at 14:22, Dag Sonstebo < >> dag.sonst...@shapeblue.com> >> >> > wrote: >> >> > >> >> >> Hi Asanka, >> >> >> >> >> >> One quick thing to check – log in to your SSVM and run >> >> >> /use/local/cloud/systemvm/ssvm-check.sh – this will tell you >> if the >> >> SSVM >> >> >> can mount and write to secondary storage. >> >> >> >> >> >> Regards, >> >> >> Dag Sonstebo >> >> >> Cloud Architect >> >> >> ShapeBlue >> >> >> >> >> >> From: Asanka Gunasekara >> >> >> Reply-To: "users@cloudstack.apache.org" < >> users@cloudstack.apache.org> >> >> >> Date: Tuesday, 8 August 2017 at 09:27 >> >> >> To: "users@cloudstack.apache.org" >> >> >> Subject: Re: Secondary storage is not secondary properly >> >> >> >> >> >> I am sorry Eric, thank you for replying, please see below for >> the rest >> >> >> results >> >> >> >> >> >> * Make sure that it's accessible from the *storage* netw
Re: Secondary storage is not secondary properly
Hi Dag, pleas give me few days as I am on an implementation visit to a remote site. But below are some of the test I performed before. 1. Ping from ssvm to NFS is possible 2. Manually mounting NFS to /tmp/secondary is possible without any Issy >From the previous run of the ssvm check it is looking for a serve IP 172.17.101.1. Where registered NFS share is 172.17.101.253 I will run the check again on the first chance I get Thank you and best regards Asanka On 9 Aug 2017 12:55 pm, "Dag Sonstebo" wrote: OK , can you post up the results of the ssvm check again? As suggested previously on this thread – can you try to 1) Ping the NFS server from the SSVM (SSVM check does this as well) – if this doesn’t work then you have a networking issue. 2) Depending on ping - manually mount the secondary NFS share on your SSVM. If this doesn’t work then you need to investigate the logs at the NFS end to see why the NFS handshake fails. Regards, Dag Sonstebo Cloud Architect ShapeBlue On 08/08/2017, 19:14, "Asanka Gunasekara" wrote: Hi Dag After changing localhost to management server ip oin global configuration I dont see the management server error. But the NFS error still persist Thanks and Regards Asanka dag.sonst...@shapeblue.com www.shapeblue.com 53 Chandos Place, Covent Garden, London WC2N 4HSUK @shapeblue On 8 August 2017 at 23:33, Asanka Gunasekara wrote: > Hi Dag, thanks for reply > > Did the change and the VMs are being rebuilt > > NFS server configuration, I took this from the installation guied > > [root@share ~]# cat /etc/exports > /share_smb/export/secondary *(rw,async,no_root_squash,no_ subtree_check) > /share_smb/export/primary *(rw,async,no_root_squash,no_subtree_check) > [root@share ~]# > > > On 8 August 2017 at 17:06, Dag Sonstebo > wrote: > >> Hi Asanka, >> >> Can you change your “host” global setting to your management server IP >> (it’s currently set to “localhost”), restart your management service and >> then destroy your SSVM + let this recreate. >> >> Once done run the check again and let us know the outcome. >> >> Can you also show us the configuration of your NFS share – i.e. what >> parameters are set etc. >> >> Regards, >> Dag Sonstebo >> Cloud Architect >> ShapeBlue >> >> On 08/08/2017, 10:28, "Asanka Gunasekara" wrote: >> >> Hi Guys, >> >> ssvm-check.sh command output >> >> https://snag.gy/bzpE5n.jpg >> >> Details of my nfs share >> >> https://snag.gy/WgJxCY.jpg >> >> Thanks and Best Regards >> >> Asanka >> >> >> >> >> dag.sonst...@shapeblue.com >> www.shapeblue.com >> 53 Chandos Place, Covent Garden, London WC2N 4HSUK >> @shapeblue >> >> >> >> On 8 August 2017 at 14:48, Asanka Gunasekara wrote: >> >> > Thanks Makrand >> > >> > On 8 August 2017 at 14:42, Makrand wrote: >> > >> >> Asanka, >> >> >> >> The email list blocks the screen shots. I guess no one in the list >> can see >> >> your posted screens in emal chain. >> >> >> >> Better paste text output of the result or upload screens to image >> hosting >> >> (e.g. snag.gy). >> >> >> >> -- >> >> Makrand >> >> >> >> >> >> On Tue, Aug 8, 2017 at 2:28 PM, Asanka Gunasekara < >> asa...@nimbus.lk> >> >> wrote: >> >> >> >> > Hi Guys, thanks for replying buy running ssvm-check.sh I got >> below >> >> output >> >> > >> >> > >> >> > [image: Inline images 1] >> >> > >> >> > My nfs is 172.17.101.253 but it is looking for 172.17.101.1 >> which is the >> >> > gateway and the Management server is 172.17.101.248 but it is >> looking >> >> in to >> >> > Loval host >> >> > >> >> > >> >> > >> >> > >> >> > [image: Inline images 2] >> >> >
Re: Secondary storage is not secondary properly
Thank you Dag, On 10 Aug 2017 3:09 am, "Dag Sonstebo" wrote: Sure, let us know how you get on. The fact that the previous ssvm check showed up with 172.17.101.1 was probably down to the wrong “host” global setting – since the SSVM didn’t know where to contact management I would guess it used a default override. Regards, Dag Sonstebo Cloud Architect ShapeBlue S: +44 20 3603 0540 | dag.sonst...@shapeblue.com | http://www.shapeblue.com <http://www.shapeblue.com/> | Twitter:@ShapeBlue < https://twitter.com/#!/shapeblue> On 09/08/2017, 17:54, "Asanka Gunasekara" wrote: Hi Dag, pleas give me few days as I am on an implementation visit to a remote site. But below are some of the test I performed before. 1. Ping from ssvm to NFS is possible 2. Manually mounting NFS to /tmp/secondary is possible without any Issy From the previous run of the ssvm check it is looking for a serve IP 172.17.101.1. Where registered NFS share is 172.17.101.253 I will run the check again on the first chance I get Thank you and best regards Asanka On 9 Aug 2017 12:55 pm, "Dag Sonstebo" wrote: OK , can you post up the results of the ssvm check again? As suggested previously on this thread – can you try to 1) Ping the NFS server from the SSVM (SSVM check does this as well) – if this doesn’t work then you have a networking issue. 2) Depending on ping - manually mount the secondary NFS share on your SSVM. If this doesn’t work then you need to investigate the logs at the NFS end to see why the NFS handshake fails. Regards, Dag Sonstebo Cloud Architect ShapeBlue On 08/08/2017, 19:14, "Asanka Gunasekara" wrote: Hi Dag After changing localhost to management server ip oin global configuration I dont see the management server error. But the NFS error still persist Thanks and Regards Asanka dag.sonst...@shapeblue.com www.shapeblue.com 53 Chandos Place, Covent Garden, London WC2N 4HSUK @shapeblue dag.sonst...@shapeblue.com www.shapeblue.com 53 Chandos Place, Covent Garden, London WC2N 4HSUK @shapeblue On 8 August 2017 at 23:33, Asanka Gunasekara wrote: > Hi Dag, thanks for reply > > Did the change and the VMs are being rebuilt > > NFS server configuration, I took this from the installation guied > > [root@share ~]# cat /etc/exports > /share_smb/export/secondary *(rw,async,no_root_squash,no_ subtree_check) > /share_smb/export/primary *(rw,async,no_root_squash,no_ subtree_check) > [root@share ~]# > > > On 8 August 2017 at 17:06, Dag Sonstebo < dag.sonst...@shapeblue.com> > wrote: > >> Hi Asanka, >> >> Can you change your “host” global setting to your management server IP >> (it’s currently set to “localhost”), restart your management service and >> then destroy your SSVM + let this recreate. >> >> Once done run the check again and let us know the outcome. >> >> Can you also show us the configuration of your NFS share – i.e. what >> parameters are set etc. >> >> Regards, >> Dag Sonstebo >> Cloud Architect >> ShapeBlue >> >> On 08/08/2017, 10:28, "Asanka Gunasekara" wrote: >> >> Hi Guys, >> >> ssvm-check.sh command output >> >> https://snag.gy/bzpE5n.jpg >> >> Details of my nfs share >> >> https://snag.gy/WgJxCY.jpg >> >> Thanks and Best Regards >> >> Asanka >> >> >> >> >> dag.sonst...@shapeblue.com >> www.shapeblue.com >> 53 Chandos Place, Covent Garden, London WC2N 4HSUK >> @shapeblue >> >> >> >> On 8 August 2017 at 14:48, Asanka Gunasekara wrote: >> >> > Thanks Makrand >> > >> > On 8 August 2017 at 14:42, Makrand wrote: >> > >> >> Asanka, >> >> >> >> The email list blocks the screen shots. I guess no one in the list >> can see >> >> your posted screens in emal chain. >> >> >> >> Better paste text output of the result or upload screens to
Re: Secondary storage is not secondary properly
Hi Dag, I deleted both the system VMs and from the cloudstack it says starting but I dont see the the VM been generated, now its since more than 12 houres Thanks and Regards Asanka On 10 August 2017 at 21:47, Asanka Gunasekara wrote: > Thank you Dag, > > > On 10 Aug 2017 3:09 am, "Dag Sonstebo" wrote: > > Sure, let us know how you get on. The fact that the previous ssvm check > showed up with 172.17.101.1 was probably down to the wrong “host” global > setting – since the SSVM didn’t know where to contact management I would > guess it used a default override. > > Regards, > Dag Sonstebo > Cloud Architect > ShapeBlue > S: +44 20 3603 0540 | dag.sonst...@shapeblue.com | > http://www.shapeblue.com <http://www.shapeblue.com/> | Twitter:@ShapeBlue > <https://twitter.com/#!/shapeblue> > > > On 09/08/2017, 17:54, "Asanka Gunasekara" wrote: > > Hi Dag, pleas give me few days as I am on an implementation visit to a > remote site. But below are some of the test I performed before. > > 1. Ping from ssvm to NFS is possible > 2. Manually mounting NFS to /tmp/secondary is possible without any Issy > > From the previous run of the ssvm check it is looking for a serve IP > 172.17.101.1. Where registered NFS share is 172.17.101.253 > > I will run the check again on the first chance I get > > Thank you and best regards > > Asanka > > > On 9 Aug 2017 12:55 pm, "Dag Sonstebo" > wrote: > > OK , can you post up the results of the ssvm check again? > > As suggested previously on this thread – can you try to > 1) Ping the NFS server from the SSVM (SSVM check does this as well) – > if > this doesn’t work then you have a networking issue. > 2) Depending on ping - manually mount the secondary NFS share on your > SSVM. > If this doesn’t work then you need to investigate the logs at the NFS > end > to see why the NFS handshake fails. > > Regards, > Dag Sonstebo > Cloud Architect > ShapeBlue > > On 08/08/2017, 19:14, "Asanka Gunasekara" wrote: > > Hi Dag > > After changing localhost to management server ip oin global > configuration I > dont see the management server error. But the NFS error still > persist > > Thanks and Regards > > Asanka > > > dag.sonst...@shapeblue.com > www.shapeblue.com > 53 Chandos Place, Covent Garden, London WC2N 4HSUK > @shapeblue > > > > > dag.sonst...@shapeblue.com > www.shapeblue.com > 53 Chandos Place, Covent Garden, London WC2N 4HSUK > @shapeblue > > > > On 8 August 2017 at 23:33, Asanka Gunasekara wrote: > > > Hi Dag, thanks for reply > > > > Did the change and the VMs are being rebuilt > > > > NFS server configuration, I took this from the installation guied > > > > [root@share ~]# cat /etc/exports > > /share_smb/export/secondary *(rw,async,no_root_squash,no_ > subtree_check) > > /share_smb/export/primary *(rw,async,no_root_squash,no_s > ubtree_check) > > [root@share ~]# > > > > > > On 8 August 2017 at 17:06, Dag Sonstebo < > dag.sonst...@shapeblue.com> > > wrote: > > > >> Hi Asanka, > >> > >> Can you change your “host” global setting to your management > server > IP > >> (it’s currently set to “localhost”), restart your management > service > and > >> then destroy your SSVM + let this recreate. > >> > >> Once done run the check again and let us know the outcome. > >> > >> Can you also show us the configuration of your NFS share – i.e. > what > >> parameters are set etc. > >> > >> Regards, > >> Dag Sonstebo > >> Cloud Architect > >> ShapeBlue > >> > >> On 08/08/2017, 10:28, "Asanka Gunasekara" > wrote: > >> > >> Hi Guys, > >> > >> ssvm-check.sh command output > >> > >> https://snag.gy/bzpE5n.jpg > >> > >> Details of my nfs share > >> > >> https://snag.gy/WgJxCY.jpg > >> > >> Thanks and Best Regards > >> > >>
Re: Secondary storage is not secondary properly
Hi Guys, when a system VM is in start state in ui, it does not give any option to delete stop start etc. What if it to change db entry of the system VMS to running state. Will it give me the option to destroy? If so what would be the database relation? Thanks and regards Asanka On 15 Aug 2017 6:42 am, "Asanka Gunasekara" wrote: > Hi Dag, I deleted both the system VMs and from the cloudstack it says > starting but I dont see the the VM been generated, now its since more than > 12 houres > > Thanks and Regards > > Asanka > > On 10 August 2017 at 21:47, Asanka Gunasekara wrote: > >> Thank you Dag, >> >> >> On 10 Aug 2017 3:09 am, "Dag Sonstebo" >> wrote: >> >> Sure, let us know how you get on. The fact that the previous ssvm check >> showed up with 172.17.101.1 was probably down to the wrong “host” global >> setting – since the SSVM didn’t know where to contact management I would >> guess it used a default override. >> >> Regards, >> Dag Sonstebo >> Cloud Architect >> ShapeBlue >> S: +44 20 3603 0540 | dag.sonst...@shapeblue.com | >> http://www.shapeblue.com <http://www.shapeblue.com/> | Twitter:@ShapeBlue >> <https://twitter.com/#!/shapeblue> >> >> >> On 09/08/2017, 17:54, "Asanka Gunasekara" wrote: >> >> Hi Dag, pleas give me few days as I am on an implementation visit to a >> remote site. But below are some of the test I performed before. >> >> 1. Ping from ssvm to NFS is possible >> 2. Manually mounting NFS to /tmp/secondary is possible without any >> Issy >> >> From the previous run of the ssvm check it is looking for a serve IP >> 172.17.101.1. Where registered NFS share is 172.17.101.253 >> >> I will run the check again on the first chance I get >> >> Thank you and best regards >> >> Asanka >> >> >> On 9 Aug 2017 12:55 pm, "Dag Sonstebo" >> wrote: >> >> OK , can you post up the results of the ssvm check again? >> >> As suggested previously on this thread – can you try to >> 1) Ping the NFS server from the SSVM (SSVM check does this as well) – >> if >> this doesn’t work then you have a networking issue. >> 2) Depending on ping - manually mount the secondary NFS share on your >> SSVM. >> If this doesn’t work then you need to investigate the logs at the NFS >> end >> to see why the NFS handshake fails. >> >> Regards, >> Dag Sonstebo >> Cloud Architect >> ShapeBlue >> >> On 08/08/2017, 19:14, "Asanka Gunasekara" wrote: >> >> Hi Dag >> >> After changing localhost to management server ip oin global >> configuration I >> dont see the management server error. But the NFS error still >> persist >> >> Thanks and Regards >> >> Asanka >> >> >> dag.sonst...@shapeblue.com >> www.shapeblue.com >> 53 Chandos Place, Covent Garden, London WC2N 4HSUK >> @shapeblue >> >> >> >> >> dag.sonst...@shapeblue.com >> www.shapeblue.com >> 53 Chandos Place, Covent Garden, London WC2N 4HSUK >> @shapeblue >> >> >> >> On 8 August 2017 at 23:33, Asanka Gunasekara wrote: >> >> > Hi Dag, thanks for reply >> > >> > Did the change and the VMs are being rebuilt >> > >> > NFS server configuration, I took this from the installation >> guied >> > >> > [root@share ~]# cat /etc/exports >> > /share_smb/export/secondary *(rw,async,no_root_squash,no_ >> subtree_check) >> > /share_smb/export/primary *(rw,async,no_root_squash,no_s >> ubtree_check) >> > [root@share ~]# >> > >> > >> > On 8 August 2017 at 17:06, Dag Sonstebo < >> dag.sonst...@shapeblue.com> >> > wrote: >> > >> >> Hi Asanka, >> >> >> >> Can you change your “host” global setting to your management >> server >> IP >> >> (it’s currently set to “localhost”), restart your management >> service >> and >> >> then destroy your SSVM + let this recreate. >> >> >> >> Once done run the check again and let us know the outcome. >> >&
Re: Secondary storage is not secondary properly
Hi Guys, what would happen if i change the column in the table VM_instance, to Destroyed or running :( On 15 Aug 2017 8:28 am, "Asanka Gunasekara" wrote: > Hi Guys, when a system VM is in start state in ui, it does not give any > option to delete stop start etc. What if it to change db entry of the > system VMS to running state. Will it give me the option to destroy? If so > what would be the database relation? > > Thanks and regards > > Asanka > > On 15 Aug 2017 6:42 am, "Asanka Gunasekara" wrote: > >> Hi Dag, I deleted both the system VMs and from the cloudstack it says >> starting but I dont see the the VM been generated, now its since more than >> 12 houres >> >> Thanks and Regards >> >> Asanka >> >> On 10 August 2017 at 21:47, Asanka Gunasekara wrote: >> >>> Thank you Dag, >>> >>> >>> On 10 Aug 2017 3:09 am, "Dag Sonstebo" >>> wrote: >>> >>> Sure, let us know how you get on. The fact that the previous ssvm check >>> showed up with 172.17.101.1 was probably down to the wrong “host” global >>> setting – since the SSVM didn’t know where to contact management I would >>> guess it used a default override. >>> >>> Regards, >>> Dag Sonstebo >>> Cloud Architect >>> ShapeBlue >>> S: +44 20 3603 0540 | dag.sonst...@shapeblue.com | >>> http://www.shapeblue.com <http://www.shapeblue.com/> | >>> Twitter:@ShapeBlue <https://twitter.com/#!/shapeblue> >>> >>> >>> On 09/08/2017, 17:54, "Asanka Gunasekara" wrote: >>> >>> Hi Dag, pleas give me few days as I am on an implementation visit to >>> a >>> remote site. But below are some of the test I performed before. >>> >>> 1. Ping from ssvm to NFS is possible >>> 2. Manually mounting NFS to /tmp/secondary is possible without any >>> Issy >>> >>> From the previous run of the ssvm check it is looking for a serve IP >>> 172.17.101.1. Where registered NFS share is 172.17.101.253 >>> >>> I will run the check again on the first chance I get >>> >>> Thank you and best regards >>> >>> Asanka >>> >>> >>> On 9 Aug 2017 12:55 pm, "Dag Sonstebo" >>> wrote: >>> >>> OK , can you post up the results of the ssvm check again? >>> >>> As suggested previously on this thread – can you try to >>> 1) Ping the NFS server from the SSVM (SSVM check does this as well) >>> – if >>> this doesn’t work then you have a networking issue. >>> 2) Depending on ping - manually mount the secondary NFS share on >>> your SSVM. >>> If this doesn’t work then you need to investigate the logs at the >>> NFS end >>> to see why the NFS handshake fails. >>> >>> Regards, >>> Dag Sonstebo >>> Cloud Architect >>> ShapeBlue >>> >>> On 08/08/2017, 19:14, "Asanka Gunasekara" wrote: >>> >>> Hi Dag >>> >>> After changing localhost to management server ip oin global >>> configuration I >>> dont see the management server error. But the NFS error still >>> persist >>> >>> Thanks and Regards >>> >>> Asanka >>> >>> >>> dag.sonst...@shapeblue.com >>> www.shapeblue.com >>> 53 Chandos Place, Covent Garden, London WC2N 4HSUK >>> @shapeblue >>> >>> >>> >>> >>> dag.sonst...@shapeblue.com >>> www.shapeblue.com >>> 53 Chandos Place, Covent Garden, London WC2N 4HSUK >>> @shapeblue >>> >>> >>> >>> On 8 August 2017 at 23:33, Asanka Gunasekara wrote: >>> >>> > Hi Dag, thanks for reply >>> > >>> > Did the change and the VMs are being rebuilt >>> > >>> > NFS server configuration, I took this from the installation >>> guied >>> > >>> > [root@share ~]# cat /etc/exports >>> > /share_smb/export/secondary *(rw,async,no_root_squash,no_ >>> subtree_check) >>> > /share_smb/export/primary *(rw,async,no_root_squash,no_s >>> ubtree_check) >>> > [root@share ~]# >>> > >>>
Re: Secondary storage is not secondary properly
Thank you Dag Best Regards Asanka On 15 August 2017 at 13:18, Dag Sonstebo wrote: > Hi Asanka, > > Maybe give you management server a reboot first of all. > > If this fails then yes we sometimes set status to stopped or destroyed in > the DB – you also need to set the removed date and last update date. > > Regards, > Dag Sonstebo > Cloud Architect > ShapeBlue > > On 15/08/2017, 07:07, "Asanka Gunasekara" wrote: > > Hi Guys, what would happen if i change the column in the table > VM_instance, > to Destroyed or running > > :( > > On 15 Aug 2017 8:28 am, "Asanka Gunasekara" wrote: > > > Hi Guys, when a system VM is in start state in ui, it does not give > any > > option to delete stop start etc. What if it to change db entry of the > > system VMS to running state. Will it give me the option to destroy? > If so > > what would be the database relation? > > > > Thanks and regards > > > > Asanka > > > > On 15 Aug 2017 6:42 am, "Asanka Gunasekara" > wrote: > > > >> Hi Dag, I deleted both the system VMs and from the cloudstack it > says > >> starting but I dont see the the VM been generated, now its since > more than > >> 12 houres > >> > >> Thanks and Regards > >> > >> Asanka > >> > > > dag.sonst...@shapeblue.com > www.shapeblue.com > 53 Chandos Place, Covent Garden, London WC2N 4HSUK > @shapeblue > > > > > On 10 August 2017 at 21:47, Asanka Gunasekara wrote: > >> > >>> Thank you Dag, > >>> > >>> > >>> On 10 Aug 2017 3:09 am, "Dag Sonstebo" > > >>> wrote: > >>> > >>> Sure, let us know how you get on. The fact that the previous ssvm > check > >>> showed up with 172.17.101.1 was probably down to the wrong “host” > global > >>> setting – since the SSVM didn’t know where to contact management I > would > >>> guess it used a default override. > >>> > >>> Regards, > >>> Dag Sonstebo > >>> Cloud Architect > >>> ShapeBlue > >>> S: +44 20 3603 0540 | dag.sonst...@shapeblue.com | > >>> http://www.shapeblue.com <http://www.shapeblue.com/> | > >>> Twitter:@ShapeBlue <https://twitter.com/#!/shapeblue> > >>> > >>> > >>> On 09/08/2017, 17:54, "Asanka Gunasekara" > wrote: > >>> > >>> Hi Dag, pleas give me few days as I am on an implementation > visit to > >>> a > >>> remote site. But below are some of the test I performed before. > >>> > >>> 1. Ping from ssvm to NFS is possible > >>> 2. Manually mounting NFS to /tmp/secondary is possible without > any > >>> Issy > >>> > >>> From the previous run of the ssvm check it is looking for a > serve IP > >>> 172.17.101.1. Where registered NFS share is 172.17.101.253 > >>> > >>> I will run the check again on the first chance I get > >>> > >>> Thank you and best regards > >>> > >>> Asanka > >>> > >>> > >>> On 9 Aug 2017 12:55 pm, "Dag Sonstebo" < > dag.sonst...@shapeblue.com> > >>> wrote: > >>> > >>> OK , can you post up the results of the ssvm check again? > >>> > >>> As suggested previously on this thread – can you try to > >>> 1) Ping the NFS server from the SSVM (SSVM check does this as > well) > >>> – if > >>> this doesn’t work then you have a networking issue. > >>> 2) Depending on ping - manually mount the secondary NFS share > on > >>> your SSVM. > >>> If this doesn’t work then you need to investigate the logs at > the > >>> NFS end > >>> to see why the NFS handshake fails. > >>> > >>> Regards, > >>> Dag Sonstebo > >>> Cloud Architect > >>> ShapeBlue > >>> > >>> On 08/08/2017, 19:14, "Asanka Gunasekara" > wrote: > >
Re: Secondary storage is not secondary properly
Hi Dag, restart did not work but updating the tables initiate the recreation of the system VMs. But it does not give me the chance to restart cloudstack server, as soon as destroy the VMs it starts the VM recreation. Is there a way to stop this behaviour Thanks and Regards Asanka On 15 August 2017 at 14:19, Asanka Gunasekara wrote: > Thank you Dag > > Best Regards > > Asanka > > On 15 August 2017 at 13:18, Dag Sonstebo > wrote: > >> Hi Asanka, >> >> Maybe give you management server a reboot first of all. >> >> If this fails then yes we sometimes set status to stopped or destroyed in >> the DB – you also need to set the removed date and last update date. >> >> Regards, >> Dag Sonstebo >> Cloud Architect >> ShapeBlue >> >> On 15/08/2017, 07:07, "Asanka Gunasekara" wrote: >> >> Hi Guys, what would happen if i change the column in the table >> VM_instance, >> to Destroyed or running >> >> :( >> >> On 15 Aug 2017 8:28 am, "Asanka Gunasekara" wrote: >> >> > Hi Guys, when a system VM is in start state in ui, it does not give >> any >> > option to delete stop start etc. What if it to change db entry of >> the >> > system VMS to running state. Will it give me the option to destroy? >> If so >> > what would be the database relation? >> > >> > Thanks and regards >> > >> > Asanka >> > >> > On 15 Aug 2017 6:42 am, "Asanka Gunasekara" >> wrote: >> > >> >> Hi Dag, I deleted both the system VMs and from the cloudstack it >> says >> >> starting but I dont see the the VM been generated, now its since >> more than >> >> 12 houres >> >> >> >> Thanks and Regards >> >> >> >> Asanka >> >> >> > >> dag.sonst...@shapeblue.com >> www.shapeblue.com >> 53 Chandos Place, Covent Garden, London WC2N 4HSUK >> @shapeblue >> >> >> >> > On 10 August 2017 at 21:47, Asanka Gunasekara wrote: >> >> >> >>> Thank you Dag, >> >>> >> >>> >> >>> On 10 Aug 2017 3:09 am, "Dag Sonstebo" < >> dag.sonst...@shapeblue.com> >> >>> wrote: >> >>> >> >>> Sure, let us know how you get on. The fact that the previous ssvm >> check >> >>> showed up with 172.17.101.1 was probably down to the wrong “host” >> global >> >>> setting – since the SSVM didn’t know where to contact management >> I would >> >>> guess it used a default override. >> >>> >> >>> Regards, >> >>> Dag Sonstebo >> >>> Cloud Architect >> >>> ShapeBlue >> >>> S: +44 20 3603 0540 | dag.sonst...@shapeblue.com | >> >>> http://www.shapeblue.com <http://www.shapeblue.com/> | >> >>> Twitter:@ShapeBlue <https://twitter.com/#!/shapeblue> >> >>> >> >>> >> >>> On 09/08/2017, 17:54, "Asanka Gunasekara" >> wrote: >> >>> >> >>> Hi Dag, pleas give me few days as I am on an implementation >> visit to >> >>> a >> >>> remote site. But below are some of the test I performed >> before. >> >>> >> >>> 1. Ping from ssvm to NFS is possible >> >>> 2. Manually mounting NFS to /tmp/secondary is possible >> without any >> >>> Issy >> >>> >> >>> From the previous run of the ssvm check it is looking for a >> serve IP >> >>> 172.17.101.1. Where registered NFS share is 172.17.101.253 >> >>> >> >>> I will run the check again on the first chance I get >> >>> >> >>> Thank you and best regards >> >>> >> >>> Asanka >> >>> >> >>> >> >>> On 9 Aug 2017 12:55 pm, "Dag Sonstebo" < >> dag.sonst...@shapeblue.com> >> >>> wrote: >> >>> >> >>> OK , can you post up the results of the ssvm check again? >> >>> >> >>> As sugg
Re: Secondary storage is not secondary properly
Thank you, Rodrigo Best Regards Asanka On 15 August 2017 at 23:04, Rodrigo Baldasso wrote: > Put the zone in maitenance mode, that will not auto create the ssvm's. > > - - - - - - - - - - - - - - - - - - - > > Rodrigo Baldasso - LHOST > > (51) 9 8419-9861 > - - - - - - - - - - - - - - - - - - - > On 15/08/2017 14:00:45, Asanka Gunasekara wrote: > Hi Dag, restart did not work but updating the tables initiate the > recreation of the system VMs. But it does not give me the chance to restart > cloudstack server, as soon as destroy the VMs it starts the VM recreation. > Is there a way to stop this behaviour > > Thanks and Regards > > Asanka > > On 15 August 2017 at 14:19, Asanka Gunasekara wrote: > > > Thank you Dag > > > > Best Regards > > > > Asanka > > > > On 15 August 2017 at 13:18, Dag Sonstebo > > wrote: > > > >> Hi Asanka, > >> > >> Maybe give you management server a reboot first of all. > >> > >> If this fails then yes we sometimes set status to stopped or destroyed > in > >> the DB – you also need to set the removed date and last update date. > >> > >> Regards, > >> Dag Sonstebo > >> Cloud Architect > >> ShapeBlue > >> > >> On 15/08/2017, 07:07, "Asanka Gunasekara" wrote: > >> > >> Hi Guys, what would happen if i change the column in the table > >> VM_instance, > >> to Destroyed or running > >> > >> :( > >> > >> On 15 Aug 2017 8:28 am, "Asanka Gunasekara" wrote: > >> > >> > Hi Guys, when a system VM is in start state in ui, it does not give > >> any > >> > option to delete stop start etc. What if it to change db entry of > >> the > >> > system VMS to running state. Will it give me the option to destroy? > >> If so > >> > what would be the database relation? > >> > > >> > Thanks and regards > >> > > >> > Asanka > >> > > >> > On 15 Aug 2017 6:42 am, "Asanka Gunasekara" > >> wrote: > >> > > >> >> Hi Dag, I deleted both the system VMs and from the cloudstack it > >> says > >> >> starting but I dont see the the VM been generated, now its since > >> more than > >> >> 12 houres > >> >> > >> >> Thanks and Regards > >> >> > >> >> Asanka > >> >> > >> > > >> dag.sonst...@shapeblue.com > >> www.shapeblue.com > >> 53 Chandos Place, Covent Garden, London WC2N 4HSUK > >> @shapeblue > >> > >> > >> > >> > On 10 August 2017 at 21:47, Asanka Gunasekara wrote: > >> >> > >> >>> Thank you Dag, > >> >>> > >> >>> > >> >>> On 10 Aug 2017 3:09 am, "Dag Sonstebo" > >> dag.sonst...@shapeblue.com> > >> >>> wrote: > >> >>> > >> >>> Sure, let us know how you get on. The fact that the previous ssvm > >> check > >> >>> showed up with 172.17.101.1 was probably down to the wrong “host” > >> global > >> >>> setting – since the SSVM didn’t know where to contact management > >> I would > >> >>> guess it used a default override. > >> >>> > >> >>> Regards, > >> >>> Dag Sonstebo > >> >>> Cloud Architect > >> >>> ShapeBlue > >> >>> S: +44 20 3603 0540 | dag.sonst...@shapeblue.com | > >> >>> http://www.shapeblue.com | > >> >>> Twitter:@ShapeBlue > >> >>> > >> >>> > >> >>> On 09/08/2017, 17:54, "Asanka Gunasekara" > >> wrote: > >> >>> > >> >>> Hi Dag, pleas give me few days as I am on an implementation > >> visit to > >> >>> a > >> >>> remote site. But below are some of the test I performed > >> before. > >> >>> > >> >>> 1. Ping from ssvm to NFS is possible > >> >>> 2. Manually mounting NFS to /tmp/secondary is possible > >> without any > >> >>> Issy > >> >>> > >> >>> From the previous run of the ssvm check it is looking for a > >> serve IP > >> >>> 172.17.101.1. Where registered NFS sha
Re: Secondary storage is not secondary properly
Hi Dag, still the error persists, please find the screen shot url https://snag.gy/xecXiP.jpg Could it be the cloudstack version that I am using, since the vmware support is not built in to the download cloudstack provided, I used below url but the system vm template is from cloudstack http://www.shapeblue.com/packages/ Thanks and Reagrds Asanka On 17 August 2017 at 11:37, Asanka Gunasekara wrote: > Thank you, Rodrigo > > Best Regards > > Asanka > > On 15 August 2017 at 23:04, Rodrigo Baldasso > wrote: > >> Put the zone in maitenance mode, that will not auto create the ssvm's. >> >> - - - - - - - - - - - - - - - - - - - >> >> Rodrigo Baldasso - LHOST >> >> (51) 9 8419-9861 >> - - - - - - - - - - - - - - - - - - - >> On 15/08/2017 14:00:45, Asanka Gunasekara wrote: >> Hi Dag, restart did not work but updating the tables initiate the >> recreation of the system VMs. But it does not give me the chance to >> restart >> cloudstack server, as soon as destroy the VMs it starts the VM recreation. >> Is there a way to stop this behaviour >> >> Thanks and Regards >> >> Asanka >> >> On 15 August 2017 at 14:19, Asanka Gunasekara wrote: >> >> > Thank you Dag >> > >> > Best Regards >> > >> > Asanka >> > >> > On 15 August 2017 at 13:18, Dag Sonstebo >> > wrote: >> > >> >> Hi Asanka, >> >> >> >> Maybe give you management server a reboot first of all. >> >> >> >> If this fails then yes we sometimes set status to stopped or destroyed >> in >> >> the DB – you also need to set the removed date and last update date. >> >> >> >> Regards, >> >> Dag Sonstebo >> >> Cloud Architect >> >> ShapeBlue >> >> >> >> On 15/08/2017, 07:07, "Asanka Gunasekara" wrote: >> >> >> >> Hi Guys, what would happen if i change the column in the table >> >> VM_instance, >> >> to Destroyed or running >> >> >> >> :( >> >> >> >> On 15 Aug 2017 8:28 am, "Asanka Gunasekara" wrote: >> >> >> >> > Hi Guys, when a system VM is in start state in ui, it does not give >> >> any >> >> > option to delete stop start etc. What if it to change db entry of >> >> the >> >> > system VMS to running state. Will it give me the option to destroy? >> >> If so >> >> > what would be the database relation? >> >> > >> >> > Thanks and regards >> >> > >> >> > Asanka >> >> > >> >> > On 15 Aug 2017 6:42 am, "Asanka Gunasekara" >> >> wrote: >> >> > >> >> >> Hi Dag, I deleted both the system VMs and from the cloudstack it >> >> says >> >> >> starting but I dont see the the VM been generated, now its since >> >> more than >> >> >> 12 houres >> >> >> >> >> >> Thanks and Regards >> >> >> >> >> >> Asanka >> >> >> >> >> > >> >> dag.sonst...@shapeblue.com >> >> www.shapeblue.com >> >> 53 Chandos Place, Covent Garden, London WC2N 4HSUK >> >> @shapeblue >> >> >> >> >> >> >> >> > On 10 August 2017 at 21:47, Asanka Gunasekara wrote: >> >> >> >> >> >>> Thank you Dag, >> >> >>> >> >> >>> >> >> >>> On 10 Aug 2017 3:09 am, "Dag Sonstebo" >> >> dag.sonst...@shapeblue.com> >> >> >>> wrote: >> >> >>> >> >> >>> Sure, let us know how you get on. The fact that the previous ssvm >> >> check >> >> >>> showed up with 172.17.101.1 was probably down to the wrong “host” >> >> global >> >> >>> setting – since the SSVM didn’t know where to contact management >> >> I would >> >> >>> guess it used a default override. >> >> >>> >> >> >>> Regards, >> >> >>> Dag Sonstebo >> >> >>> Cloud Architect >> >> >>> ShapeBlue >> >> >>> S: +44 20 3603 0540 | dag.sonst...@shapeblue.com | >> >> >>> http://www.shapeblue.com | >> >> >>> Twitter:@ShapeBl
Re: Secondary storage is not secondary properly
Hi Dag, the ip 172.17.101.1 which it is looking for is my gateway IP. Below are the urls for the the requested query output files SELECT * FROM cloud.image_store; http://wikisend.com/download/727732/01.htm SELECT id,name,url,state FROM cloud.vm_template where type='SYSTEM'; http://wikisend.com/download/229028/02.htm Thank you and best regards Asanka On 17 August 2017 at 15:47, Dag Sonstebo wrote: > Hi Asanka, > > This looks odd – your SSVM is connecting to your management server but as > far as I can see it is still trying to connect to the wrong NFS server. > > Can you give me the output from the following MySQL queries: > > SELECT * FROM cloud.image_store; > > SELECT id,name,url,state FROM cloud.vm_template where type='SYSTEM'; > > Regards, > Dag Sonstebo > Cloud Architect > ShapeBlue > S: +44 20 3603 0540 | dag.sonst...@shapeblue.com | > http://www.shapeblue.com <http://www.shapeblue.com/> | Twitter:@ShapeBlue > <https://twitter.com/#!/shapeblue> > > > On 17/08/2017, 07:41, "Asanka Gunasekara" wrote: > > Hi Dag, still the error persists, please find the screen shot url > > https://snag.gy/xecXiP.jpg > > Could it be the cloudstack version that I am using, since the vmware > support is not built in to the download cloudstack provided, I used > below > url but the system vm template is from cloudstack > > http://www.shapeblue.com/packages/ > > Thanks and Reagrds > > Asanka > > > dag.sonst...@shapeblue.com > www.shapeblue.com > 53 Chandos Place, Covent Garden, London WC2N 4HSUK > @shapeblue > > > > On 17 August 2017 at 11:37, Asanka Gunasekara wrote: > > > Thank you, Rodrigo > > > > Best Regards > > > > Asanka > > > > On 15 August 2017 at 23:04, Rodrigo Baldasso < > rodr...@loophost.com.br> > > wrote: > > > >> Put the zone in maitenance mode, that will not auto create the > ssvm's. > >> > >> - - - - - - - - - - - - - - - - - - - > >> > >> Rodrigo Baldasso - LHOST > >> > >> (51) 9 8419-9861 > >> - - - - - - - - - - - - - - - - - - - > >> On 15/08/2017 14:00:45, Asanka Gunasekara wrote: > >> Hi Dag, restart did not work but updating the tables initiate the > >> recreation of the system VMs. But it does not give me the chance to > >> restart > >> cloudstack server, as soon as destroy the VMs it starts the VM > recreation. > >> Is there a way to stop this behaviour > >> > >> Thanks and Regards > >> > >> Asanka > >> > >> On 15 August 2017 at 14:19, Asanka Gunasekara wrote: > >> > >> > Thank you Dag > >> > > >> > Best Regards > >> > > >> > Asanka > >> > > >> > On 15 August 2017 at 13:18, Dag Sonstebo > >> > wrote: > >> > > >> >> Hi Asanka, > >> >> > >> >> Maybe give you management server a reboot first of all. > >> >> > >> >> If this fails then yes we sometimes set status to stopped or > destroyed > >> in > >> >> the DB – you also need to set the removed date and last update > date. > >> >> > >> >> Regards, > >> >> Dag Sonstebo > >> >> Cloud Architect > >> >> ShapeBlue > >> >> > >> >> On 15/08/2017, 07:07, "Asanka Gunasekara" wrote: > >> >> > >> >> Hi Guys, what would happen if i change the column in the table > >> >> VM_instance, > >> >> to Destroyed or running > >> >> > >> >> :( > >> >> > >> >> On 15 Aug 2017 8:28 am, "Asanka Gunasekara" wrote: > >> >> > >> >> > Hi Guys, when a system VM is in start state in ui, it does not > give > >> >> any > >> >> > option to delete stop start etc. What if it to change db entry > of > >> >> the > >> >> > system VMS to running state. Will it give me the option to > destroy? > >> >> If so > >> >> > what would be the database relation? > >> >> > > >> >> > Thanks and regards > >>
Re: Secondary storage is not secondary properly
Hi Eric, SSVM can access my nfs and I an manual mount :( This "s-397-VM:/# grep com.cloud.agent.api.SecStorageSetupCommand /var/log/cloud.log" did not produced any output, but found below error >From the VM's /var/log/cloud.log: ERROR [cloud.agent.AgentShell] (main:null) Unable to start agent: Resource class not found: com.cloud.storage.resource.PremiumSecondaryStorageResource due to: java.lang.ClassNotFoundException: com.cloud.storage.resource.PremiumSecondaryStorageResource I used cloudstac from http://www.shapeblue.com/packages/ and the SSVM template from http://cloudstack.apt-get.eu/systemvm/4.6/systemvm64template-4.6.0-vmware.ova Do you think I need to use http://packages.shapeblue.com/systemvmtemplate/ If it so how can I replace an existing SSVM template? Sorry to be of a asking these question, I am new to this setup Thank you and Best Regards Asanka On 18 August 2017 at 03:38, Eric Lee Green wrote: > On 08/17/2017 11:17 AM, Asanka Gunasekara wrote: > >> Hi Dag, the ip 172.17.101.1 which it is looking for is my gateway IP. >> Below >> are the urls for the the requested query output files >> >> SELECT * FROM cloud.image_store; >> > Interesting. The only row with a NULL 'removed' column looks good, so it > looks like your database configuration is correct: > > 5 | NFS_Secondary | NFS | nfs | nfs://172.17.101.253/share_smb > /export/secondary |1 | ZONE | Image | > a4e17aca-dc16-494e-b696-8f8fae58a391 | 2017-08-14 19:12:50.0 ||| > > Compare with my own query of my own image store, which is basically > identical > > MariaDB [cloud]> select * from cloud.image_store; > +++-+--+ > -++---+- > --+--+-- > +-+-+--- > -++ > | id | name | image_provider_name | protocol | url >| data_center_id | scope | role | uuid >| parent | created | > removed | total_size | used_bytes | > +++-+--+ > -++---+- > --+--+-- > +-+-+--- > -++ > | 1 | secondary1 | NFS | nfs | nfs:// > 10.100.255.1/export/secondary | 1 | ZONE | Image | > fdaab425-a102-484b-b746-c07c4b564edd | 50d77b6b-4d99-3695-b830-24ed10d0155c > | 2017-07-31 00:55:06 | NULL | NULL | NULL | > +++-+--+ > -++---+- > --+--+-- > +-+-+--- > -++ > 1 row in set (0.00 sec) > > Note that 10.100.255.1 is on my management network, which is also my > storage network (I have everything coming in on VLAN's on a 10Gbit bond, > the 10.100.x.x network is on VLAN 100). When I go into my secondary > storage VM, here is what I see: > > Now, getting into my secondary storage VM and asking it for a list of > addresses, here is what I see: > > root@s-397-VM:~# ip addr list | grep inet > inet 127.0.0.1/8 scope host lo > inet 169.254.0.95/16 brd 169.254.255.255 scope global eth0 > inet 10.100.196.66/16 brd 10.100.255.255 scope global eth1 > inet 10.101.199.255/16 brd 10.101.255.255 scope global eth2 > inet 10.100.250.159/16 brd 10.100.255.255 scope global eth3 > > So as you can see, it definitely has access to the management network > (10.100.x.x), as well as my public IP pool (10.101.x.x) and storage pool > (the second 10.100 address). As well as the local agent-visible IP (the > 169.254.0.95) that ssh is listening on so that the agent can configure the > VM via its shared keys. > > Here is what my ssvm-check says: > > root@s-397-VM:/opt# /usr/local/cloud/systemvm/ssvm-check.sh > > First DNS server is 10.100.255.2 > PING 10.100.255.2 (10.100.255.2): 48 data bytes > 56 bytes from 10.100.255.2: icmp_seq=0 ttl=64 time=0.189 ms > 56 bytes from 10.100.255.2: icmp_seq=1 ttl=64 time=0.438 ms > --- 10.100.255.2 ping statistics --- > 2 packets transmitted, 2 packets received, 0% packet loss > round-trip min/avg/max/stddev = 0.189/0.314/0.438/0.125 ms > Good: Can ping DNS server > > Good: DNS resolves download.cloud.com > ==
Re: Secondary storage is not secondary properly
Hi Dag/Eric, thank you both for the reply, let me do your advice and will update you on the results Thank you and best Regards Asanka On 19 August 2017 at 14:45, Dag Sonstebo wrote: > Hi Asanka, > > Agree with Eric, doesn’t look right., > > The quickest solution here is to: > > 1) disable zone > 2) delete system VMs > 3) remove secondary storage from cloudstack > 4) try the secondary storage seeding again with images from > http://packages.shapeblue.com/systemvmtemplate/4.6/new/ - but use the > “-F” option when you call /usr/share/cloudstack-common/ > scripts/storage/secondary/cloud-install-sys-tmplt > this will clean up > previous template > 5) add secondary storage to CloudStack again > 6) enable zone and monitor > > > Regards, > Dag Sonstebo > Cloud Architect > ShapeBlue > > On 18/08/2017, 18:35, "Eric Green" wrote: > > > > dag.sonst...@shapeblue.com > www.shapeblue.com > 53 Chandos Place, Covent Garden, London WC2N 4HSUK > @shapeblue > > > > > On Aug 18, 2017, at 03:22, Asanka Gunasekara wrote: > > > > Hi Eric, > > > > SSVM can access my nfs and I an manual mount :( > > > > This "s-397-VM:/# grep com.cloud.agent.api.SecStorageSetupCommand > /var/log/cloud.log" did not produced any output, but found below error > > > > From the VM's /var/log/cloud.log: > > ERROR [cloud.agent.AgentShell] (main:null) Unable to start agent: > Resource class not found: com.cloud.storage.resource. > PremiumSecondaryStorageResource due to: java.lang.ClassNotFoundException: > com.cloud.storage.resource.PremiumSecondaryStorageResource > > > Hmm. That doesn't look good. So the agent is never even able to start > because of that exception. This looks like a mismatch between your SSVM > template and your version of Cloudstack. It looks like you're using a > version of Cloudstack that has been compiled with premium features that is > expecting a template that supports premium features. > > Someone else will have to tell you how to change the SSVM template, I > don't know that. Or since this is a zone that has never been operational, > you may choose to simply wipe the current install entirely and start over > again from scratch with a Cloudstack and SSVM template all from the same > source. Remember to drop and recreate the database as part of that process, > as well as remove all the contents of the secondary store and follow the > directions again to reinitialize with the initial template. > > For the record, I got my Cloudstack from this source: > > [cloudstack] > name=cloudstack > baseurl=http://cloudstack.apt-get.eu/centos/$releasever/4.9/ > enabled=1 > gpgcheck=0 > > My template similarly came from that source (but the 4.6 version, as > you specified). > > Once I got my networking sorted out, which you seem to have done, it > Just Worked. > > > >
Re: Secondary storage is not secondary properly
Hi Guya, I tried replacing the template but did not work, Java process or the NFS worked. Since this is a lap environment for a migration, guess its best to try from scratch! SSVM 1. Java process is not starting 2. NFS is not mounting and it is looking for for the IP 172.17.101.1 which ic my Gateway where nfs server is 172.17.101.253 Console Proxy VM 1. JavaProcess Running 2. NFS is not mounting but it is looking for an ip 255.255.255.255 :( Its wired!! Any how I will try to do the reset of the database and ESXi server and try again.Will keep you posted on the things Thanks and Regards Asanka On 21 August 2017 at 10:46, Asanka Gunasekara wrote: > Hi Dag/Eric, thank you both for the reply, let me do your advice and will > update you on the results > > Thank you and best Regards > > Asanka > > On 19 August 2017 at 14:45, Dag Sonstebo > wrote: > >> Hi Asanka, >> >> Agree with Eric, doesn’t look right., >> >> The quickest solution here is to: >> >> 1) disable zone >> 2) delete system VMs >> 3) remove secondary storage from cloudstack >> 4) try the secondary storage seeding again with images from >> http://packages.shapeblue.com/systemvmtemplate/4.6/new/ - but use the >> “-F” option when you call /usr/share/cloudstack-common/s >> cripts/storage/secondary/cloud-install-sys-tmplt > this will clean up >> previous template >> 5) add secondary storage to CloudStack again >> 6) enable zone and monitor >> >> >> Regards, >> Dag Sonstebo >> Cloud Architect >> ShapeBlue >> >> On 18/08/2017, 18:35, "Eric Green" wrote: >> >> >> >> dag.sonst...@shapeblue.com >> www.shapeblue.com >> 53 Chandos Place, Covent Garden, London WC2N 4HSUK >> @shapeblue >> >> >> >> > On Aug 18, 2017, at 03:22, Asanka Gunasekara wrote: >> > >> > Hi Eric, >> > >> > SSVM can access my nfs and I an manual mount :( >> > >> > This "s-397-VM:/# grep com.cloud.agent.api.SecStorageSetupCommand >> /var/log/cloud.log" did not produced any output, but found below error >> > >> > From the VM's /var/log/cloud.log: >> > ERROR [cloud.agent.AgentShell] (main:null) Unable to start agent: >> Resource class not found: >> com.cloud.storage.resource.PremiumSecondaryStorageResource >> due to: java.lang.ClassNotFoundException: com.cloud.storage.resource.Pre >> miumSecondaryStorageResource >> >> >> Hmm. That doesn't look good. So the agent is never even able to start >> because of that exception. This looks like a mismatch between your SSVM >> template and your version of Cloudstack. It looks like you're using a >> version of Cloudstack that has been compiled with premium features that is >> expecting a template that supports premium features. >> >> Someone else will have to tell you how to change the SSVM template, I >> don't know that. Or since this is a zone that has never been operational, >> you may choose to simply wipe the current install entirely and start over >> again from scratch with a Cloudstack and SSVM template all from the same >> source. Remember to drop and recreate the database as part of that process, >> as well as remove all the contents of the secondary store and follow the >> directions again to reinitialize with the initial template. >> >> For the record, I got my Cloudstack from this source: >> >> [cloudstack] >> name=cloudstack >> baseurl=http://cloudstack.apt-get.eu/centos/$releasever/4.9/ >> enabled=1 >> gpgcheck=0 >> >> My template similarly came from that source (but the 4.6 version, as >> you specified). >> >> Once I got my networking sorted out, which you seem to have done, it >> Just Worked. >> >> >> >> >
VPC across multiple hypevisors
Hi Guys, is there a way to do a VPC across multiple hypervisors Thanks and Regards Asanka
Re: VPC across multiple hypevisors
Thanks for the reply Makrand We have a requirement, where we need to have Database on Vmware Esxi and Application server On Xen. I am Applisuer using routing we can connect these two together. But is it possible to create a single VPC combining these two environments or just to extend the Database VPC to application server. Thanks adn regards Asanka On 16 October 2017 at 11:47, Makrand wrote: > Hi, > > Can you be a bit more descriptive as to what exactly you want to do? > > Note:- > VPC is nothing but multi-tier network (A VPC acts as a container for > multiple isolated networks that can communicate with each other via its > virtual router.) So if you're having VMs running in multi-hypervisor setup, > as long as they are connected to same VR that can work. I haven't setup > anything like this. Just a guess on my part. > > > > -- > Makrand > > > On Mon, Oct 16, 2017 at 10:37 AM, Asanka Gunasekara > wrote: > > > Hi Guys, is there a way to do a VPC across multiple hypervisors > > > > Thanks and Regards > > > > Asanka > > >
Re: VPC across multiple hypevisors
Hi All thanks for the reapplies, and Dag too mentioned this is possible. Thank you and Best Regards Asanka On 17 October 2017 at 20:51, Rafael Weingärtner wrote: > I believe it is. I have already designed and deployed a cloud environment > where we had XenServers and VMware ESXi servers in the same zone. We had > cases where the VR was in the VMware cluster and VMs in the XenServer and > everything was fine. > > > On 10/17/2017 12:34 PM, Daan Hoogland wrote: > >> Asanka, >> I've not seen that work but it might. I can't think of a hard impediment >> but having the two types of hypervisors in the same zone is required. If >> all else fails, another solution may be to split the tiers into separate >> networks and create a private gateway from the one to the other. >> hope you succeed, let us know >> Daan >> >> On Mon, Oct 16, 2017 at 8:24 AM, Asanka Gunasekara >> wrote: >> >> Thanks for the reply Makrand >>> >>> We have a requirement, where we need to have Database on Vmware Esxi and >>> Application server On Xen. I am Applisuer using routing we can connect >>> these two together. But is it possible to create a single VPC combining >>> these two environments or just to extend the Database VPC to application >>> server. >>> >>> Thanks adn regards >>> >>> Asanka >>> >>> On 16 October 2017 at 11:47, Makrand wrote: >>> >>> Hi, >>>> >>>> Can you be a bit more descriptive as to what exactly you want to do? >>>> >>>> Note:- >>>> VPC is nothing but multi-tier network (A VPC acts as a container for >>>> multiple isolated networks that can communicate with each other via its >>>> virtual router.) So if you're having VMs running in multi-hypervisor >>>> >>> setup, >>> >>>> as long as they are connected to same VR that can work. I haven't setup >>>> anything like this. Just a guess on my part. >>>> >>>> >>>> >>>> -- >>>> Makrand >>>> >>>> >>>> On Mon, Oct 16, 2017 at 10:37 AM, Asanka Gunasekara >>>> wrote: >>>> >>>> Hi Guys, is there a way to do a VPC across multiple hypervisors >>>>> >>>>> Thanks and Regards >>>>> >>>>> Asanka >>>>> >>>>> >> >> > -- > Rafael Weingärtner > >
Below error pups up while creating a Zone
Hi All, I am trying to setup a CloudStack with VMware, while creating the Zone I am getting below error. Please let me know what any additional information you would require My environment is CloudStack 4.10 VCenter - 6.5 ESXi - 5.5 I have created below on vCenter before trying Zone creation Data center - WeDatacenter Cluster - Wecluster DVS - DSwitch Number of nodes - 2 I can ping one another with out any issue, and I am trying our Advance networking :( 2017-10-31 12:02:52,840 DEBUG [c.c.a.ApiServlet] (catalina-exec-9:ctx-2475938c) (logid:8cdc7888) ===START=== 172.17.101.246 -- GET command=listHypervisors&response=json&_=1509431574317 2017-10-31 12:02:52,852 DEBUG [c.c.a.ApiServlet] (catalina-exec-9:ctx-2475938c ctx-575daa35) (logid:8cdc7888) ===END=== 172.17.101.246 -- GET command=listHypervisors&response=json&_=1509431574317 2017-10-31 12:02:52,888 DEBUG [c.c.a.ApiServlet] (catalina-exec-12:ctx-3113ae51) (logid:9c29cc4d) ===START=== 172.17.101.246 -- GET command=listConfigurations&response=json&name=vmware.use.nexus.vswitch&_=1509431574363 2017-10-31 12:02:52,911 DEBUG [c.c.a.ApiServlet] (catalina-exec-12:ctx-3113ae51 ctx-3a4c5f78) (logid:9c29cc4d) ===END=== 172.17.101.246 -- GET command=listConfigurations&response=json&name=vmware.use.nexus.vswitch&_=1509431574363 2017-10-31 12:02:52,932 DEBUG [c.c.a.ApiServlet] (catalina-exec-17:ctx-12feb65a) (logid:c701763c) ===START=== 172.17.101.246 -- GET command=listConfigurations&response=json&name=vmware.use.dvswitch&_=1509431574397 2017-10-31 12:02:52,953 DEBUG [c.c.a.ApiServlet] (catalina-exec-17:ctx-12feb65a ctx-aa9170be) (logid:c701763c) ===END=== 172.17.101.246 -- GET command=listConfigurations&response=json&name=vmware.use.dvswitch&_=1509431574397 2017-10-31 12:02:53,723 DEBUG [c.c.s.StatsCollector] (StatsCollector-5:ctx-255e604b) (logid:590926bf) HostOutOfBandManagementStatsCollector is running... 2017-10-31 12:02:53,806 DEBUG [c.c.s.StatsCollector] (StatsCollector-2:ctx-0646fc49) (logid:d6d56098) AutoScaling Monitor is running... 2017-10-31 12:02:53,832 DEBUG [c.c.s.StatsCollector] (StatsCollector-4:ctx-b358f8b2) (logid:f5b38c2f) VmStatsCollector is running... 2017-10-31 12:02:53,843 DEBUG [c.c.s.StatsCollector] (StatsCollector-6:ctx-1d586223) (logid:c85d21b3) StorageCollector is running... 2017-10-31 12:02:53,845 DEBUG [c.c.s.StatsCollector] (StatsCollector-3:ctx-cad416b9) (logid:7cb76d06) HostStatsCollector is running... 2017-10-31 12:02:55,669 DEBUG [c.c.a.ApiServlet] (catalina-exec-15:ctx-4de5d9db) (logid:dd0d4871) ===START=== 172.17.101.246 -- POST command=addVmwareDc&response=json 2017-10-31 12:02:55,685 INFO [c.c.h.v.m.VmwareManagerImpl] (catalina-exec-15:ctx-4de5d9db ctx-57acc52b) (logid:dd0d4871) Ignoring API call addVmwareDc, because VMware DC 172.17.101.246/WeDatacenter is already associated with specified zone with id 1 2017-10-31 12:02:55,685 DEBUG [c.c.a.ApiServlet] (catalina-exec-15:ctx-4de5d9db ctx-57acc52b) (logid:dd0d4871) ===END=== 172.17.101.246 -- POST command=addVmwareDc&response=json 2017-10-31 12:02:55,695 DEBUG [c.c.a.ApiServlet] (catalina-exec-16:ctx-f52cc28e) (logid:027e266d) ===START=== 172.17.101.246 -- GET command=addCluster&zoneId=f538e730-7431-4c65-bf7d-eccc154e8b48&hypervisor=VMware&clustertype=ExternalManaged&podId=6262dca1-59df-4a32-b80a-52435f2ec4f7&username=administrator&url=http%3A%2F%2F172.17.101.246%2FWeDatacenter%2FWeCluster&clustername=172.17.101.246%2FWeDatacenter%2FWeCluster&response=json&_=1509431577174 2017-10-31 12:02:55,766 INFO [c.c.h.v.VmwareServerDiscoverer] (catalina-exec-16:ctx-f52cc28e ctx-fdc1bb18) (logid:027e266d) Discover host. dc: 1, pod: 1, cluster: 6, uri host: 172.17.101.246 2017-10-31 12:02:55,872 INFO [c.c.h.v.VmwareServerDiscoverer] (catalina-exec-16:ctx-f52cc28e ctx-fdc1bb18) (logid:027e266d) Detected private network label : DSwitch,,vmwaresvs 2017-10-31 12:02:55,872 DEBUG [c.c.h.v.r.VmwareContextFactory] (catalina-exec-16:ctx-f52cc28e ctx-fdc1bb18) (logid:027e266d) initialize VmwareContext. url: https://172.17.101.246/sdk/vimService, username: administrator, password: W* 2017-10-31 12:02:58,338 INFO [o.a.c.f.j.i.AsyncJobManagerImpl] (AsyncJobMgr-Heartbeat-1:ctx-d6249ab4) (logid:30c4e7ea) Begin cleanup expired async-jobs 2017-10-31 12:02:58,345 INFO [o.a.c.f.j.i.AsyncJobManagerImpl] (AsyncJobMgr-Heartbeat-1:ctx-d6249ab4) (logid:30c4e7ea) End cleanup expired async-jobs 2017-10-31 12:03:00,019 WARN [c.c.h.v.VmwareServerDiscoverer] (catalina-exec-16:ctx-f52cc28e ctx-fdc1bb18) (logid:027e266d) Unable to connect to Vmware vSphere server. service address: 172.17.101.246. com.vmware.vim25.InvalidLoginFaultMsg: Cannot complete login due to an incorrect user name or password. 2017-10-31 12:03:00,019 WARN [c.c.r.ResourceManagerImpl] (catalina-exec-16:ctx-f52cc28e ctx-fdc1bb18) (logid:027e266d) Unable to find the server resources at http://172.17.101.246/WeDatacenter/WeCluster 2017-10-31 12:03:00,019 INFO [c.c.u.e.CSExceptionErrorCode] (catalina-exec-16:ctx-f52cc28e ctx-fd
Re: Below error pups up while creating a Zone
estInContext(ApiServlet.java:297) at com.cloud.api.ApiServlet$1.run(ApiServlet.java:129) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53) at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:126) at com.cloud.api.ApiServlet.doGet(ApiServlet.java:88) at javax.servlet.http.HttpServlet.service(HttpServlet.java:624) at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1087) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1770) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1729) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:748) 2017-10-31 12:17:37,982 INFO [c.c.a.ApiServer] (catalina-exec-20:ctx-a26bd8ef ctx-06a2c997) (logid:272077ae) Unable to add the external cluster 2017-10-31 12:17:37,983 DEBUG [c.c.a.ApiServlet] (catalina-exec-20:ctx-a26bd8ef ctx-06a2c997) (logid:272077ae) ===END=== 172.17.101.246 -- GET command=addCluster&zoneId=f538e730-7431-4c65-bf7d-eccc154e8b48&hypervisor=VMware&clustertype=ExternalManaged&podId=6262dca1-59df-4a32-b80a-52435f2ec4f7&username=administrator%40vsphere.local&url=http%3A%2F%2F172.17.101.246%2FWeDatacenter%2FWeCluster&clustername=172.17.101.246%2FWeDatacenter%2FWeCluster&response=json&_=1509432458636 2017-10-31 12:17:38,337 INFO [o.a.c.f.j.i.AsyncJobManagerImpl] (AsyncJobMgr-Heartbeat-1:ctx-6c5d6625) (logid:39b9a519) Begin cleanup expired async-jobs 2017-10-31 12:17:38,344 INFO [o.a.c.f.j.i.AsyncJobManagerImpl] (AsyncJobMgr-Heartbeat-1:ctx-6c5d6625) (logid:39b9a519) End cleanup expired async-jobs 2017-10-31 12:17:38,441 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterMonitor-1:ctx-beca6efe) (logid:dd07c085) Found 0 running routers. 2017-10-31 12:17:38,443 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-6d550b43) (logid:26fab18a) Found 0 routers to update status. 2017-10-31 12:17:38,445 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-6d550b43) (logid:26fab18a) Found 0 VPC networks to update Redundant State. 2017-10-31 12:17:38,446 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-6d550b43) (logid:26fab18a) Found 0 networks to update RvR status. 2017-10-31 12:17:38,502 DEBUG [c.c.n.ExternalDeviceUsageManagerImpl] (ExternalNetworkMonitor-1:ctx-a5cb3962) (logid:4bfe8c9f) External devices are not used. Skipping external device usage collection 2017-10-31 12:17:38,532 DEBUG [c.c.s.s.SnapshotSchedulerImpl] (SnapshotPollTask:ctx-15fdc754) (logid:549e4ada) Snapshot scheduler.poll is being called at 2017-10-31 06:47:38 GMT 2017-10-31 12:17:38,534 DEBUG [c.c.s.s.SnapshotSchedulerImpl] (SnapshotPollTask:ctx-15fdc754) (logid:549e4ada) Got 0 snapshots to be executed at 2017-10-31 06:47:38 GMT 2017-10-31 12:17:38,542 INFO [o.a.c.e.o.NetworkOrchestrator] (Network-Scavenger-1:ctx-6cc2bd5a) (logid:8d1ea888) NetworkGarbageCollector uses '600' se
Re: Below error pups up while creating a Zone
ed(ReflectiveMethodInvocation.java:157) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213) at com.sun.proxy.$Proxy169.discoverCluster(Unknown Source) at org.apache.cloudstack.api.command.admin.cluster.AddClusterCmd.execute(AddClusterCmd.java:212) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:150) at com.cloud.api.ApiServer.queueCommand(ApiServer.java:729) at com.cloud.api.ApiServer.handleRequest(ApiServer.java:553) at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:297) at com.cloud.api.ApiServlet$1.run(ApiServlet.java:129) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53) at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:126) at com.cloud.api.ApiServlet.doGet(ApiServlet.java:88) at javax.servlet.http.HttpServlet.service(HttpServlet.java:624) at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1087) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1770) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1729) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:748) 2017-10-31 15:47:25,028 ERROR [c.c.h.v.r.VmwareResource] (catalina-exec-3:ctx-80cb7953 ctx-e052e8f7) (logid:27870103) Exception while retrieving host inf o: com.cloud.utils.exception.CloudRuntimeException: querying host network info failed due to Exception: java.lang.Exception Message: Uanble to find management port group Management Network com.cloud.utils.exception.CloudRuntimeException: querying host network info failed due to Exception: java.lang.Exception Message: Uanble to find management port group Management Network at com.cloud.hypervisor.vmware.resource.VmwareResource.fillHostNetworkInfo(VmwareResource.java:4978) at com.cloud.hypervisor.vmware.resource.VmwareResource.fillHostInfo(VmwareResource.java:4886) at com.cloud.hypervisor.vmware.resource.VmwareResource.initialize(VmwareResource.java:4810) at com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1877) at com.cloud.resource.ResourceManagerImpl.discoverCluster(ResourceManagerImpl.java:530) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) On 31 October 2017 at 12:19, Asanka Gunasekara wrote: > Please ignor the above error, this was taken when I though it would have > been some thing to do with user/password. correntct one as below > > 2017-10-31 12:17:37,116 DEBUG [c.c.a.ApiServlet] > (catalina-exec-22:ctx-f2dc50b2) > (logid:799ac7c1) ===START=== 172.17.101.246 -- POST > command=addVmwareDc&response=json > 2017-10-31 12:
Re: Below error pups up while creating a Zone
Hi Dag, thanks for the reply, meaning I have to create a port group called "Management Network" in vCenter DVS and Do I need to create Guests, Storage etc as well Best Regards Asanka On 31 October 2017 at 16:41, Dag Sonstebo wrote: > Hi Asanka, > > Your networking doesn’t seem to be configured correctly - “Uanble to find > management port group Management Network”. This port group is expected on > the vSwitch you have tagged under management network in your CloudStack > networking. > > Regards, > Dag Sonstebo > Cloud Architect > ShapeBlue > > On 31/10/2017, 10:49, "Asanka Gunasekara" wrote: > > Hi, > > I am not sure if this sort-out the above issue but changing DSwitch to > dvSwitch from vCenter bypassed above error and I am stuck at below. > > And from the UI it is saying "Something went wrong and correct the > folowing. "Failed to create storage pool as it is not accessible to > hosts. > Storage is on a seprate network and there is no VLANs o any thing and > this > is accessible to all host. > > 2017-10-31 15:47:21,216 DEBUG [c.c.h.v.m.HypervisorHostHelper] > (catalina-exec-3:ctx-80cb7953 ctx-e052e8f7) (logid:27870103) Found > distributed vSwitch dvS witch0 > 2017-10-31 15:47:21,232 INFO [c.c.h.v.m.HypervisorHostHelper] > (catalina-exec-3:ctx-80cb7953 ctx-e052e8f7) (logid:27870103) > Distributed > Virtual Port grou p cloud.private.untagged.0.1-dvSwitch0 > not > found. > 2017-10-31 15:47:22,767 INFO [c.c.h.v.m.VmwareManagerImpl] > (catalina-exec-3:ctx-80cb7953 ctx-e052e8f7) (logid:27870103) Preparing > network on host com.cl > oud.hypervisor.vmware.util.VmwareContext@1b16fb90 for > dvSwitch0,,vmwaredvs > 2017-10-31 15:47:22,816 DEBUG [c.c.h.v.m.HypervisorHostHelper] > (catalina-exec-3:ctx-80cb7953 ctx-e052e8f7) (logid:27870103) Found > distributed vSwitch dvS witch0 > 2017-10-31 15:47:22,828 INFO [c.c.h.v.m.HypervisorHostHelper] > (catalina-exec-3:ctx-80cb7953 ctx-e052e8f7) (logid:27870103) Found > Distributed Virtual Por t group > cloud.private.untagged.0.1-dvSwitch0 > 2017-10-31 15:47:22,855 DEBUG [c.c.h.v.m.HypervisorHostHelper] > (catalina-exec-3:ctx-80cb7953 ctx-e052e8f7) (logid:27870103) Checking > if > configuration ofdvPortGroup > [cloud.private.untagged.0.1-dvSwitch0] has changed. > 2017-10-31 15:47:23,064 DEBUG [c.c.h.v.r.VmwareContextFactory] > (catalina-exec-3:ctx-80cb7953 ctx-e052e8f7) (logid:27870103) initialize > VmwareContext. url : https://172.17.101.246/sdk/ > vimService, > username: administrator@vsphere.local, password: W* > 2017-10-31 15:47:23,165 INFO [c.c.h.v.u.VmwareContext] > (catalina-exec-3:ctx-80cb7953 ctx-e052e8f7) (logid:27870103) New > VmwareContext object, current ou tstanding count: 2 > 2017-10-31 15:47:23,603 INFO [c.c.h.v.r.VmwareResource] > (catalina-exec-3:ctx-80cb7953 ctx-e052e8f7) (logid:27870103) > VmwareResource > network configuratio n info. private traffic over > vSwitch: > dvSwitch0,,vmwaredvs, public traffic over vmwaresvs : dvSwitch0, guest > traffic over vmwaredvs : dvSwitch0 > 2017-10-31 15:47:23,809 INFO [c.c.h.v.r.VmwareResource] > (catalina-exec-3:ctx-80cb7953 ctx-e052e8f7) (logid:27870103) > VmwareResource > network configuratio n info. private traffic over > vSwitch: > dvSwitch0,,vmwaredvs, public traffic over vmwaresvs : dvSwitch0, guest > traffic over vmwaredvs : dvSwitch0 > 2017-10-31 15:47:23,825 INFO [c.c.h.v.u.VmwareContext] > (catalina-exec-3:ctx-80cb7953 ctx-e052e8f7) (logid:27870103) > Disconnecting > VMware session > 2017-10-31 15:47:24,886 INFO [c.c.h.v.r.VmwareResource] > (catalina-exec-3:ctx-80cb7953 ctx-e052e8f7) (logid:27870103) Startup > report > on host hardware inf o. > {"memoryBytes":21472546816,"cpuCount":4,"cpuSpeed":2667," > cpuSockets":2} > 2017-10-31 15:47:25,024 INFO [c.c.h.v.u.VmwareHelper] > (catalina-exec-3:ctx-80cb7953 ctx-e052e8f7) (logid:27870103) > [ignored]failed toi get message for e xception: Uanble to > find management port group Management Network > 2017-10-31 15:47:25,025 ERROR [c.c.h.v.r.VmwareResource] > (catalina-exec-3:ctx-80cb7953 ctx-e052e8f7) (logid:27870103) querying > host > network info failed d ue to Exception: > java.lang.Exception > Message: Uanble to find management port group Ma
Re: Below error pups up while creating a Zone
Thank you Dag Best Regards Asanka On 31 October 2017 at 22:13, Sergey Levitskiy wrote: > You can use a custom name. It is controlled by global config > vmware.management.portgroup. You still have to follow these requirements as > per > http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/4.9/ > hypervisor/vsphere.html > > > If the ESXi hosts have multiple VMKernel ports, and ESXi is not using the > default value “Management Network” as the management network name, you must > follow these guidelines to configure the management network port group so > that CloudStack can find it: > > Use one label for the management network port across all ESXi hosts. > In the CloudStack UI, go to Configuration - Global Settings and set > vmware.management.portgroup to the management network label from the ESXi > hosts. > > > > On 10/31/17, 8:27 AM, "Dag Sonstebo" wrote: > > Just “Management Network”. > > Regards, > Dag Sonstebo > Cloud Architect > ShapeBlue > > On 31/10/2017, 11:38, "Asanka Gunasekara" wrote: > > Hi Dag, thanks for the reply, meaning I have to create a port > group called > "Management Network" in vCenter DVS and Do I need to create > Guests, Storage > etc as well > > Best Regards > > Asanka > > On 31 October 2017 at 16:41, Dag Sonstebo < > dag.sonst...@shapeblue.com> > wrote: > > > Hi Asanka, > > > > Your networking doesn’t seem to be configured correctly - > “Uanble to find > > management port group Management Network”. This port group is > expected on > > the vSwitch you have tagged under management network in your > CloudStack > > networking. > > > > Regards, > > Dag Sonstebo > > Cloud Architect > > ShapeBlue > > > > On 31/10/2017, 10:49, "Asanka Gunasekara" > wrote: > > > > Hi, > > > > I am not sure if this sort-out the above issue but changing > DSwitch to > > dvSwitch from vCenter bypassed above error and I am stuck at > below. > > > > And from the UI it is saying "Something went wrong and > correct the > > folowing. "Failed to create storage pool as it is not > accessible to > > hosts. > > Storage is on a seprate network and there is no VLANs o any > thing and > > this > > is accessible to all host. > > > > 2017-10-31 15:47:21,216 DEBUG [c.c.h.v.m. > HypervisorHostHelper] > > (catalina-exec-3:ctx-80cb7953 ctx-e052e8f7) (logid:27870103) > Found > > distributed vSwitch dvS witch0 > > 2017-10-31 15:47:21,232 INFO [c.c.h.v.m. > HypervisorHostHelper] > > (catalina-exec-3:ctx-80cb7953 ctx-e052e8f7) (logid:27870103) > > Distributed > > Virtual Port grou p cloud.private.untagged.0.1- > dvSwitch0 > > not > > found. > > 2017-10-31 15:47:22,767 INFO [c.c.h.v.m.VmwareManagerImpl] > > (catalina-exec-3:ctx-80cb7953 ctx-e052e8f7) (logid:27870103) > Preparing > > network on host com.cl > > oud.hypervisor.vmware.util.VmwareContext@1b16fb90 for > > dvSwitch0,,vmwaredvs > > 2017-10-31 15:47:22,816 DEBUG [c.c.h.v.m. > HypervisorHostHelper] > > (catalina-exec-3:ctx-80cb7953 ctx-e052e8f7) (logid:27870103) > Found > > distributed vSwitch dvS witch0 > > 2017-10-31 15:47:22,828 INFO [c.c.h.v.m. > HypervisorHostHelper] > > (catalina-exec-3:ctx-80cb7953 ctx-e052e8f7) (logid:27870103) > Found > > Distributed Virtual Por t group > > cloud.private.untagged.0.1-dvSwitch0 > > 2017-10-31 15:47:22,855 DEBUG [c.c.h.v.m. > HypervisorHostHelper] > > (catalina-exec-3:ctx-80cb7953 ctx-e052e8f7) (logid:27870103) > Checking > > if > > configuration ofdvPortGroup > > [cloud.private.untagged.0.1-dvSwitch0] has changed. > > 2017-10-31 15:47:23,064 DEBUG [c.c.h.v.r. > VmwareContextFactory] > > (catalina-exec-3:ctx-80cb7953 ctx-e052e8f7) (logid:27870103) > initialize > > VmwareContext. url : > https://172.17.101.246/
Enabling local-storage for Guest VMs
Hi I need to enable local-storage for guests that dont need HA or VM move, if I follow below will there be any advers effect (I have already created the Zone) 1. In Global Setting change use.local.storage = true and do a restart 2. Create a new offering with local storage Cloudstack 4.10 Hypervisor - ESXi 5.5 (Vmware) Thanks and Regards Asanka
Re: Enabling local-storage for Guest VMs
Hi All, in the global setting I am unable to find this particular option (use.local.storage) but system.vm.use.local.storage is set to fals, which is fine. Thanks and Regards Asanka On 2 November 2017 at 10:40, Asanka Gunasekara wrote: > Hi I need to enable local-storage for guests that dont need HA or VM move, > if I follow below will there be any advers effect (I have already created > the Zone) > > 1. In Global Setting change use.local.storage = true and do a restart > 2. Create a new offering with local storage > > Cloudstack 4.10 > Hypervisor - ESXi 5.5 (Vmware) > > Thanks and Regards > > Asanka > >
Re: Enabling local-storage for Guest VMs
Hi All, when I go to Service offerings > Compute Offering > Add compute offering In the Add Computer Offering dialogue box, when I pull-down on the option "Storage type" it gives me two options. a) Shared b) Local Is this mean, by default local storage is enabled for Guest VMs? Thanks and Regards Asanka On 2 November 2017 at 13:14, Asanka Gunasekara wrote: > Hi All, in the global setting I am unable to find this particular option > (use.local.storage) but system.vm.use.local.storage is set to fals, which > is fine. > > Thanks and Regards > > Asanka > > On 2 November 2017 at 10:40, Asanka Gunasekara wrote: > >> Hi I need to enable local-storage for guests that dont need HA or VM >> move, if I follow below will there be any advers effect (I have already >> created the Zone) >> >> 1. In Global Setting change use.local.storage = true and do a restart >> 2. Create a new offering with local storage >> >> Cloudstack 4.10 >> Hypervisor - ESXi 5.5 (Vmware) >> >> Thanks and Regards >> >> Asanka >> >> >
Re: Enabling local-storage for Guest VMs
Thank you Dag Best Regards Asanka On 2 November 2017 at 17:25, Dag Sonstebo wrote: > To confirm that – yes in step 2 of the zone setup you have a tick box for > “Enable local storage for User VMs” – and as far as I know you can’t > retrofit that. > > Regards, > Dag Sonstebo > Cloud Architect > ShapeBlue > S: +44 20 3603 0540 | dag.sonst...@shapeblue.com | > http://www.shapeblue.com <http://www.shapeblue.com/> | Twitter:@ShapeBlue > <https://twitter.com/#!/shapeblue> > > > On 02/11/2017, 20:47, "Dag Sonstebo" wrote: > > Asanka, > > As far as I remember you need to enable local storage for guest VMs > when you first create the zone. > > Regards, > Dag Sonstebo > Cloud Architect > ShapeBlue > S: +44 20 3603 0540 | dag.sonst...@shapeblue.com | > http://www.shapeblue.com <http://www.shapeblue.com/> | Twitter:@ShapeBlue > <https://twitter.com/#!/shapeblue> > > > On 02/11/2017, 20:30, "Asanka Gunasekara" wrote: > > Hi All, when I go to > > Service offerings > Compute Offering > Add compute offering > > In the Add Computer Offering dialogue box, when I pull-down on the > option > "Storage type" it gives me two options. > > a) Shared > b) Local > > Is this mean, by default local storage is enabled for Guest VMs? > > Thanks and Regards > > Asanka > > > dag.sonst...@shapeblue.com > www.shapeblue.com > 53 Chandos Place, Covent Garden, London WC2N 4HSUK > @shapeblue > > > > > dag.sonst...@shapeblue.com > www.shapeblue.com > 53 Chandos Place, Covent Garden, London WC2N 4HSUK > @shapeblue > > > > On 2 November 2017 at 13:14, Asanka Gunasekara wrote: > > > Hi All, in the global setting I am unable to find this > particular option > > (use.local.storage) but system.vm.use.local.storage is set to > fals, which > > is fine. > > > > Thanks and Regards > > > > Asanka > > > > On 2 November 2017 at 10:40, Asanka Gunasekara > wrote: > > > >> Hi I need to enable local-storage for guests that dont need HA > or VM > >> move, if I follow below will there be any advers effect (I have > already > >> created the Zone) > >> > >> 1. In Global Setting change use.local.storage = true and do a > restart > >> 2. Create a new offering with local storage > >> > >> Cloudstack 4.10 > >> Hypervisor - ESXi 5.5 (Vmware) > >> > >> Thanks and Regards > >> > >> Asanka > >> > >> > > > > > > >
Re: Enabling local-storage for Guest VMs
Thank you Lvan Only way is the recreate the Zone, starting from scratch :) Best Regards Asanka On 2 November 2017 at 17:29, Ivan Kudryavtsev wrote: > Hi, Asanka. Service offering of type local doesn't mean you can deploy the > vm instance if zone doesn't support local storage capability. > > Dag is absolutely right about local storage. You have to enable it during > zone deployment procedure. It leads that ACS begins to display all > /var/lib/libvirt dirs for every compute node as local storage in > infrastructure storage area. Only they fit for local offering deployments. > Also, you can specify if system vms are deployed in local storage (which is > meaningful if you would like to purge shared storage at all). > > 2 нояб. 2017 г. 18:48 пользователь "Dag Sonstebo" < > dag.sonst...@shapeblue.com> написал: > > Asanka, > > As far as I remember you need to enable local storage for guest VMs when > you first create the zone. > > Regards, > Dag Sonstebo > Cloud Architect > ShapeBlue > S: +44 20 3603 0540 | dag.sonst...@shapeblue.com | > http://www.shapeblue.com <http://www.shapeblue.com/> | Twitter:@ShapeBlue > < > https://twitter.com/#!/shapeblue> > > > On 02/11/2017, 20:30, "Asanka Gunasekara" wrote: > > Hi All, when I go to > > Service offerings > Compute Offering > Add compute offering > > In the Add Computer Offering dialogue box, when I pull-down on the > option > "Storage type" it gives me two options. > > a) Shared > b) Local > > Is this mean, by default local storage is enabled for Guest VMs? > > Thanks and Regards > > Asanka > > > dag.sonst...@shapeblue.com > www.shapeblue.com > 53 Chandos Place, Covent Garden, London WC2N 4HSUK > @shapeblue > > > > On 2 November 2017 at 13:14, Asanka Gunasekara wrote: > > > Hi All, in the global setting I am unable to find this particular > option > > (use.local.storage) but system.vm.use.local.storage is set to fals, > which > > is fine. > > > > Thanks and Regards > > > > Asanka > > > > On 2 November 2017 at 10:40, Asanka Gunasekara > wrote: > > > >> Hi I need to enable local-storage for guests that dont need HA or VM > >> move, if I follow below will there be any advers effect (I have > already > >> created the Zone) > >> > >> 1. In Global Setting change use.local.storage = true and do a > restart > >> 2. Create a new offering with local storage > >> > >> Cloudstack 4.10 > >> Hypervisor - ESXi 5.5 (Vmware) > >> > >> Thanks and Regards > >> > >> Asanka > >> > >> > > >
Re: Enabling local-storage for Guest VMs
Thank you Sergey, Though I change the record to 1, I don't see storage_pool getting updated, do I need to restart the cloudstack? MariaDB [cloud]> select id, is_local_storage_enabled from data_center; ++--+ | id | is_local_storage_enabled | ++--+ | 1 |1 | ++--+ 1 row in set (0.00 sec) MariaDB [cloud]> Thank you and best regards Asanka On 3 November 2017 at 02:12, Dag Sonstebo wrote: > Thanks – will test it in the lab. > > Regards, > Dag Sonstebo > Cloud Architect > ShapeBlue > S: +44 20 3603 0540 | dag.sonst...@shapeblue.com | > http://www.shapeblue.com <http://www.shapeblue.com/> | Twitter:@ShapeBlue > <https://twitter.com/#!/shapeblue> > > > On 03/11/2017, 03:47, "Sergey Levitskiy" wrote: > > Never tried it for other hypervisors. You can verify if entries for > each local datastore are created in storage_pool table. One they are there, > provisioning with service offering using local storage should succeed. > > On 11/2/17, 10:25 AM, "Dag Sonstebo" > wrote: > > Thanks for the tip Sergey – does the unmanage/manage trick work > for KVM and XS as well after the db flip? > > Regards, > Dag Sonstebo > Cloud Architect > ShapeBlue > S: +44 20 3603 0540 | dag.sonst...@shapeblue.com | > http://www.shapeblue.com <http://www.shapeblue.com/> | Twitter:@ShapeBlue > <https://twitter.com/#!/shapeblue> > > > On 03/11/2017, 00:32, "Sergey Levitskiy" > wrote: > > You can update record in table data_center by flipping flag > ‘is_local_storage_enabled’. Then manage/unmanage ESX clusters in that zone > that would be trigger discovery of local storage pools. > > Thanks, > Sergey > > On 11/2/17, 5:02 AM, "Asanka Gunasekara" > wrote: > > Thank you Lvan > > Only way is the recreate the Zone, starting from scratch :) > > Best Regards > > Asanka > > On 2 November 2017 at 17:29, Ivan Kudryavtsev < > kudryavtsev...@bw-sw.com> > wrote: > > > Hi, Asanka. Service offering of type local doesn't mean > you can deploy the > > vm instance if zone doesn't support local storage > capability. > > > > Dag is absolutely right about local storage. You have to > enable it during > > zone deployment procedure. It leads that ACS begins to > display all > > /var/lib/libvirt dirs for every compute node as local > storage in > > infrastructure storage area. Only they fit for local > offering deployments. > > Also, you can specify if system vms are deployed in > local storage (which is > > meaningful if you would like to purge shared storage at > all). > > > > 2 нояб. 2017 г. 18:48 пользователь "Dag Sonstebo" < > > dag.sonst...@shapeblue.com> написал: > > > > Asanka, > > > > As far as I remember you need to enable local storage > for guest VMs when > > you first create the zone. > > > > Regards, > > Dag Sonstebo > > Cloud Architect > > ShapeBlue > > S: +44 20 3603 0540 | dag.sonst...@shapeblue.com | > > http://www.shapeblue.com <http://www.shapeblue.com/> | > Twitter:@ShapeBlue > > < > > https://twitter.com/#!/shapeblue> > > > > > > On 02/11/2017, 20:30, "Asanka Gunasekara" < > asa...@nimbus.lk> wrote: > > > > Hi All, when I go to > > > > Service offerings > Compute Offering > Add compute > offering > > > > In the Add Computer Offering dialogue box, when I > pull-down on the > > option > > "Storage type" it gives me two options. > > > > a) Shared > > b) Local > > > > Is this mean, by default local storage is enabled > for Guest VM
Re: Enabling local-storage for Guest VMs
Thank you Sergey, I restarted the ACS, can see the local storage in storage_pool table Thank you all for the help extended Best Regards Asanka On 6 November 2017 at 22:35, Sergey Levitskiy wrote: > Try unmanage your vmware cluster and make it Managed again. Restarting ACS > will also do the trick. > > On 11/6/17, 5:35 AM, "Asanka Gunasekara" wrote: > > Thank you Sergey, Though I change the record to 1, I don't see > storage_pool > getting updated, do I need to restart the cloudstack? > > MariaDB [cloud]> select id, is_local_storage_enabled from data_center; > ++--+ > | id | is_local_storage_enabled | > ++--+ > | 1 |1 | > ++--+ > 1 row in set (0.00 sec) > > MariaDB [cloud]> > > Thank you and best regards > > Asanka > > > On 3 November 2017 at 02:12, Dag Sonstebo > wrote: > > > Thanks – will test it in the lab. > > > > Regards, > > Dag Sonstebo > > Cloud Architect > > ShapeBlue > > S: +44 20 3603 0540 | dag.sonst...@shapeblue.com | > > http://www.shapeblue.com <http://www.shapeblue.com/> | > Twitter:@ShapeBlue > > <https://twitter.com/#!/shapeblue> > > > > > > On 03/11/2017, 03:47, "Sergey Levitskiy" > wrote: > > > > Never tried it for other hypervisors. You can verify if entries > for > > each local datastore are created in storage_pool table. One they are > there, > > provisioning with service offering using local storage should > succeed. > > > > On 11/2/17, 10:25 AM, "Dag Sonstebo" > > > wrote: > > > > Thanks for the tip Sergey – does the unmanage/manage trick > work > > for KVM and XS as well after the db flip? > > > > Regards, > > Dag Sonstebo > > Cloud Architect > > ShapeBlue > > S: +44 20 3603 0540 | dag.sonst...@shapeblue.com | > > http://www.shapeblue.com <http://www.shapeblue.com/> | > Twitter:@ShapeBlue > > <https://twitter.com/#!/shapeblue> > > > > > > On 03/11/2017, 00:32, "Sergey Levitskiy" < > serg...@hotmail.com> > > wrote: > > > > You can update record in table data_center by flipping > flag > > ‘is_local_storage_enabled’. Then manage/unmanage ESX clusters in > that zone > > that would be trigger discovery of local storage pools. > > > > Thanks, > > Sergey > > > > On 11/2/17, 5:02 AM, "Asanka Gunasekara" < > asa...@nimbus.lk> > > wrote: > > > > Thank you Lvan > > > > Only way is the recreate the Zone, starting from > scratch :) > > > > Best Regards > > > > Asanka > > > > On 2 November 2017 at 17:29, Ivan Kudryavtsev < > > kudryavtsev...@bw-sw.com> > > wrote: > > > > > Hi, Asanka. Service offering of type local doesn't > mean > > you can deploy the > > > vm instance if zone doesn't support local storage > > capability. > > > > > > Dag is absolutely right about local storage. You > have to > > enable it during > > > zone deployment procedure. It leads that ACS > begins to > > display all > > > /var/lib/libvirt dirs for every compute node as > local > > storage in > > > infrastructure storage area. Only they fit for > local > > offering deployments. > > > Also, you can specify if system vms are deployed in > > local storage (which is > > > meaningful if you would like to purge shared > storage at > > all). > > > > > > 2 нояб. 2017 г. 18:48 пользователь "Dag Sonstebo" < > > > dag.sonst...@shapeblue.com> написал: > > > > > > Asanka, > > > > > > As far as I reme
Unable to access guest
Hi All, I have a VMware environment managed by Cloudstack 4.10. Initially I had a single cluster with two nodes and one VDS. This set-up works fine! Then I created a second cluster under same datacenter with just one node and the same VDS spans across both cluster1 and cluster2. I can create guest VMs through CloudStack with out any issue and CloudStack assigns IP address with out any issue. And still cluste1 works fine while cluster2 guests dont have network access (hence not getting the ip that was assigned by CloudStack). I tried statically configuring the IP to guest this did not helped either. I think it is something to do with VDS but I am not sure where to start Thanks and Regards Asanka
Re: Unable to access guest
Please note I am setting up a POC using trial vmware products On 7 November 2017 at 14:26, Asanka Gunasekara wrote: > Hi All, I have a VMware environment managed by Cloudstack 4.10. Initially > I had a single cluster with two nodes and one VDS. This set-up > works fine! Then I created a second cluster under same > datacenter with just one node and the same VDS spans across both cluster1 > and cluster2. > > I can create guest VMs through CloudStack with out any issue and > CloudStack assigns IP address with out any issue. And still cluste1 works > fine while cluster2 guests dont have network access (hence not getting the > ip that was assigned by CloudStack). I tried statically configuring the IP > to guest this did not helped either. > > I think it is something to do with VDS but I am not sure where to start > > Thanks and Regards > > Asanka > > > >
Re: Unable to access guest
Hi All, can a VPC span across two clusters? Above question is because, I just got it working by creating a seprat VPC in the new clusre2. Thanks and Regards Asanka On 7 November 2017 at 14:34, Asanka Gunasekara wrote: > Please note I am setting up a POC using trial vmware products > > On 7 November 2017 at 14:26, Asanka Gunasekara wrote: > >> Hi All, I have a VMware environment managed by Cloudstack 4.10. Initially >> I had a single cluster with two nodes and one VDS. This set-up >> works fine! Then I created a second cluster under same >> datacenter with just one node and the same VDS spans across both cluster1 >> and cluster2. >> >> I can create guest VMs through CloudStack with out any issue and >> CloudStack assigns IP address with out any issue. And still cluste1 works >> fine while cluster2 guests dont have network access (hence not getting the >> ip that was assigned by CloudStack). I tried statically configuring the IP >> to guest this did not helped either. >> >> I think it is something to do with VDS but I am not sure where to start >> >> Thanks and Regards >> >> Asanka >> >> >> >> >
No pointer or key board
Hi, has any one has the problem of frozen pointer or keyboard not working properly while installing SUSE 11 Thanks and regards Asanka
Unable to access guest VM console from internet, behind irewall
Hi my cloudstac setup is behind a firewall (Nated) I am able to access the portal by nating 8080 to an public up. and all works fine but but when I click on a console of a guest VM it is looking for the internal ip (the range I specified as public while creating the Zone) What are the ports that I need to nat out or how to fix this Thanks and best regards Asanka
Re: No pointer or key board
Hi Dag, thank you for replying, I noticed the same issue from backend (vSphere) by installing vmware tools it went away. But coming to the point where you can install vmware tools was bit of a nightmare. Both Suse and windows 2012 was exhibiting the same problem contrary to Centos. Is there a way to get this working during installation Best Regards Asanka On 13 November 2017 at 14:54, Dag Sonstebo wrote: > What is the context Asanka? Is this a CloudStack guest? > > Regards, > Dag Sonstebo > Cloud Architect > ShapeBlue > > On 10/11/2017, 17:55, "Asanka Gunasekara" wrote: > > Hi, has any one has the problem of frozen pointer or keyboard not > working > properly while installing SUSE 11 > > Thanks and regards > > Asanka > > > > dag.sonst...@shapeblue.com > www.shapeblue.com > 53 Chandos Place, Covent Garden, London WC2N 4HSUK > @shapeblue > > > >
Re: No pointer or key board
Thanks Dug Best Regards Asanka On 13 November 2017 at 15:09, Dag Sonstebo wrote: > Hi Asanka – yes if you are using VMware as your CloudStack hypervisor you > would install VMware tools in your templates. It is as you say easier to do > that from a direct VMware VC console when you prep your template – but > overall it’s just a question of working out the keyboard shortcuts to open > your CD drive and get the install started. > > Regards, > Dag Sonstebo > Cloud Architect > ShapeBlue > > On 13/11/2017, 09:34, "Asanka Gunasekara" wrote: > > Hi Dag, thank you for replying, I noticed the same issue from backend > (vSphere) by installing vmware tools it went away. But coming to the > point > where you can install vmware tools was bit of a nightmare. Both Suse > and > windows 2012 was exhibiting the same problem contrary to Centos. > > Is there a way to get this working during installation > > > Best Regards > > Asanka > > On 13 November 2017 at 14:54, Dag Sonstebo > > wrote: > > > What is the context Asanka? Is this a CloudStack guest? > > > > Regards, > > Dag Sonstebo > > Cloud Architect > > ShapeBlue > > > > On 10/11/2017, 17:55, "Asanka Gunasekara" wrote: > > > > Hi, has any one has the problem of frozen pointer or keyboard not > > working > > properly while installing SUSE 11 > > > > Thanks and regards > > > > Asanka > > > > > > > > dag.sonst...@shapeblue.com > > www.shapeblue.com > > 53 Chandos Place, Covent Garden, London WC2N 4HSUK > > @shapeblue > > > > > > > > > > > > dag.sonst...@shapeblue.com > www.shapeblue.com > 53 Chandos Place, Covent Garden, London WC2N 4HSUK > @shapeblue > > > >
Re: Unable to access guest VM console from internet, behind irewall
Just some information, public ip of the proxy VM is 172.17.101.230, and the browser is looking for this IP instade of actual nated ip. if I can map this to a name I should be able to use that internally and externally how can I go about doing this and is this a good idea? Thanks and Best Regards Asanka On 13 November 2017 at 14:55, Asanka Gunasekara wrote: > Hi my cloudstac setup is behind a firewall (Nated) I am able to access the > portal by nating 8080 to an public up. and all works fine but but when I > click on a console of a guest VM it is looking for the internal ip (the > range I specified as public while creating the Zone) > > What are the ports that I need to nat out or how to fix this > > Thanks and best regards > > Asanka >
Re: Unable to access guest VM console from internet, behind irewall
Thank you Dag, I dont suppose you would recommend of doing this change while the in-progress of the POC :). Thank you and best regards Asanka On 13 November 2017 at 17:05, Dag Sonstebo wrote: > Hi Asanka, > > Yes fully doable – we do this ourselves in our own environment. You need > to update the global setting for consoleproxy.url.domain. > > Please note though you may need to review the following old Wiki article - > https://cwiki.apache.org/confluence/display/CLOUDSTACK/Realhost+IP+changes > - in short if you update consoleproxy.url.domain from it’s default value > then CloudStack will use HTTPS – hence you would need to supply your own > SSL on the NAT’ed address. Please note this setting may also affect the > SSVM. > > Wrt port forwarding – CPVM is reached on HTTP/HTTPS depending on the > settings above. > > Regards, > Dag Sonstebo > Cloud Architect > ShapeBlue > > On 13/11/2017, 11:21, "Asanka Gunasekara" wrote: > > Just some information, public ip of the proxy VM is 172.17.101.230, > and the > browser is looking for this IP instade of actual nated ip. if I can map > this to a name I should be able to use that internally and externally > how > can I go about doing this and is this a good idea? > > > Thanks and Best Regards > > Asanka > > > dag.sonst...@shapeblue.com > www.shapeblue.com > 53 Chandos Place, Covent Garden, London WC2N 4HSUK > @shapeblue > > > > On 13 November 2017 at 14:55, Asanka Gunasekara wrote: > > > Hi my cloudstac setup is behind a firewall (Nated) I am able to > access the > > portal by nating 8080 to an public up. and all works fine but but > when I > > click on a console of a guest VM it is looking for the internal ip > (the > > range I specified as public while creating the Zone) > > > > What are the ports that I need to nat out or how to fix this > > > > Thanks and best regards > > > > Asanka > > > > >
Re: Secondary storage is not secondary properly
Hi All, sorry for the delay in replying, the hardware that I was playing was taken in for some other testing. After rebuilding from the scratch all storages are visible Thank you for the help all of you extended Hi Dag, just saw your signature with this mail thread; Thank you Best of regards Asanka On 22 August 2017 at 22:08, Dag Sonstebo wrote: > Hi Asanka, > > > > Sure, let us know how you get on. I am slowly starting to suspect you have > some sort of issue with your NFS server – I think from earlier screen dumps > it looked like this is from a Windows box? I suggest to review this once > you have reset everything and set the zone up again + tested. > > > > Regards, > > Dag Sonstebo > > Cloud Architect > > ShapeBlue > > > > > Cloud Architect > dag.sonst...@shapeblue.com > www.shapeblue.com > > > > > > > > *From: *Asanka Gunasekara > *Date: *Tuesday, 22 August 2017 at 17:16 > *To: *Dag Sonstebo > *Cc: *"users@cloudstack.apache.org" > *Subject: *Re: Secondary storage is not secondary properly > > > > Hi Guya, I tried replacing the template but did not work, Java process or > the NFS worked. Since this is a lap environment for a migration, guess its > best to try from scratch! > > SSVM > > 1. Java process is not starting > > 2. NFS is not mounting and it is looking for for the IP 172.17.101.1 which > ic my Gateway where nfs server is 172.17.101.253 > > Console Proxy VM > > 1. JavaProcess Running > > 2. NFS is not mounting but it is looking for an ip 255.255.255.255 :( > > Its wired!! Any how I will try to do the reset of the database and ESXi > server and try again.Will keep you posted on the things > > Thanks and Regards > > Asanka > > > > On 21 August 2017 at 10:46, Asanka Gunasekara wrote: > > Hi Dag/Eric, thank you both for the reply, let me do your advice and will > update you on the results > > Thank you and best Regards > > Asanka > > > > On 19 August 2017 at 14:45, Dag Sonstebo > wrote: > > Hi Asanka, > > Agree with Eric, doesn’t look right., > > The quickest solution here is to: > > 1) disable zone > 2) delete system VMs > 3) remove secondary storage from cloudstack > 4) try the secondary storage seeding again with images from > http://packages.shapeblue.com/systemvmtemplate/4.6/new/ - but use the > “-F” option when you call /usr/share/cloudstack-common/ > scripts/storage/secondary/cloud-install-sys-tmplt > this will clean up > previous template > 5) add secondary storage to CloudStack again > 6) enable zone and monitor > > > Regards, > Dag Sonstebo > Cloud Architect > ShapeBlue > > On 18/08/2017, 18:35, "Eric Green" wrote: > > > > dag.sonst...@shapeblue.com > www.shapeblue.com > 53 Chandos Place, Covent Garden, London > <https://maps.google.com/?q=53+Chandos+Place,+Covent+Garden,+London%C2%A0+WC2N&entry=gmail&source=g> > WC2N > <https://maps.google.com/?q=53+Chandos+Place,+Covent+Garden,+London%C2%A0+WC2N&entry=gmail&source=g> > 4HSUK > @shapeblue > > > > On Aug 18, 2017, at 03:22, Asanka Gunasekara wrote: > > > > Hi Eric, > > > > SSVM can access my nfs and I an manual mount :( > > > > This "s-397-VM:/# grep com.cloud.agent.api.SecStorageSetupCommand > /var/log/cloud.log" did not produced any output, but found below error > > > > From the VM's /var/log/cloud.log: > > ERROR [cloud.agent.AgentShell] (main:null) Unable to start agent: > Resource class not found: com.cloud.storage.resource. > PremiumSecondaryStorageResource due to: java.lang.ClassNotFoundException: > com.cloud.storage.resource.PremiumSecondaryStorageResource > > > Hmm. That doesn't look good. So the agent is never even able to start > because of that exception. This looks like a mismatch between your SSVM > template and your version of Cloudstack. It looks like you're using a > version of Cloudstack that has been compiled with premium features that is > expecting a template that supports premium features. > > Someone else will have to tell you how to change the SSVM template, I > don't know that. Or since this is a zone that has never been operational, > you may choose to simply wipe the current install entirely and start over > again from scratch with a Cloudstack and SSVM template all from the same > source. Remember to drop and recreate the database as part of that process, > as well as remove all the contents of the secondary store and follow the > directions again to reinitialize with the initial template. > > For the record, I got my Cloudstack from this source: > > [cloudstack] > name=cloudstack > baseurl=http://cloudstack.apt-get.eu/centos/$releasever/4.9/ > enabled=1 > gpgcheck=0 > > My template similarly came from that source (but the 4.6 version, as > you specified). > > Once I got my networking sorted out, which you seem to have done, it > Just Worked. > > > > > >
Re: Unable to access guest VM console from internet, behind irewall
Thank you Dag, for the reply Best Regards Asanka On 14 November 2017 at 14:27, Dag Sonstebo wrote: > Hi Asanka – no you’re right – personally I would get everything working > first internally before making any changes like this ( > > Regards, > Dag Sonstebo > Cloud Architect > ShapeBlue > > On 14/11/2017, 06:04, "Asanka Gunasekara" wrote: > > Thank you Dag, I dont suppose you would recommend of doing this change > while the in-progress of the POC :). > > Thank you and best regards > > Asanka > > On 13 November 2017 at 17:05, Dag Sonstebo > > wrote: > > > Hi Asanka, > > > > Yes fully doable – we do this ourselves in our own environment. You > need > > to update the global setting for consoleproxy.url.domain. > > > > Please note though you may need to review the following old Wiki > article - > > https://cwiki.apache.org/confluence/display/CLOUDSTACK/ > Realhost+IP+changes > > - in short if you update consoleproxy.url.domain from it’s default > value > > then CloudStack will use HTTPS – hence you would need to supply your > own > > SSL on the NAT’ed address. Please note this setting may also affect > the > > SSVM. > > > > Wrt port forwarding – CPVM is reached on HTTP/HTTPS depending on the > > settings above. > > > > Regards, > > Dag Sonstebo > > Cloud Architect > > ShapeBlue > > > > On 13/11/2017, 11:21, "Asanka Gunasekara" wrote: > > > > Just some information, public ip of the proxy VM is > 172.17.101.230, > > and the > > browser is looking for this IP instade of actual nated ip. if I > can map > > this to a name I should be able to use that internally and > externally > > how > > can I go about doing this and is this a good idea? > > > > > > Thanks and Best Regards > > > > Asanka > > > > > > dag.sonst...@shapeblue.com > > www.shapeblue.com > > 53 Chandos Place, Covent Garden, London WC2N 4HSUK > > @shapeblue > > > > > > > > dag.sonst...@shapeblue.com > www.shapeblue.com > 53 Chandos Place, Covent Garden, London WC2N 4HSUK > @shapeblue > > > > > On 13 November 2017 at 14:55, Asanka Gunasekara > wrote: > > > > > Hi my cloudstac setup is behind a firewall (Nated) I am able to > > access the > > > portal by nating 8080 to an public up. and all works fine but > but > > when I > > > click on a console of a guest VM it is looking for the > internal ip > > (the > > > range I specified as public while creating the Zone) > > > > > > What are the ports that I need to nat out or how to fix this > > > > > > Thanks and best regards > > > > > > Asanka > > > > > > > > > > > >
Re: Unable to access guest
ham, any one! Is it possible to create a working VPC across multiple clusters (Hypervisor is the same) or I am just stuck with rules and routing? Thanks and Regards Asanka On 7 November 2017 at 16:28, Asanka Gunasekara wrote: > Hi All, can a VPC span across two clusters? > > > Above question is because, I just got it working by creating a seprat VPC > in the new clusre2. > > Thanks and Regards > > Asanka > > On 7 November 2017 at 14:34, Asanka Gunasekara wrote: > >> Please note I am setting up a POC using trial vmware products >> >> On 7 November 2017 at 14:26, Asanka Gunasekara wrote: >> >>> Hi All, I have a VMware environment managed by Cloudstack 4.10. >>> Initially I had a single cluster with two nodes and one VDS. >>> This set-up works fine! Then I created a second cluster under >>> same datacenter with just one node and the same VDS spans across both >>> cluster1 and cluster2. >>> >>> I can create guest VMs through CloudStack with out any issue and >>> CloudStack assigns IP address with out any issue. And still cluste1 works >>> fine while cluster2 guests dont have network access (hence not getting the >>> ip that was assigned by CloudStack). I tried statically configuring the IP >>> to guest this did not helped either. >>> >>> I think it is something to do with VDS but I am not sure where to start >>> >>> Thanks and Regards >>> >>> Asanka >>> >>> >>> >>> >> >
Disaster recovery for guests
Hi All, 1. Does CloudStack has any ways of doing Disaster Recovery for Guest VM? or do I need to rely on third-party product? 2. How does a fail-over keeps the IP consistence Thanks and Regards Asanka
Re: Unable to access guest
Hi Paul, thank you for the reply yes it is Vmware Distributed Switch During the zone creation as VLAN range I have given 106 to 150, and I have trunked 106 to 150 range between all three nodes and ACS, all 3 nodes are pat of the same DVS. Communication between guests in the same cluster is just fine the problem starts once I start to reach out to the guests on the cluster2 (on the same VDS) BestRegards Asanka On 17 November 2017 at 13:58, Paul Angus wrote: > By vds - are you meaning VMware Distributed Switches? > It sounds like you are not trunking VLANs between your physical hosts > fully. > > > Kind regards, > > Paul Angus > > paul.an...@shapeblue.com > www.shapeblue.com > 53 Chandos Place, Covent Garden, London WC2N 4HSUK > @shapeblue > > > > > -Original Message- > From: Asanka Gunasekara [mailto:asa...@nimbus.lk] > Sent: 17 November 2017 10:21 > To: users@cloudstack.apache.org > Subject: Re: Unable to access guest > > ham, any one! Is it possible to create a working VPC across > multiple clusters (Hypervisor is the same) or I am just stuck with rules > and routing? > > Thanks and Regards > > Asanka > > On 7 November 2017 at 16:28, Asanka Gunasekara wrote: > > > Hi All, can a VPC span across two clusters? > > > > > > Above question is because, I just got it working by creating a seprat > > VPC in the new clusre2. > > > > Thanks and Regards > > > > Asanka > > > > On 7 November 2017 at 14:34, Asanka Gunasekara wrote: > > > >> Please note I am setting up a POC using trial vmware products > >> > >> On 7 November 2017 at 14:26, Asanka Gunasekara > wrote: > >> > >>> Hi All, I have a VMware environment managed by Cloudstack 4.10. > >>> Initially I had a single cluster with two nodes and one VDS. > >>> This set-up works fine! Then I created a second cluster > >>> under same datacenter with just one node and the same VDS spans > >>> across both > >>> cluster1 and cluster2. > >>> > >>> I can create guest VMs through CloudStack with out any issue and > >>> CloudStack assigns IP address with out any issue. And still cluste1 > >>> works fine while cluster2 guests dont have network access (hence not > >>> getting the ip that was assigned by CloudStack). I tried statically > >>> configuring the IP to guest this did not helped either. > >>> > >>> I think it is something to do with VDS but I am not sure where to > >>> start > >>> > >>> Thanks and Regards > >>> > >>> Asanka > >>> > >>> > >>> > >>> > >> > > >
Re: Disaster recovery for guests
Thank you HTH Best Regards Asanka On 18 November 2017 at 21:31, Nux! wrote: > Hello Asanka, > > There is no DR built in ACS, you must do it yourself. > A good approach could be running a zone off-site, take regular snapshots > of the VM's volume(s) and restore them in the remote zone or just download > them somewhere and keep them handy for any eventual restoration. > > IP will need to be moved manually or just rely on DNS with low ttls > (better). > > HTH, > Lucian > > -- > Sent from the Delta quadrant using Borg technology! > > Nux! > www.nux.ro > > - Original Message - > > From: "Asanka Gunasekara" > > To: "users" > > Sent: Friday, 17 November, 2017 08:34:30 > > Subject: Disaster recovery for guests > > > Hi All, > > > > 1. Does CloudStack has any ways of doing Disaster Recovery for Guest VM? > or > > do I need to rely on third-party product? > > 2. How does a fail-over keeps the IP consistence > > > > Thanks and Regards > > > > Asanka >
does Management node or cCenter server need to see FC network
Hi All, we are at the last stages of a proposal and was proposing iSCSI but this got changed to FC (Primary Storage). Where I am stuck is, does CS management node or vCenter server needs to see the FC network? Thanks and Regards Asanka
Re: does Management node or cCenter server need to see FC network
Thanks Erik On 15 Dec 2017 7:38 pm, "Erik Weber" wrote: As far as I can remember, no - CloudStack does not need to see the storage network, it will get it's information from vcenter, which in turn will get its information from the compute nodes. -- Erik On Fri, Dec 15, 2017 at 9:09 AM, Asanka Gunasekara wrote: > Hi All, we are at the last stages of a proposal and was proposing iSCSI but > this got changed to FC (Primary Storage). Where I am stuck is, does CS > management node or vCenter server needs to see the FC network? > > Thanks and Regards > > Asanka
Reinstall VM
Hi, can you reinstall a VM using ISO image, I dont see a place to change the boot order Thanks and Regards Asanka
Re: Reinstall VM
Hi Makrand, in the end that's what I did. This is fine when I am to do the re-installation I can always go to the backend and do some thing and get it working. But if a customer needs to do the same, where he/she do not have access to backend. At least to change the boot order would be nice! or is it the default behaviour to boot from removable media first? wich is acceptable too! Thanks and Regards Asanka On 19 December 2017 at 15:17, Makrand wrote: > Hi, > > Is not that option available in hypervisor console/gui? > > -Makrand > sent from smartphone using (over)smart autocorrect. thus typos > > On 19-Dec-2017 2:41 PM, "Asanka Gunasekara" wrote: > > > Hi, can you reinstall a VM using ISO image, I dont see a place to change > > the boot order > > > > Thanks and Regards > > > > Asanka > > >
Re: Reinstall VM
Hi Makrand, planning on giving access to customers to provision them self, but it is in POC state, currently though. Found the issue why it was starting off the HD, though I have attached the ISO the time it takes for vMWare to connect the image is too long, by that time the VM has already started the boot process. By increasing the boot delay from vMWare side I was able to boot off the iso. If that does not works you can always press esc and access the boot menu and select CDrom, once the connection is made Thanks and Best Regards Asanka On 20 December 2017 at 12:52, Makrand wrote: > Hi, > > 1) What front end you're using to the cloud? (GUI from where user can > provision/manage cloud resources). > There is an option to restore the VM. API call restoreVirtualMachine, > available for end user as well. For this VM needs to be down and you will > see Reset VM option from GUI. > > If I am not mistaken it's as good as a reinstall. Neven tried it though. > > 2) I am not sure on boot order of VM, but once you load into ISO for > reinstallation, most of the systems boots from ISO bypassing the boot disk. > That's how most of BIOS goes by default. > > > > -- > Makrand > > > On Tue, Dec 19, 2017 at 10:44 PM, Asanka Gunasekara > wrote: > > > Hi Makrand, in the end that's what I did. This is fine when I am to do > the > > re-installation I can always go to the backend and do some thing and get > it > > working. But if a customer needs to do the same, where he/she do not have > > access to backend. At least to change the boot order would be nice! or is > > it the default behaviour to boot from removable media first? wich is > > acceptable too! > > > > Thanks and Regards > > > > Asanka > > > > On 19 December 2017 at 15:17, Makrand wrote: > > > > > Hi, > > > > > > Is not that option available in hypervisor console/gui? > > > > > > -Makrand > > > sent from smartphone using (over)smart autocorrect. thus typos > > > > > > On 19-Dec-2017 2:41 PM, "Asanka Gunasekara" wrote: > > > > > > > Hi, can you reinstall a VM using ISO image, I dont see a place to > > change > > > > the boot order > > > > > > > > Thanks and Regards > > > > > > > > Asanka > > > > > > > > > >
Changes in Storage
Hi Can any one point me to some documentation, how CloudStack behaves/Configure, change in a storage (Especially adding more capacity). Thanks and Best Regards Asanka
IP assignment
Hi any one can help me to understand the IP assignment in advance networking its kind of confusing. Below is a small diagram as to what I understand. Most of the confusion is at public network and system VMs. https://snag.gy/txD9Fo.jpg Is it correct, as long as routing is done properly, or can some one point me to a document that I can read in this kind of scenario, goggled documents did not help much. Thanks and Regards Asanka
Re: IP assignment
Any idea, any one? On 13 January 2018 at 23:54, Asanka Gunasekara wrote: > Hi any one can help me to understand the IP assignment in advance > networking its kind of confusing. Below is a small diagram as to what I > understand. Most of the confusion is at public network and system VMs. > > https://snag.gy/txD9Fo.jpg > > Is it correct, as long as routing is done properly, or can some one point > me to a document that I can read in this kind of scenario, goggled > documents did not help much. > > Thanks and Regards > > Asanka >
Re: IP assignment
Hi Ben, thank you for the reply! I am sorry for the ambiguity of my question, I am just trying to understand the network configuration and ip assignment, where finding rather confusing! Hope below will answer to your question. Basically I am trying to integrate Cloudstack with vSphere (currently running a POC where there are some issues related to networking) and the offerings going to be as VPC and isolated networks using VLANs. Best Regards Asanka On 17 January 2018 at 15:50, Benjamin Naber wrote: > Hi Asnka, > > can you try to figure out what kind of setup you try run ? > > The SystemVM Network Part is a part of the POD Network you will setup, by > creating a POD / Cluster. > > SystemVM´s will also get an IP address in public network.The public ip > adresses they will used will be automaticly assinged based on the public > network you have been created. > > Kind Reagrds > > Ben > > > Asanka Gunasekara hat am 17. Januar 2018 um 09:23 > geschrieben: > > > > Any idea, any one? > > > > On 13 January 2018 at 23:54, Asanka Gunasekara wrote: > > > > > Hi any one can help me to understand the IP assignment in advance > > > networking its kind of confusing. Below is a small diagram as to what I > > > understand. Most of the confusion is at public network and system VMs. > > > > > > https://snag.gy/txD9Fo.jpg > > > > > > Is it correct, as long as routing is done properly, or can some one > point > > > me to a document that I can read in this kind of scenario, goggled > > > documents did not help much. > > > > > > Thanks and Regards > > > > > > Asanka >