tsugliani's Posts

Did you setup the API URL correctly in your system settings ? https://docs.vmware.com/en/vCloud-Director/9.0/vcd_90_admin_guide.pdf  (page 170)
I've built this long ago, source is on github too, hopefully it could fit your needs. vCloud Scripts by tsugliani
The best way to go, would be to check on vCAT (vCloud Architecture Toolkit). It's available here : http://blogs.vmware.com/vcat/2012/09/vmware-is-pleased-to-announce-the-release-of-the-vcat-3-... See more...
The best way to go, would be to check on vCAT (vCloud Architecture Toolkit). It's available here : http://blogs.vmware.com/vcat/2012/09/vmware-is-pleased-to-announce-the-release-of-the-vcat-3-0-material-the-vmware-vcloud-architecture-toolkit-provides-technical-and-operational-guidance-for-cloud-success-it-includes-the-tools-and-gui.html The download link is here : http://info.vmware.com/content/18305_vCat_Reg (You just need to fill up this form, but it's free don't worry). This contains a fair amount of documentation when you want to design your own vCloud Infrastructure, and should help you in that process. Hope this helps, Regards,
Are you using vCNS 5.1 or 5.1.1 ? There is a critical bug in 5.1, that happens to fill up the disk space on a vShield Edge over time, and renders it "unmanageable". Can you check that your ar... See more...
Are you using vCNS 5.1 or 5.1.1 ? There is a critical bug in 5.1, that happens to fill up the disk space on a vShield Edge over time, and renders it "unmanageable". Can you check that your are affected by this : http://kb.vmware.com/kb/2035939 ? Hope this helps, Regards,
If you use vSphere Hypervisors, you will need to enable promicuous on the backend Network, to put it simply a portgroup/dvPortgroup depending your setup (Check here, my colleague William has writ... See more...
If you use vSphere Hypervisors, you will need to enable promicuous on the backend Network, to put it simply a portgroup/dvPortgroup depending your setup (Check here, my colleague William has written a great article on how to achieve this in a homelab - Warning : This is not supported (http://www.virtuallyghetto.com/2011/10/missing-piece-in-creating-your-own.html) vApp Networks can help creating L2 networks on demand, in your case you will still need an external access to your lab, so vShield edge is needed to bridge a vApp Network & Org (VDC) Network. Hope this helps,
Here is a simple diagram depicting how to do that under vCloud Director : https://www.dropbox.com/s/rgtnmdg776g3ory/SelfContained-vApp.png Additional Information : Each time you would de... See more...
Here is a simple diagram depicting how to do that under vCloud Director : https://www.dropbox.com/s/rgtnmdg776g3ory/SelfContained-vApp.png Additional Information : Each time you would deploy this vApp from the catalog, a new vShield Edge is deployed to NAT everything behind it, so no reconfiguration on the Guest Operating system, and the only thing that will change is the public IP of the vShield Edge, that will get an IP on the Org Network / Org VDC Network (depenfing 1.x or 5.1), and fetch its ip from the pool. Once you get that IP, you will just need to RDP on it, and if you have done the proper DNAT config, it will redirect you on your windows VM. (in my example, you can achieve much more than this )
You should be able to use Storage vMotion directly *BUT* there are some *gotchas* you need to be aware of : 1) You *need* to storage vMotion the VM to a datastore present into your PvDC 2) I... See more...
You should be able to use Storage vMotion directly *BUT* there are some *gotchas* you need to be aware of : 1) You *need* to storage vMotion the VM to a datastore present into your PvDC 2) If you are using Fast Provisionning (Linked Clones) the Storage vMotion, will not keep it as the source format, and *WILL* consolidate the VM. If you want to keep the disk format, use the vCloud API and the *relocate* api call (it will take care of everything needed to keep it as a linked clone). Note : I'm talking about 1.5.x, as you have SDRS & Storage profiles in 5.1, you can manage differently with SDRS Maintenance mode> Hope this helps,
If you are running a Mac, this can be done pretty easily from the Terminal, such as : hdiutil makehybrid -o $HOME/image.iso $HOME/path/to/folder -iso -joliet On linux quiote the same with ... See more...
If you are running a Mac, this can be done pretty easily from the Terminal, such as : hdiutil makehybrid -o $HOME/image.iso $HOME/path/to/folder -iso -joliet On linux quiote the same with linux and mkisofs : mkisofs -o $HOME/image.iso $HOME/path/to/folder Hope this helps,
Hi, At the moment this a known parity issue between the GUI and the API. For now to achieve the same intended behavior, is to get the vCenter instance where that host is through the vCloud ... See more...
Hi, At the moment this a known parity issue between the GUI and the API. For now to achieve the same intended behavior, is to get the vCenter instance where that host is through the vCloud API (you could have more than 1 vCenter attached to your vCloud infrastructure) and then get that host to go into maintenance mode through the vSphere API (VIM). This should do what you want. Hope this helps,
You could also try to use "yum" which should be on Red Hat Enterprise Linux to install all the pre-requisites : yum install <package-name1> <package-name2> <...> I wrote some specific notes... See more...
You could also try to use "yum" which should be on Red Hat Enterprise Linux to install all the pre-requisites : yum install <package-name1> <package-name2> <...> I wrote some specific notes on how to create a specific linux master for VCD here : http://blog.tsugliani.fr/featured/create-your-own-virtual-vcloud-lab-part-1/ Hope this helps,
I've been using vCloud Director with IPv6 in my homelab. To give a bit more information on how it works, I used 3 portgroups on vSphere and here is how I "use" vCloud Director : - 1 vNic wi... See more...
I've been using vCloud Director with IPv6 in my homelab. To give a bit more information on how it works, I used 3 portgroups on vSphere and here is how I "use" vCloud Director : - 1 vNic with a /29 subnet on internet. (I associate the IPs into astaro, and then IP translate them to a vShield Edge on vNic 2 without any fw rules) - 1 vNic with on a portgroup in my environment considered as a External Network in VCD (Using it with my /29 subnet and a Org External Routed network/vShield Edge Gateway) to attribute everything from vCloud Director without having to torture myself configuring the network everywhere. - 1 vNic on a portgroup in my environment where my HE IPv6 tunnel broker is connected, and attribute IPs automatically from Astaro. (This is imported into VCD as a External Network, just use any ipv4 subnet for it as it doesn't support IPv6 in the GUI, nothing will be managed from VCD) That way I can *play* with both IPv4 & IPv6 on internet. Hope this helps.
Can your vCloud Director cell(s) resolve your ESXi hostnames ? (DNS configuration) This is a common misconfiguration when setting up vCloud Director (Be sure DNS & NTP is properly configured) ... See more...
Can your vCloud Director cell(s) resolve your ESXi hostnames ? (DNS configuration) This is a common misconfiguration when setting up vCloud Director (Be sure DNS & NTP is properly configured) The other way to troubleshoot is to check the vcloud logs files, especially this one during the prepare host task : Use the following command and try to pinpoint the exact error message : tail -f /opt/vmware/vcloud-director/logs/vcloud-container-debug.log
Hi, Check this : http://www.chriscolotti.us/vmware/how-to-manually-remove-the-vcloud-director-agent/ Regards,
If i'm not wrong the correct answer is (for Fast Provisionning & FC/iSCSI) : if vSphere & ESXi = 5.1 then the limit is now 32 (it has been improved in this release specifically) if vSphere & ... See more...
If i'm not wrong the correct answer is (for Fast Provisionning & FC/iSCSI) : if vSphere & ESXi = 5.1 then the limit is now 32 (it has been improved in this release specifically) if vSphere & ESXi < 5.1 then the limit is 8 Hope this makes sense ?
Check your logs files, especially those 2  : /opt/vmware/vcloud-director/logs/cell.log /opt/vmware/vcloud-director/logs/vcloud-container-debug.log Attach them here, it will give us additio... See more...
Check your logs files, especially those 2  : /opt/vmware/vcloud-director/logs/cell.log /opt/vmware/vcloud-director/logs/vcloud-container-debug.log Attach them here, it will give us additional information, to help you troubleshoot your issue.
Hi, Just to clarify things on this diagram I have multiple questions : In the "pink" area, I see the "User or Dev WKS" is this a VM that you want to duplicate in your "vApp" setup or is it ... See more...
Hi, Just to clarify things on this diagram I have multiple questions : In the "pink" area, I see the "User or Dev WKS" is this a VM that you want to duplicate in your "vApp" setup or is it something external (like a real physical laptop) ? I'm asking because I see it in the "pink" area which is the Internal Virtual network "zone" in your diagram. So are we having 3/4 VMs within your vApp (WKS, monowall, App, DB) ? Another point bothering me in the diagram is the "native Lab manager router" having 2 nics on the same subnet (172.30.0.x/24), is this a copy/paste error ? There are multiples ways of building a Dev vApp for your needs, and the simplest one that comes to mind is a vApp with a vApp Network, having (if you don't need different subnets for the "monowall" and the wks/app tier, 3 VMs configured statically, (WKS, App, DB), and then fenced to an Org Network. (using NAT or IP Translation, depending your needs externally) That way once you add it to the catalog, and specify "make identical copy", you will be able to deploy multiple vApp with the exact same configuration for your developers, and they will just need to know the "external public IP" of their VMs (in case you are using IP translation) or the vShield Edge public IP (in the case you used NAT Port forwarding rules for Oracle / App for example). Hope this helps,
Yes, this is possible and not only related to ESXi. You can add your fenced vApp to the catalog, and take notice of the option "[x] Make identical copy". This will preserve all the VMs setting... See more...
Yes, this is possible and not only related to ESXi. You can add your fenced vApp to the catalog, and take notice of the option "[x] Make identical copy". This will preserve all the VMs settings perfectly. Of course if you try to do this without fencing, the second vApp you will deploy will never start because you will have 2 same mac addr on the same L2 network which would break everything. Hope this helps.
Well if it's about "we use It just for create isolated virtual DMZ in order to have  multiple copies of some particular vms for software developing purposes" This is a very good use case for v... See more...
Well if it's about "we use It just for create isolated virtual DMZ in order to have  multiple copies of some particular vms for software developing purposes" This is a very good use case for vCloud Director and it does work very well. (we use it internally for that purpose on a very big scale, and if you happen to go to VMworld, all the Hands On Labs are built with this) You would have your VMs within your vApp that would be self contained in it's networking L2 layer to avoid any reconfiguration etc, and you could deploy that setup multiple times having 1 specific setup for each developer for example. The way you connect from the external network, into your org through either (Org Routed network, or Org Direct Network) is up to you. I would need a networking diagram to help you further. (If you can give your typical setup for multiples environments, I'll help you through the process)
Hi, There are 2 different levels of vShield Edge, you need to understand. The first one is at the Organization level, which has an ""NAT - External IPs" tab. As you can probably imagine, wh... See more...
Hi, There are 2 different levels of vShield Edge, you need to understand. The first one is at the Organization level, which has an ""NAT - External IPs" tab. As you can probably imagine, when connected to an external network as a Service Provider, you need to keep a complete control on the "physical" side, which explains this specific field that "only" a vCloud Admin can change. (you might not "need" this one in your environment) I think what you are trying to achieve relies in the second one, the vShield Edge at the vApp level.(the IP of the edge will be provisionned automatically in your Org Network pool) This one will allow you to deploy complete environments that you will be able to duplicate multiples times. (you can do either ip translation, or port forwarding, whatever fits your needs) So you can do this pretty easily in vCloud Director without adding another monowall appliance Hope this helps,
Option 4 It should be URL for "VCD Public": https://10.2.10.166/cloud/ Proxy-Address der VCD-Public-Konsole: 10.2.10.167 Basis-URL for VCD Public REST API: https://10.2.10.166/ ... See more...
Option 4 It should be URL for "VCD Public": https://10.2.10.166/cloud/ Proxy-Address der VCD-Public-Konsole: 10.2.10.167 Basis-URL for VCD Public REST API: https://10.2.10.166/ To explain a bit further, the "HTTP" nic that you probably configured on eth0 will provide the vCloud Director Portal, and will also handle the API traffic. The second nic will be used for the "Console Proxy" which is the remote console (VMRC) Hope it helps. PS: On the other side this is a known bug with every Firefox version > 12 it seems. (You need at the moment to open the remote console in fullscreen to be able to see the console.