KVM & shared storage

2022-04-28 Thread Alireza Eskandari
Hi, Did you have any experience about using KVM with iSCSI or FC as the primary storage? It seems it is possible by using cLVM or clustered file systems (GFS2 or OCFS2). What is your suggestion? Is it reliable? What about the performance? Thank you.

Re: Cloudstack without a router?

2022-02-25 Thread Alireza Eskandari
Hi I think you can create a new shared service offering without any network service enabled, then create a shared network from it. On Sat, Feb 26, 2022, 5:05 AM Jeremy Hansen wrote: > Is there a way to run Cloudstack without a virtual router? I basically > want CS to handle the management of vm

Re: Add vsphere host

2022-02-01 Thread Alireza Eskandari
Hi First add the host to the cluster in vcenter. Then try to add it from cloudstack ui. On Tue, Feb 1, 2022, 6:15 PM Alessandro Caviglione wrote: > Hi, > in past we've had a XenServer cluster in Cloudstack and adding a node was > quite simple. > Now we're managing a 2 node vSphere cluster and w

Re: Connect 2 VPC with private gateway

2022-01-26 Thread Alireza Eskandari
Yes, You can create a private gateway for each of the VPCs on the same vlan and same subnet. Set the IP address of the peer private gateway as the gateway address of the current private gateway and vice versa. On Mon, Jan 24, 2022 at 11:48 AM Ricardo Pertuz wrote: > Thanks for replying Harikrish

Re: data-server. resolution

2021-11-03 Thread Alireza Eskandari
Hi It should resolve to the ip of router on the same network as your vm is connected to it. If you are using isolated network, it should be the gateway of your vm. In case of shared network, it is the ip of dhcp server. On Wed, Nov 3, 2021, 15:29 Edward St Pierre wrote: > Just need to add, > > I

Re: Understanding isolated networks

2021-06-02 Thread Alireza Eskandari
You should acquire a new public ip for the isolated network. Then you can configure firewall, portforwarder or loadbalancer on that ip. You are not limited to use a single public ip in isolated network. On Wed, Jun 2, 2021, 13:39 Jeremy Hansen wrote: > I’m working through my initial setup of Clo

Re: Building a CloudStack environment with CloudStack+VMware+Nutanix

2021-06-02 Thread Alireza Eskandari
There is no restriction about being on the same subnet but esxi management ips should be reachable from management subnet of cloudstack (pod subnet). AFAIK console proxy needs to reach esxi to proxy the vnc service as the vm console to customer. On Tue, Jun 1, 2021, 19:46 Daan Hoogland wrote: >

[DISCUSS] DataServer with ConfigDrive in cloudbase-init

2021-05-28 Thread Alireza Eskandari
Hi, I'm developing cloudbase-init to support password management in Windows with ConfigDrive for CloudStack. The logic behind the user-data service in CloudStack causes some problems that I need to change the logic of cloudbase-init to make it compliant with CloudStack! To use both ConfigDrive and

Re: Centos 7.9 - cloud-init password reset?

2021-05-22 Thread Alireza Eskandari
command > ['/var/lib/cloud/scripts/per-instance/password.bash'] with allowed return > codes [0] (shell=False, capture=False) > Command: ['/var/lib/cloud/scripts/per-instance/password.bash'] > Reason: [Errno 8] Exec format error: > b'/var/lib/cloud/scripts/per

Re: Centos 7.9 - cloud-init password reset?

2021-05-20 Thread Alireza Eskandari
w?usp=sharing > > > Please, give me some advice to resolve those issues. > > > > > Thanks, > > > > > -Original Message- > From: Alireza Eskandari [mailto:astro.alir...@gmail.com] > Sent: Saturday, May 15, 2021 12:32 AM > To: users@cloudstack.ap

Re: Centos 7.9 - cloud-init password reset?

2021-05-14 Thread Alireza Eskandari
loud-init password reset? > > > > > > [X] This message came from outside your organization > > > > > > Thank you Alireza, > > > > I am currently reconfiguring the template from scratch and > > will test! > > > > Best regard

Re: How to use an IP address not rfc1918 compliant for SuperCIDR in VPC

2021-05-12 Thread Alireza Eskandari
Hi No, you can not configure it. It is hardcoded: https://github.com/apache/cloudstack/blob/6b9f3fb5015c29bbfaee0b08220174541ce40ab0/utils/src/main/java/com/cloud/utils/net/NetUtils.java#L1087 On Wed, May 12, 2021 at 5:07 AM 小林 美佳子 wrote: > > > Hi > > I am using CloudStack 4.14. > I want to use

Re: Centos 7.9 - cloud-init password reset?

2021-05-11 Thread Alireza Eskandari
Hi You should check log files in /run/cloud-init directory for the root cause. If cloud-init cannot find the datasource, it won't run. The better way to configure datasource in cloud-init is using ds-identify.cfg file Delete "/etc/cloud/cloud.cfg.d/99_cloudstack.cfg" and create "/etc/cloud/ds-ident

