VMware Cloud Community
donulfo0815
Contributor
Contributor

can´t vcac roll out vapps with vshield ?

hey guys,

i am just wondering if vcac can´t handle vapps with vshields !?

Tried to configure everything to handle it, but without success. The vapps are being rolled out, but only the vapps without the vshields...

Anyone has this running ?

Thanks.

9 Replies
donulfo0815
Contributor
Contributor

Hasn´t anyone tried vcac usng vshields yet ?

Reply
0 Kudos
VirExprt
Expert
Expert

Hey as per my understanding vshield is configured on vCloud Director level where it leverages it`s functionality to every VM/vApp deployed under it, based on how well vshield is configured.

Br,

MG

Regards, MG
Reply
0 Kudos
donulfo0815
Contributor
Contributor

That´s what we thought, too... but after weeks of trying we realized that it´s not working rolling out new vshields for the deployed vapps... has anyone made other experiences ?

Reply
0 Kudos
SimonSparksBetf
Contributor
Contributor

I can deploy and manage vShield Edge Devices for vCloud Director virtual data centers using vCenter Orchestrator v5.1

Reply
0 Kudos
VirExprt
Expert
Expert

That`s intresting!!! can you share more details on it?

Br,

MG

Regards, MG
Reply
0 Kudos
SimonSparksBetf
Contributor
Contributor

var objVclLBPoolHealthCheck = new VclLBPoolHealthCheck();
objVclLBPoolHealthCheck["timeout"] = "15";
objVclLBPoolHealthCheck["uri"] = "/";
objVclLBPoolHealthCheck["mode"] = "HTTP";
objVclLBPoolHealthCheck["interval"] = "5";
objVclLBPoolHealthCheck["healthThreshold"] = "2";
objVclLBPoolHealthCheck["unhealthThreshold"] = "3";
var objVclLBPoolServicePort;
objVclLBPoolServicePort = new VclLBPoolServicePort();
objVclLBPoolServicePort["isEnabled"] = true;
objVclLBPoolServicePort["port"] = "80";
objVclLBPoolServicePort["protocol"] = "HTTP";
objVclLBPoolServicePort["healthCheckPort"] = "80";
objVclLBPoolServicePort["algorithm"] = "LEAST_CONN";
objVclLBPoolServicePort["healthCheck"].add(objVclLBPoolHealthCheck);
var objVclLBPoolServicePortMember;
objVclLBPoolServicePortMember = new VclLBPoolServicePort();
objVclLBPoolServicePortMember["port"] = "80";
objVclLBPoolServicePortMember["protocol"] = "HTTP";
objVclLBPoolServicePortMember["healthCheckPort"] = "80";
var objVclLoadBalancerPool = new VclLoadBalancerPool();
objVclLoadBalancerPool["operational"] = true;
objVclLoadBalancerPool["name"] = strVclVAppName + "-Pool";
objVclLoadBalancerPool["description"] = strLoadBalancerHostName;
objVclLoadBalancerPool["errorDetails"] = "";
objVclLoadBalancerPool["servicePort"].add(objVclLBPoolServicePort);
Reply
0 Kudos
SimonSparksBetf
Contributor
Contributor

var objVclLBPoolMember;
objVclLBPoolMember = new VclLBPoolMember();
objVclLBPoolMember["weight"] = "1";
objVclLBPoolMember["ipAddress"] = objVclVirtualNetworkCard.ipAddress;
objVclLBPoolMember["servicePort"].add(objVclLBPoolServicePortMember);
objVclLoadBalancerPool["member"].add(objVclLBPoolMember);
Reply
0 Kudos
SimonSparksBetf
Contributor
Contributor

var objVclLBPersistence = new VclLBPersistence();
objVclLBPersistence["method"] = "COOKIE";
objVclLBPersistence["cookieName"] = "VCOSESSIONID";
objVclLBPersistence["cookieMode"] = "INSERT";
var objVclLBVirtualServerServiceProfile = new VclLBVirtualServerServiceProfile();
objVclLBVirtualServerServiceProfile["isEnabled"] = true;
objVclLBVirtualServerServiceProfile["protocol"] = "HTTP";
objVclLBVirtualServerServiceProfile["port"] = "80";
objVclLBVirtualServerServiceProfile["persistence"] = objVclLBPersistence;
var objVclLoadBalancerVirtualServer = new VclLoadBalancerVirtualServer();
objVclLoadBalancerVirtualServer["isEnabled"] = true;
objVclLoadBalancerVirtualServer["logging"] = false;
objVclLoadBalancerVirtualServer["pool"] = strVclVAppName + "-Pool";
objVclLoadBalancerVirtualServer["name"] = strVclVAppName + "-VirtualServer";
objVclLoadBalancerVirtualServer["description"] = strLoadBalancerHostName;
objVclLoadBalancerVirtualServer["ipAddress"] = strLoadBalancerIP;
objVclLoadBalancerVirtualServer["interface"] = objVclOrgVdcNetwork.getReference();
objVclLoadBalancerVirtualServer["serviceProfile"].add(objVclLBVirtualServerServiceProfile);
var objVclLoadBalancerService;
objVclLoadBalancerService = new VclLoadBalancerService();
objVclLoadBalancerService["isEnabled"] = true;
objVclLoadBalancerService["pool"].add(objVclLoadBalancerPool);
objVclLoadBalancerService["virtualServer"].add(objVclLoadBalancerVirtualServer);
SimonSparksBetf
Contributor
Contributor

If my vCO code helped please can you give me some feedback

Reply
0 Kudos