VApp on vcloud Director console

Hello

I have a little problem with vcloud Director.

When I access the console of vapp, a window will appear, but it is completely black...

I tried to access the machine with the vsphere client and it works... but I want to access my computer via the web console.

You have an idea?

Thank you

It means something between the IP address of the client/Psoxy, pr cell/ESX is blocked, there is a bad road, or you have a load balancer to do SSL unloading on certificates of proxy requiring passthrough.  nfortuately one of the eanc thos create the connection problem.  You must ensure that all the pieces are in place one by one.  You may need to test each connection separately.  There is further discussion on this topic as well.

Tags: VMware

Similar Questions

  • Nested VApps in vcloud Director

    Is it possible to create the vapps nested within vcloud Director?

    Nesting vapps won't happen in vCD.  They will be parallel vApps.  Is not stop you from writing a tool/site Web automation, which would show you have there.

    vRA will address finally that, but they do not use vApps.  all virtual machines just became machines to manage without the concept of being part of a paralytic.  It will be that you have a plan of several computers that uses two other plans several computers (a DB level on the application layer).

  • Cannot create vApps in vCloud Director 5.1

    I am unable to create a new TIME in my organization. When I login in the vCloud Director URL Org I don't see an option to import virtual machines from the vcenter server. If I am trying to build a new TIME I get an error message "you can add a new TIME because there is no available in this organization CDV. Contact your system administrator. I defined the pVDC and Org VDC and two of them have checked green.

    Any ideas?

    Just a quick info, the problem is resolved.

  • autonomous VMRC console for vcloud Director

    Hello

    I use the stand-alone vmrc available in this link VMware vSphere 5: Private Cloud Computing, server and data center virtualization to open the console vsphere.

    Is it possible to use the vmrc to open vcloud Director console?

    Please help me.

    Thank you.

    Autonomous VMRC is not supported with vCloud Director.

    VMware Remote Console 7.0 Release Notes

    • VMRC does not support vCloud Director, vCloud Air and vRealize of automation of virtual machines.

    Therefore, you should use the console system provided in vCloud Director.

  • Unable to get Web 5.5 console vcloud Director?

    Hi all

    I am unable to get vcloud Director console, I configured successfully and the ping command console and http proxy ip addresses. Manager VSheild successfully configured. The certificates are generated. Please let us know what is the problem and what is the solution for this?

    I managed to break, I just had to stop the firewall services, I just run the command service iptables stop, everything was fine, I got the console.

  • Cannot create the vCloud Director VDC

    Hi all

    Need help with my proof of concept of vCloud implementation Director. running on 5.1 vCloud Director unit. Just to give you an idea, I followed the VMware vCloud Director 5.1 Assessment Guide that we find on the VMware Web site.

    Note: My setup does not contane VXLAN although we have the network VLAN supported to improve network performance.  Of the vExpert mentioned to create a dummy VXLAN right in the vCloud Director and I'm not sure how to do this in vCloud Director console. (I noticed a default VXLAN is already created, I understand vCloud 5.1 has this feature is enabled by default)

    Installation succeeded in creating the Org VDC failed with error 'cannot create the VDC' found this disabling and re activation will release the Red 'X' I think it's false positive because it shows us that everything is perfect even if we get an error message in the logs ' status: error "and with" details: Internal Server Error' find the home images below.


    " In any case when it comes to download media after having created the catalogue for Org VDC we get the error message cannot complete the operation because the current organization VDC"Demo-Org-VDC"is disabled or is not ready '.

    I also noticed that we get an error message on vcenter Server vcloud (cell) cannot create the folder name already exists check the last my vcenter Server error message.

    also attached the logs in the images below.

    I found two post, which there is not yet of resolution and the other said its solved but does not have the fix.

    Any help to point me in the right direction will be appreciated.

    I will be happy to provide you with newspapers if necessary.

    Thank you

    Ibrahim

    I was not talking about data warehouses.  I refer to the view in the vSphere Client.

    Open the vSphere Client... and go to the computers view models and virtual (c# = Home button at the top, then models and virtual computers)

    In this perspective, there is a number of record Blue icons. Make sure that none have the same name as you describe.

    This is directly related to the error message in the client image vSphere that you took in the original post "cannot create folder. "PNG"

    vCloud produces an error because of something that happens in vCenter.

  • Get the object of StoragePod storage profiles [vCloud Director]

    Hi all

    I'm automating DTS stuff for the creation of new vApps in vCloud Director and I want to integrate and use the workflow to Change Storage DRS by virtual machine configuration , but to do this I need to provide him with an object of type VC:StoragePod...  I have worked out how to get the default storage of each virtual computer profile, but may not know how to get to the StoragePod that it covers.

    Don't laugh, but I only managed to get this far before getting stuck:

    var vms = vApp.getChildrenVms();
    for each (var vm in vms) {
     storageProfile = vm.storageProfile;
     ....
    }
    

    Can someone show me how to get a StoragePod of a profile of storage object ideally default virtual machines?

    Thank you!

    Mark

    Have you had the opportunity to see this thread: http://communities.vmware.com/message/2147437#2147437 - it seems debating what you are interested... The catch here is that you are trying to do from the side the cloud... I can't look at this right now, but I suspect that you MUST have access to the underlying infrastructure to do what you ask... in this case, you will need to extract the object from VC:VirtualMachine of your vCloud:VM object, then the thread above can deepen assistance.

  • vCloud Director Remote Console shows black screen

    Hello

    Finally, I installed my vCloud Director and everything works except the vCloud Director Remote Console to visit the virtual machine screen.

    But the "power-off-button" or "reset" button works. The Black Guard screen.

    I tried evrything. Re-install VMRC-Plugin, add the vCD to my trusted sites, another PC and the same everytimes.

    Does anyone have a good advice or a solution to make it work?

    Martin

    Edit: my journal:

    2012-07-25 09:33:11, 014 | DEBUG | 33863601@pool-Jetty-11 | JobManager | Add the activity log: < JOB_ACQUIRE_SCREEN_TICKET > < test(com.vmware.vcloud.entity.vm:5e614dfc-9493-4e56-9eb1-09d2d0136024) > |
    2012-07-25 09:33:11, 015. DEBUG | 33863601@pool-Jetty-11 | JobString | Object - object: operation test(com.vmware.vcloud.entity.vm:5e614dfc-9493-4e56-9eb1-09d2d0136024) name: JOB_ACQUIRE_SCREEN_TICKET |
    2012-07-25 09:33:11, 598. DEBUG | 33863601@pool-Jetty-11 | CJob                           | Not the last pending work: [test(com.vmware.vcloud.entity.vm:5e614dfc-9493-4e56-9eb1-09d2d0136024)], status = [2] |
    2012-07-25 09:33:11, 604. DEBUG | 33863601@pool-Jetty-11 | CJob                           | Last jobs update: [test(com.vmware.vcloud.entity.vm:5e614dfc-9493-4e56-9eb1-09d2d0136024)], status = [2], [25.07.12 09:33] |
    2012-07-25 09:33:15, 734 | DEBUG | 33863601@pool-Jetty-11 | AuthorizationMethodInterceptor | Allowing the method: com.vmware.vcloud.api.presentation.service.VAppService.acquireScreenTicket (com.vmware.vcloud.api.presentation.entity.common.EntityRef) com.vmware.vcloud.api.presentation.entity.vapp.ScreenAccessInfo public abstract. |
    2012-07-25 09:33:15, 746. INFO | 33863601@pool-Jetty-11 | VC20VirtualServer | Call acquireCloneTicket for vm [vcId = 4b883f86-5f52-4bda-8bd4-fdd0e3bd27fa, moref = vm-316] |
    2012-07-25 09:33:15, 746. DEBUG | 33863601@pool-Jetty-11 | VcVimHandleFactory | Trying to get a VimHandle for VC 4b883f86-5f52-4bda-8bd4-fdd0e3bd27fa |
    2012-07-25 09:33:15, 752 | DEBUG | 33863601@pool-Jetty-11 | VcVimHandleFactory | creating a new handle for VC https://10.2.10.164:443 / sdk |
    2012-07-25 09:33:15, 753 | DEBUG | 33863601@pool-Jetty-11 | CompleteVlsiCallImpl | ServiceInstance.retrieveContent method called on ServiceInstance:ServiceInstance to https://10.2.10.164:443/sdk/vimService (off-session mgmt):
    2012-07-25 09:33:15, 761. DEBUG | 33863601@pool-Jetty-11 | CompleteVlsiCallImpl | ServiceInstance.retrieveInternalContent method called on ServiceInstance:ServiceInstance to https://10.2.10.164:443/sdk/vimService (off-session mgmt):
    2012-07-25 09:33:15, 768 | DEBUG | 33863601@pool-Jetty-11 | CompleteVlsiCallImpl | SessionManager.acquireCloneTicket method called on SessionManager:SessionManager to https://10.2.10.164:443/sdk/vimService (mgmt session on):
    2012-07-25 09:33:15, 775. DEBUG | 33863601@pool-Jetty-11 | JobManager | Add the activity log: < JOB_ACQUIRE_SCREEN_TICKET > < test(com.vmware.vcloud.entity.vm:5e614dfc-9493-4e56-9eb1-09d2d0136024) > |
    2012-07-25 09:33:15, 775. DEBUG | 33863601@pool-Jetty-11 | JobString | Object - object: operation test(com.vmware.vcloud.entity.vm:5e614dfc-9493-4e56-9eb1-09d2d0136024) name: JOB_ACQUIRE_SCREEN_TICKET |
    2012-07-25 09:33:15, 801. DEBUG | 33863601@pool-Jetty-11 | CJob                           | Not the last pending work: [test(com.vmware.vcloud.entity.vm:5e614dfc-9493-4e56-9eb1-09d2d0136024)], status = [2] |
    2012-07-25 09:33:15, 805 | DEBUG | 33863601@pool-Jetty-11 | CJob                           | Last jobs update: [test(com.vmware.vcloud.entity.vm:5e614dfc-9493-4e56-9eb1-09d2d0136024)], status = [2], [25.07.12 09:33] |
    2012-07-25 09:33:29, 612 | DEBUG | Quartz-pool-1-wire-651. FailoverServiceManagerImpl | checking for everything has no cells in current cells (id = d3182567-b8b8-48cf-91b3-683e47885f3c, uuid = 6d3526a1-29db-432a-8c5b-09011e850782) vcloud.local |
    2012-07-25 09:33:31, 165. DEBUG | VC. TaskManager.NonActiveTaskCompletionsPurger | TaskManager. Marked 0 purge tasks |
    2012-07-25 09:33:31, 165. DEBUG | VC. TaskManager.NonActiveTaskCompletionsPurger | TaskManager. Serving 0 tasks. |
    2012-07-25 09:33:31, 175 | DEBUG | VSMCLIENT HeartbeatTimer | RestFulCallManager | VSMCLIENT - 2.0.0 trustAllHttpsCertificates; Message: The user has NOT set the SSL context, using the default value. |
    2012-07-25 09:33:31, 199. DEBUG | VSMCLIENT HeartbeatTimer | RestFulCallManager | VSMCLIENT - 2.0.0 check; Message: Return of verification of hostname. |
    2012-07-25 09:33:41, 403 | INFO | VSMCLIENT HeartbeatTimer | RestFulCallManager | VSMCLIENT - 2.0.0 checkVSMReachability; Response: HTTP/1.1 200 OK (success).
    2012-07-25 09:33:41, 405. DEBUG | VSMCLIENT HeartbeatTimer | RestFulCallManager | VSMCLIENT - 2.0.0 trustAllHttpsCertificates; Message: The user has NOT set the SSL context, using the default value. |
    2012-07-25 09:33:41, 429 | DEBUG | VSMCLIENT HeartbeatTimer | RestFulCallManager | VSMCLIENT - 2.0.0 check; Message: Return of verification of hostname. |

    Option 4 there ;-)

    URL for 'VCD Public': https://10.2.10.166/cloud/

    Der VCD-Public-Konsole proxy addresses: 10.2.10.167

    Base-URL for VCD Public REST API: https://10.2.10.166/

    To explain a little further, the 'HTTP' nic that you have probably configured on eth0 will provide the vCloud Director portal and will also manage the traffic of the API.

    The second network adapter will be used for the "Console" Proxy which is the console remotely (VMRC)

    It will be useful.

    PS: The other side is a known with each version > 12 Firefox bug it seems. (You need for the moment to open the console full screen so you can see the console.

  • What is the smallest model of VAPP available that can be used with vCloud Director?

    Hi all

    I was on the hunt to find the smallest operating system which can be used for demonstration purposes.

    I want to be able to quickly create vApps so a small footprint would be ideal.

    What guys do you use?

    I found this customization for operating system support invited into vCloud Director 5.5 (2058524) | VMware KB

    I always look for a 'micro' distribution that supports customization of comments.

    What is the smallest available?

  • vCloud connector - cannot copy VAPP vCloud Director to vSphere

    Evening,

    Try to copy a paralytic to vCloud Director on vCenter 5.5 5.6 using vCloud connector 2.7.

    The scenario:

    -vCloud Director fully configured with one Org, an Org vDC and a catalog.

    -The catalog is entirely filled, shared and published.

    -Org and catalog are configured to allow the publication to external organizations;

    -vCenter and vCloud Director have been added to vCloud connector via vSphere Client plug-ins;

    -vCloud plug connector is able to see the entire structures of vSphere and vCD (org records, catalogs, vApps, models, etc.).

    Reproduce the error:

    -Using the vSphere Client, click on the Org vCD;

    -Go to the tab vApps.

    -Select a VAPP off engine;

    -Click on copy.

    -Select Catalog (it is marked as shared and, curiously, unpublished);

    -Select vCenter as the target;

    -Select the clusters, folders, data store, formatting the drive and so on;

    -Power On TIME after deploying (or not, does not matter);

    -Validate (managed);

    -Finishing.

    Task starts and fails in a minute (or less) with the following message:

    "Export OVF has failed. Failure when copying data to the clouds: https://< vcloud_director_fqdn >. Reason: [0e65fbc1-4e04-4924-ae06-c4377dfc97af] there is no catalog in the organization. »

    Looks as vCloud connector, for some reason, is unable to locate the catalog during deployment (although it may be perfectly visible during the Copy Wizard and in his inventory).

    I tried searching for it and can't find anything similar to this error.

    Maybe it s a vCD configuration error, but how would be? I ve already selected all types of option to allow editing of catalogue and sharing, and nothing has changed.

    I published also successfully catalog VCDs to vCloud connector content library, so nothing else makes sense to me.

    Solved.

    Created a new catalog and IS NOT published. Used for the copy. Went well.

  • Cannot access vCloud Director VM console

    Hello

    We´re in the face of a very strange problem when you try to access a console virtual machine via the vCloud Director 5.6 Web Portal.

    Let me describe the environment:

    1 - 2 vCloud Director cells;

    2. load balancer 1;

    3 - 1 VIP for the proxy console; 1 VIP for the web portal;

    4 - certificate of CA-signed 1 with wildcard characters (*. < domain >) instead of certificates 2 ordinary host (http. < domain > and consoleproxy. < domain >).

    5 - the following procedure was used to create the keystore of Java and to be able to import the certificate even twice (each time with a different alias):

    OpenSSL pkcs12 - in /keystore/ < company > .pfx-out /keystore/ < company > .pem

    OpenSSL pkcs12-export - in /keystore/ < company > .pem-inkey /keystore/ < company > .key-out _http.p12 /keystore/ < company > - name "http".

    OpenSSL pkcs12-export - in /keystore/ < company > .pem-inkey /keystore/ < company > .key-out _console.p12 /keystore/ < company > - name 'consoleproxy '.

    keytool - v - importkeystore - srckeystore /keystore/ < company > _console.p12 - srcstoretype PKCS12 - destkeystore /keystore/ < company > .ks - deststoretype JCEKS

    keytool - v - importkeystore - srckeystore /keystore/ < company > _http.p12 - srcstoretype PKCS12 - destkeystore /keystore/ < company > .ks - deststoretype JCEKS

    6 race "keytool-list - keystore /keystore/ < company > .ks - stores JCEKS" shows two aliases in the keystore.

    7 - vCD installer not to complaint about it.

    8 - certificate is loaded correctly when accessing the web portal

    Now the question:

    1 - the gate opens as it should;

    2. each type of action is possible and works very well;

    3. when we open a VM console for the first time, it opens normally;

    4. If we close it and try to reopen, or if we try to open a second console, it won´t open;

    5 - according to the browser:

    5.1 - console remains black. State begins to 'connection '. Changes to "Offline" after a short time;

    5.2 - console remains empty. Status hangs on "Loading"; He sometimes goes to "disconnected";

    6. If restart us the two cells, it begins around (able to open the first console, cannot open the rest);

    7. same behavior if the access using the VIP (with load balancing) or directly (using the internal IP address of cells).

    I ve seen some issues with what seemed like the same problem but no conclusive answer.

    Any help on this would be appreciated.

    Thank you very much.

    The fixed.

    1 - upgrade of vCD 5.6.3 to 5.6.4.

    2 - something with virtual machines, we had deployed for testing. We have erased their and the new have no behavior.

  • Run a Virtual Appliance on a vCloud Director 5.5 VDC/vApp

    I want to deploy a Sonicwall Email Security Virtual Appliance (VA) in a vCloud Director 5.5 VDC/vApp.  The VA is in OVA format.  How do you do this in Director vCloud?  I tried to import the VA using vSphere importing, but is does not appear as a selection.

    Thanks for the detailed info Alan.

    2014-12-08 23:14:53, 309 | WARN | backend-activity-pool-237 | VAppUploadManagerImpl | Transfer session: 91f2a458-f5b5-c 451-835-bec280e4165f. Error during downloading content: folder 8_0_6_2779 (e01dea52-17c6-4c26-a411-a88ceb10f0cb) does not exist in our inventory, but vCenter Server claims it does. | VCD=939f2481-9f68-4a39-a0a3-769fc9387b15,Task=65ad7396-5084-4E51-941a-a9f4abcdc657 activity = urn: uuid:65ad7396-5084-4e51-941a-a9f4abcdc657

    com.vmware.ssdc.util.LMException: 8_0_6_2779 (e01dea52-17c6-4c26-a411-a88ceb10f0cb) folder does not exist in our inventory, but vCenter Server claims it does.

    at com.vmware.vcloud.val.internal.impl.VC20VirtualEngine.waitForFolderInInventory(VC20VirtualEngine.java:2102)

    at com.vmware.vcloud.val.internal.impl.FolderUtil.createFolderIfNotAlreadyExist(FolderUtil.java:142)

    Can you please check if the vCD vCenter proxy running.

    Please see the links below.

    Cannot create the VAPP to vCloud 5.1

    http://www.Boche.net/blog/index.php/2011/12/16/vCloud-Director-and-vCenter-proxy-service-failure/

    vCenter | Tom Fojta & #039; s Blog

  • Add firewall rules to a VAPP vCloud Director network via PowerCLI

    Hi, I am trying to add a VAPP network firewall rules in vCloud Director 5.1 with PowerCli 5.1.  This script seems to update, without error, but an update of firewall configuration reveals no change.

    Connect-CIServer-Server server.domain.local Org - org01-Director of the username-password xxxxxx - WarningAction SilentlyContinue

    $vAppNet = get-CIVAPP 111. Get-civappnetwork vApp_Network
    $vApp = get-CIVAPP 111

    $networkConfigSection = .extensiondata (get-CIVapp 111). GetNetworkConfigSection()

    $fwService = New-Object vmware.vimautomation.cloud.views.firewallservice
    $fwService.DefaultAction = "drop".
    $fwService.LogDefaultAction = $false
    $fwService.IsEnabled = $true
    $fwService.FirewallRule = New-Object vmware.vimautomation.cloud.views.firewallrule
    $fwService.FirewallRule += New-Object vmware.vimautomation.cloud.views.firewallrule
    $fwService.FirewallRule [0] .isenabled = $true
    $fwService.FirewallRule [0] .description = "TS of TSG"
    $fwService.FirewallRule [0] .protocols = New-Object vmware.vimautomation.cloud.views.firewallRuleTypeProtocols
    $fwService.FirewallRule [0].protocols.tcp = $true
    $fwService.FirewallRule [0] .policy = "enable".
    $fwService.FirewallRule [0] .port = "3389.
    $fwService.FirewallRule [0] .destinationIp = "Any"
    $fwService.FirewallRule [0] .sourceport = "3389.
    $fwService.FirewallRule [0] .sourceip = "192.168.1.81 - 192.168.1.89.
    $fwService.FirewallRule [0] = 'en '.

    $vAppNet.extensiondata.configuration.features += $fwService
    $networkConfigSection.UpdateServerData)

    -------------------------------------------------------------------------------------------

    When I run $vAppNet.extensiondata.configuration.features to check to see if it has been added, I see it below highlighted in red...

    PowerCLI C:\Program Files (x 86) \VMware\Infrastructure\vSphere PowerCLI for tenants > $vAppNet.extensiondata.configuration.features


    DefaultAction: drop

    LogDefaultAction: false
    FirewallRule:
    IsEnabled: true
    Get_anyattr:
    VCloudExtension:

    NatType: ipTranslation
    Policy: allowTrafficIn
    NatRule:
    ExternalIp:
    IsEnabled: true
    Get_anyattr:
    VCloudExtension:

    DefaultAction: drop
    LogDefaultAction: false
    FirewallRule: {}
    IsEnabled: true
    Get_anyattr:
    VCloudExtension:

    -------------------------------------------------------------------------------------------------------------

    Change the script a bit generates an error during the update...

    -------------------------------------------------------------------------------------------------------------

    Connect-CIServer-Server server.domain.local Org - org01-Director of the username-password xxxxxx - WarningAction SilentlyContinue

    $vAppNet = get-civappnetwork vApp_Network

    $vApp = get-CIVAPP 111
    $networkConfigSection = .extensiondata (get-CIVapp 111). GetNetworkConfigSection()
    $vAppNetwork = $networkConfigSection.NetworkConfig | where {$_.networkName - eq "vApp_Network"}

    $fwService = New-Object vmware.vimautomation.cloud.views.firewallservice
    $fwService.DefaultAction = "drop".
    $fwService.LogDefaultAction = $false
    $fwService.IsEnabled = $false
    $fwService.FirewallRule = New-Object vmware.vimautomation.cloud.views.firewallrule
    $fwService.FirewallRule += New-Object vmware.vimautomation.cloud.views.firewallrule
    $fwService.FirewallRule [0] .isenabled = $false
    $fwService.FirewallRule [0] .description = "TS of TSG"
    $fwService.FirewallRule [0] .protocols = New-Object vmware.vimautomation.cloud.views.firewallRuleTypeProtocols
    $fwService.FirewallRule [0].protocols.tcp = $true
    $fwService.FirewallRule [0] .policy = "enable".
    $fwService.FirewallRule [0] .port = "3389.
    $fwService.FirewallRule [0] .destinationIp = "Any"
    $fwService.FirewallRule [0] .sourceport = "3389.
    $fwService.FirewallRule [0] .sourceip = "192.168.1.81 - 192.168.1.89.
    $fwService.FirewallRule [0] = 'en '.

    $vAppNetwork.Configuration.Features = $vAppNetwork.Configuration.Features | where {!} (() $_-est [vmware.vimautomation.cloud.views.firewallservice])}
    $vAppNetwork.configuration.features += $fwService
    $networkConfigSection.UpdateServerData)

    ----------------------------

    Error

    ----------------------------

    Exception by calling 'UpdateServerData' with '0' or the arguments: "Bad request - Unexpected Exception of JAXB - HVAC-complex - type. 2.4.b: the content of the 'FirewallRule' element is not complete. An a ' {'http://www.}

    "VMware.com/vCloud/v1.5":VCloudExtension,"http://www.vmware.com/vcloud/v1.5": Id, ""http://www.vmware.com/vcloud/v1.5 ": IsEnabled, 'http://www.vmware.com/vcloud/v1.5 ': MatchOnTranslate,"http://www.vmware.com "

    "/vCloud/v1.5": description, ""http://www.vmware.com/vcloud/v1.5 ": policy,"http://www.vmware.com/vcloud/v1.5 ": protocols, 'http://www.vmware.com/vcloud/v1.5 ': IcmpSubType," "http://www.vmware.com/vcloud/v1.5": P "

    "ORT," 'http://www.vmware.com/vcloud/v1.5 ': DestinationPortRange, "http://www.vmware.com/vcloud/v1.5": DestinationIp, ""http://www.vmware.com/vcloud/v1.5 "{: DestinationVm}" ' is expected. ""

    On line: 1 char: 39

    + $networkConfigSection.UpdateServerData < < < <)

    + CategoryInfo: NotSpecified: (:)) [], MethodInvocationException)

    + FullyQualifiedErrorId: DotNetMethodException

    I was not able to understand how to successfully upgrade.  Please, any help would be greatly apprecieated.

    Hi, I found my answer, here is the final solution.

    $vAppNet = get-CIVAPP 111. Get-CIVAppNetwork vApp_Network
    $vApp = get-CIVAPP 111
    $networkConfigSection = .extensiondata (get-CIVapp 111). GetNetworkConfigSection()
    $vAppNetwork = $networkConfigSection.NetworkConfig | where {$_.networkName - eq "vApp_Network"}

    $fwService = New-Object vmware.vimautomation.cloud.views.firewallservice
    $fwService.DefaultAction = "drop".
    $fwService.LogDefaultAction = $false
    $fwService.IsEnabled = $true
    $fwService.FirewallRule = New-Object vmware.vimautomation.cloud.views.firewallrule
    $fwService.FirewallRule += New-Object vmware.vimautomation.cloud.views.firewallrule

    Rule #First
    $fwService.FirewallRule [0] .isenabled = $true
    $fwService.FirewallRule [0] .description = "allow all outgoing traffic.
    $fwService.FirewallRule [0] .protocols = New-Object vmware.vimautomation.cloud.views.firewallRuleTypeProtocols
    $fwService.FirewallRule [0] .protocols. ALL = $true
    $fwService.FirewallRule [0] .policy = "enable".
    $fwService.FirewallRule [0] .destinationIp = "external".
    $fwService.FirewallRule [0] .sourceip = "internal".

    Rule #Second
    $fwService.FirewallRule [1] .isenabled = $true
    $fwService.FirewallRule [1] .description = "TS of TSG"
    $fwService.FirewallRule [1] .protocols = New-Object vmware.vimautomation.cloud.views.firewallRuleTypeProtocols
    $fwService.FirewallRule [1].protocols.tcp = $true
    $fwService.FirewallRule [1] .policy = "enable".
    $fwService.FirewallRule [1] .port = "3389.
    $fwService.FirewallRule [1] .destinationIp = 'Any '.
    $fwService.FirewallRule [1] .sourceport = "3389.
    $fwService.FirewallRule [1] .sourceip = ' 192.168.1.81 - 192.168.1.89.

    $vAppNetwork.Configuration.Features = $vAppNetwork.Configuration.Features | where {!} (() $_-est [vmware.vimautomation.cloud.views.firewallservice])}
    $vAppNetwork.configuration.features += $fwService
    $networkConfigSection.UpdateServerData)

  • vCloud Director 1.5 device console connection is not displayed

    I have deployed vCloud Director 1.5 device in the private network. At is the configuration of the network. I ping the IP of the vCloud Director, I can access the console running on port 5480.

    https://192.168.2.38:5480 / It works.

    However, based on the rating guide, I guess to be able to do the initial Setup by access via:

    https://192.168.2.38/

    This connection cannot be configured. I have the connection to the device command line console, and run netstat - year, I don't see any process listening on port 443.

    Did I missed?

    It's strange, like the vCD device is virtually a plug-and-play operation.  Just deploy it and connect.  A couple of thoughts here...

    First, we focus on the IP addresses, you use when you configure the vCD device...  The deployment of the device, it will ask you for two IP addresses for the "network 1" and "network 2". "."  The lesser of these two IP addresses, this is what will be used for your HTTP and the higher numbered IP address will be for the Proxy of the Console.  Your right, however, it will specifically prompt you for one or the other.

    Second, if you use the device, you should not run the script configures.  The unit will take care of this for you.  Only, you would run the script configures if you were installing the binary real VCD.

    Finally, regarding your inability to you connect...  What it's like, you have the operational services.  You could also check this by using the chkconfig--list command.  From there, I try and divide the question to determine if it is a problem with connectivity, services that run on the device, or maybe even your browser.  To begin with, I would try using a different web browser than what you using your.  Normally, this should not be a problem, but it excludes the case where you have made any browser specific configurations that will be impossible to connect.  Since you know that the process of vCD are rising and running and you can access the host, then I would check to see if maybe that's a problem with just the SSL connectivity.  Once again, it would be strange if you were using the vCD device, but it's just another step to validate, right?  I know how make this the easiest would be to use openssl (which you can get for Windows or Linux).  I would just try a command like:

    #openssl s_client -connect vcd_ip:443

    and see if your able to establish an SSL connection with the cell of vCD.  Of course, you can always check the logs too.

    Hope some of these ideas help...

    Tom

  • vCloud Director 5.1 and Leasetimes

    Hi community

    I have 2 questions about Leasetime in vCloud Director.

    -What is sending mail to lease? is this configurable?

    -is it possible to configure this leasemail send not only the owner of VAPP, but also to the people whose configuration is shared?

    Best regards

    MIC

    Hi mic.

    in the web console, it is on the upper right of your screen a link called "Preferences". There you can set the date of the email alert.

    I think that you can't configure it with the web console, you send the email to the user more. But with the vCloud APi, you can get users, the TIME shared with.

Maybe you are looking for