Re: Debian/Ubuntu Template password scripts

2021-05-03 Thread Alireza Eskandari
Hi Use this script to handle ssh key and password: https://github.com/apache/cloudstack/blob/fa87510a91f1ed1b346e66e3774df52ed4bf9c98/setup/bindir/cloud-set-guest-sshkey-password-userdata-configdrive.in It supports both dataserver and configdrive. You can use it in cloud-init per-boot directory. O

Re: noVNC console reuqest using curl

2021-03-30 Thread Alireza Eskandari
There is no official document about getting console of VM so you can use this workflow (notice that this works for old console): You don't need to call login API method. Just POST a request with these parameters: cmd=access&vm=&apikey=&signature= to this endpoint: http:///client/console (Note that

Re: [PROPOSAL] Force option and/or command to the detach ISO operation for running VMs

2021-03-29 Thread Alireza Eskandari
Hi Nicolas AFAIK in these situations ESXi will raise a question about detaching iso from VM. I have faced with similar problem in this issue: https://github.com/apache/cloudstack/issues/4808 I got the same error in vCenter. Before waiting for timeout, if you click on the refresh button in the top r

Re: Best practice moving cloudstack 4.13.0.1 management server from centos 6.10 to Ubuntu 18.04 LTS

2021-03-26 Thread Alireza Eskandari
tion, but in > isolated environment. > > > > > > Sendt fra min Galaxy > > > > ---- Opprinnelig melding > Fra: Alireza Eskandari > Dato: 26.03.2021 22:41 (GMT+01:00) > Til: users@cloudstack.apache.org > Emne: Re: Best practice moving cloud

Re: Best practice moving cloudstack 4.13.0.1 management server from centos 6.10 to Ubuntu 18.04 LTS

2021-03-26 Thread Alireza Eskandari
If you are trying to login via the web gui, have you tried to clear your browser cache? I recommend testing your browser private mode. On Sat, Mar 27, 2021 at 1:54 AM David Larsen wrote: > Hi > > I have a working cloudstack 4.13.01 setup with two servers, one cloudstack > management running cent

Re: Goggle Summer of Code 2021

2021-03-15 Thread Alireza Eskandari
1:10 PM Wei ZHOU wrote: > Hi Alireza, > > Do you mean the Herzner cloud volume > https://docs.hetzner.com/cloud/volumes/faq/ ? > > -Wei > > On Mon, 15 Mar 2021 at 09:50, Alireza Eskandari > wrote: > > > Hi Wei > > I had a search among different

Re: Goggle Summer of Code 2021

2021-03-15 Thread Alireza Eskandari
the list there are no drivers for other IaaS projects (openstack, > opennebula, etc) and public cloud providers (amazon ec2, google gcp or > azure compute, etc). > > In my opinion, CSI drivers should be implemented by storage providers , not > cloud providers. > > -Wei > > >

Cloud-init for CloudStack and ConfigDrive datasource

2021-03-12 Thread Alireza Eskandari
Hi, I'm trying to activate cloud-init for CS templates. I have some issues: 1 - Using cloud-init with CloudStack datasource works well but when I try to change ssh private key, cloud-init doesn't apply. 2- Also using ConfigDrive datasource don't have any implementation about applying password. 3- H

Re: S3 as secondary storage in a fresh installed CS

2021-03-12 Thread Alireza Eskandari
at 5:08 PM Daan Hoogland wrote: > Alireza, > S3 is not as widely used so it might be that it has maintenance problems, > but i'm certain people have reported using it, so the design is not the > issue. > Did you get any further with your problem? > > On Fri, Feb 19, 2021 at

Re: Cloudstack developer training

2021-02-26 Thread Alireza Eskandari
Hi Giles, As a CloudStack user, I spent lots of time in the code to figure out how different parts work and find the root cause of bugs that I face. I also tried to install CloudStack as a project in eclipse and run it directly from eclipse from some old documents. I have learned some courses in Ja

Re: VM cannot to virtual router to get password

2021-02-19 Thread Alireza Eskandari
Investigate the problem within VR. Login to VR with SSH from the CS management server and check the services and listening ports. You can also see logs there. Use tcpdump inside VR to capture packets and see if a request for a password is coming to VR or not. On Wed, Feb 17, 2021 at 9:41 PM Faribo

S3 as secondary storage in a fresh installed CS

2021-02-19 Thread Alireza Eskandari
Hi guys, I'm trying to fresh install a CS 4.14 with an S3 secondary storage. For the systemvm template download part (cloud-install-sys-tmplt), I have used an NFS server. When I tried to define S3 secondary storage, I have added the mentioned NFS server as a staging NFS server. But when I check sys

Re: reserved CPU?

2020-12-22 Thread Alireza Eskandari
Hi, >From "Home > Infrastructure > Clusters > your_cluster" click on "Settings" tab. In search bar type "cpu" and you will see a list of variables that controls CPU usage and allocation in your cluster. You can "increase cpu.overprovisioning.factor" or change "cluster.cpu.allocated.capacity.disable

Re: Details parameters in deployVirtualMachine API

2020-12-19 Thread Alireza Eskandari
Just for clarification, you can also use details to specify the amount of resources you need when using dynamic service offering. For example: deployVirtualmachine details[0].memory=1024 details[0].cpuSpeed=2000 details[0].cpuNumber=1 serviceofferingid=188a8d30-ac07-4093-9435-d2eaa4d20776 zoneid=d

Re: Cloud Provider Interested in CloudStack

2020-12-14 Thread Alireza Eskandari
infrastructure as soon as possible with a few number of experts without headache of different issues and one click updates with confidence, I would recommend CloudStack. Regards, Alireza Eskandari On Mon, Dec 14, 2020 at 4:58 PM ip wrote: > Hello everyone, > > At StorPool we have a customer i

Baremetal provisioning in CloudStack

2020-12-14 Thread Alireza Eskandari
Hi, It seems documents about using baremetal provisioning in CloudStack are very old and maybe out of date. I want to know if it is really working? If yes, how can I use it? Regards

Re: VSAN support today

2017-07-15 Thread Alireza Eskandari
Hi Sateesh, Could I use vSAN as a "VMFS" primary storage in CS 4.9.2 ? What's new about your PR for adding support of VSAN? Regards From: Sateesh Chodapuneedi To: "users@cloudstack.apache.org" Sent: Friday, May 26, 2017 7:06 AM Subject: Re: VSAN support today

Re: Error deploying a new VM

2014-12-05 Thread Alireza Eskandari
Hi Hollman,It seems that management server can't apply dhcp entry on your virtual router. I guess management server doesn't use valid ssh keys for logging in to virtual router so it can apply dhcp entry.You can test this by logging in to you XenServer then execute following command  "ssh -i /op

Re: Copy template

2014-12-04 Thread Alireza Eskandari
Maybe you should play with "secstorage.allowed.internal.sites" configuration From: Fedi Ben Ali To: users@cloudstack.apache.org Sent: Thursday, December 4, 2014 7:35 PM Subject: Copy template Hello, I'm trying to copy template from one zone to one other but cloudstack ,keeps shwing

Re: [DISCUSS] LTS Releases

2014-11-25 Thread Alireza Eskandari
Hi LTS is a very good idea I think. Waiting for new releases is not a good solution for existing bugs. After waiting monthes for new release you may don't see any solution to existing bugs but also you may face with some new bugs! (In Persion we say you are going to make up eyebrow but you make

firewall for vmware

2014-11-24 Thread Alireza Eskandari
Hi friends,Is there any solution to provide firewall (or something like security groups)for VMs on vmware in a "guest shared network"?Thanks

RE: VMs not Expunging

2014-11-21 Thread Alireza Eskandari
Hi Brent I suggest you to change state of the VM to Stopped from database. This action enables you to try destroy VM again fron UI.  Sent from Samsung Mobile. Original message From: Brent Clark Date:22/11/2014 00:30 (GMT+03:30) To: users@cloudstack.apache.org Subject: VMs no

Re: [DISCUSS] Any issues to be fixed for 4.3.1?

2014-11-20 Thread Alireza Eskandari
Hi RohitIt is a good idea to release CS 4.3.2I think 4.3.x is the best release of CS until now.I tested this version with vmware vSphere 5.5.I saw a problem on deployment with dvSwitch that resolved here:https://github.com/shapeblue/cloudstack/commit/a605ca09cd3e40a8f25ae3e36ce37f1f24ac489b A

RE: ACS 4.4.1 - XenServer 6.2

2014-11-19 Thread Alireza Eskandari
How many VR do you have in your enviroment? I saw same problem with multiple VR on vmware and CS 4.4.1

RE: VM migration to cloudstack

2014-11-19 Thread Alireza Eskandari
No, cloudmonkey is the CLI of CloudStack. You can automate jobs that CloudStack should do with it. For example you should find a way that take an image of your current VMs and put it in a place then CloudMonkey will get those images, register them as a template and create VMs from them. You can

Re: VM migration to cloudstack

2014-11-19 Thread Alireza Eskandari
I'll work on a solution that injects necessary information of each VM in CloudStack database. I think this works but you should know that what kind of information you want to keep. So it is mostly depends on your need. Imagine a form that you fill it with information of the VM and you get a SQL

Re: building CS with vmware generates errors

2014-11-18 Thread Alireza Eskandari
I found the solution!I use vim25.jar file that exist in "https://my.vmware.com/group/vmware/get-download?downloadGroup=VSP510-WEBSDK-510"Using "http://zooi.widodh.nl/cloudstack/build-dep/vmware-vim25.jar"; makes errors.  

building CS with vmware generates errors

2014-11-18 Thread Alireza Eskandari
I want to build CS 4.3.1 with "noredist". For first time I use vSphere 5.1 SDK but I got some errors about missing classes so I download and extract vSphere 5.5 SDK and resolve that errors. But I face with this error when I try to compile the code: [ERROR] Failed to execute goal org.apache.maven.