Direct Traffic to one node in Cloud Service
Is there a way to make a cloud service (web role) always use one of the nodes, there are two in this scenario, and only direct to the other one if the first one gets shut down. We have a piece of legacy software we use in our Cloud Service and we are waiting
on it being updated so it can work across the load balancer, but currently it does not. So we only have one node in the service. I would like to have two and see if we can always hit node 1 for example, and then hit node 2 if 1 is down. I am assuming, maybe
wrongly, that this would still be within SLA, and if maintenance was happening then both nodes would not get shutdown. Is it possible to maybe have a web role class which controls the load balancer traffic?
Thanks
Eamonn
Hi Eamonn,
Thanks for your posting!
>>Is there a way to make a cloud service (web role) always use one of the nodes, there are two in this scenario,...
Base on my experience, if we have one or more instances of a VM (Web or Worker role), the traffic will be distributed amongst the instances. We isn't allowed to specify which instances. Please see David's psot(http://stackoverflow.com/a/12726613
>> I would like to have two and see if we can always hit node 1 for example, and then hit node 2 if 1 is down. I am assuming, maybe.....
About this requirement, I suggest you could try to those steps:
1.create a web role with adding a web service or create a web role using WCF service.
2.create a service with the instance information, like this:
[WebMethod]
public ReturnResult ReverseString(string value)
ReturnResult rr = new ReturnResult();
rr.ReturnString = new string(value);
rr.HostName = RoleEnvironment.CurrentRoleInstance.Id;;
return rr;
//Class
public class ReturnResult
private String returnString;
public String ReturnString
get { return returnString; }
set { returnString = value; }
private String hostName;
public String HostName
get { return hostName; }
set { hostName = value; }
3.Host this service on azure cloud service
4.Create a new project whatever it is webpage or console application.
5.using the Thread Pool or BackgroundWorker to send the concurrent request.
6.Check the results list and host name.
After made it, you could get the every requests hot which instances .
If you'd like to custom the Azure loadbalancer, I recommend you could refer to those documents:
http://msdn.microsoft.com/en-us/library/azure/jj151530.aspx
http://blogs.msdn.com/b/kdot/archive/2013/06/29/implementing-custom-load-balancing-with-sticky-connections-on-windows-azure.aspx
Regards,
Will
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Similar Messages
-
IPCC - One node in Partial Service
We have an IPCCX HA system where one server is in partial service, but all CTI ports are correctly registered and are working, except for one.(RP 3008)
The logs show a problem with CTI RPs being out of service.
Additionally,I am using Cisco Contact Center Express 7.0(1)SR05_Build504 This contact Center is integrated with CUCM 7.1.3.30000-1.
As soon as I restart the server (IPCC), the problem is solved and it looks like nothing is wrong
Why did it failed ,Any idea?
Thanks for your help.
Logs attached .c.carrion,
One issue I see right off the bat is that your CUCM version isn't on the UCCX compatibility matrix for your release. I've attached a copy below for your reference. It is often seen in these cases that there are little "annoyances" that just come and go until you are on a fully supported release. I would schedule an upgrade for your CUCM to get to 7.1.3.39200-4 which will be compatible. From looking at the logs, I believe your root cause is the JTAPI versions just not meshing. If you upgrade, this will resolve.
One other item you could check is to be sure that the NIC that is actually the primary NIC on UCCX has it's binding order first. To see this, open the network section, select "Advanced" and look at the bindings order. Also, verify things like speed/duplex, host files, etc. Finally, you may try to run a Data Check from the CM Telephony section of UCCX and see if that identifies any issues. Have this fix any issues found and see if that helps. I hope this can point you in the right direction, let me know if you need further assistance. -
Is there a list of best practices for Azure Cloud Services?
Hi all;
I was talking with a Sql Server expert today and learned that Azure Sql Server can take up to a minute to respond to a query that normally takes a fraction of a second. This is one of those things where it's really valuable to learn it when architecting as
opposed to when we go live.
Cloud Services are not Sql Server (obviously) but that led to the question - Is there a list of best practices for Azure Cloud Services? If so, what are they?
We will be placing the cloud services in multiple datacenters and using traffic manager to point people to the right one. The cloud service will set between an IMAP client & server, pretending to be the mail client to the server, and the server to the client.
Mostly it will pass all requests & responses across from one to the other.
thanks - dave
What we did for the last 6 months -
Made the world's coolest reporting & docgen system even more amazinghi dave,
>>Cloud Services are not Sql Server (obviously) but that led to the question - Is there a list of best practices for Azure Cloud Services? If so, what are they?
For this issue, I have collected some blogs and document about best practices for azure cloud service, you can view them, but I am not sure they are your need.
http://msdn.microsoft.com/en-us/library/azure/xx130451.aspx
http://gauravmantri.com/2013/01/11/some-best-practices-for-building-windows-azure-cloud-applications/
http://www.hanselman.com/blog/CloudPowerHowToScaleAzureWebsitesGloballyWithTrafficManager.aspx
http://msdn.microsoft.com/en-us/library/azure/jj717232.aspxhttp://azure.microsoft.com/en-us/documentation/articles/best-practices-performance/
>>The cloud service will set between an IMAP client & server, pretending to be the mail client to the server, and the server to the client. Mostly it will pass all requests & responses across from one to the other.
For your scenarioes, If you'd like to communicate with each instances, I recommend you refer to this document (
http://msdn.microsoft.com/en-us/library/azure/hh180158.aspx ). And generally, if we want connect the client to server on Azure, the service bus is a good choice (http://azure.microsoft.com/en-us/documentation/articles/cloud-services-dotnet-multi-tier-app-using-service-bus-queues/
If I misunderstood, please let me know.
Regards,
Will
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How to print on Android from my app without using Internet Cloud Service
Hello, I am developing Android applcation where files are being sent to a LaserJet Pro Printer via
Intent "org.androidprinting.intent.action.PRINT " and the ePrint Cloud service. And it works fine for txt and pdf files.
My question is, is it possible, to print directly to the printer without the cloud service? This is needed in cases when internet connection is not available.
Regards,
StoianHello Stoian,
Yes, some HP printers have a print option called WiFi Direct. This printing path creates a WiFi connection between the printer and mobile device. I believe this configuration supports up to 5 connections.
Miles
HP Employee -
Windows Azure Cloud Service Downtime alert
Hi,
One of the Cloud services that we have deployed on Windows Azure Cloud services using Azure Worker role is unexpectedly transitioning to Stopped state. There doesn't appear to be any valid reason behind this and it runs normally after we switch to
running state from portal.
Is it possible to develop some alert service which informs the Administrator or configured alert users that the Cloud service has shut down ? We tried to configure the Windows Azure alert but the metrics & logging doesn't seem to match with Cloud service
downtime. Please let us know what is the diagnositics or logging option which we should make use to come up an optimal design for the Alert system.
Thanks in advance,
Deepesh
Thanks & Regards, DeepHi,
From my experience, several operations in the Service Management API permit you to manage your cloud service either by referencing a deployment by its deployment name, or by referencing the deployment environment (staging or production) in
which the deployment is running. Refer to
http://msdn.microsoft.com/en-us/library/windowsazure/ee460812.aspx for more information about Operations on Cloud Services, we can do lots of things via this API, in “Get Cloud Service Properties” section, it has a “RoleInstanceList” property, refer to
http://msdn.microsoft.com/en-us/library/windowsazure/ee460806.aspx#bk_roleinstancelist for more information about
RoleInstanceList. In this article it has PersistentVMDowntime property, the detail information as following.
PersistentVMDowntime
Specifies information about when the Virtual Machine has been started and stopped.
The PersistentVMDowntime element is only available using version 2012-03-01 or higher.
Hope this helps, if this didn’t give you help, please feel free to let me know.
Best Regards
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Cloud service stuck in "Deleting..." state since July 2014
One of my cloud services has been stuck at the "Deleting..." state in the Azure portal (and also shown as such in VS2013 server explorer) since ~July 2014
I can't interact with the role to do anything with it - and have no idea why it won't go away.
Can anyone suggest what I should do about this? Thanks for any help.Please refer this thread
https://social.msdn.microsoft.com/Forums/azure/en-US/e71fa367-b478-44ce-8e41-ec5a8eec7b83/azure-cloud-service-stuck-at-deleting?forum=windowsazuredevelopment
Bhushan | Blog |
LinkedIn | Twitter -
We have 9 projects in azure cloud service, and all are use West Europe location, but with different subscription, and we found that one of those cloud service which its IP address is United
States(Why?) and others are all in Amsterdam(this is correct)
Can someone explain why? the server which it's ip located in United
States is very slow, BTW i'm in Amsterdam.Hi LH,
I have saw the same problem on Brazil. There has some comments about this issue, you can refer to it:
Microsoft owns large ranges of IP addresses which are typically registered in Redmond, so usually Azure IP addresses around the world show up as being
physically located in Redmond when using these types of tools.
It's more or less an issue with the way our IP are registered. They all "belong" to Microsoft in the US and Brasil
IP locator tools like whatismyip are sometimes incorrect. Some will give the real location, some will give the location of the ISP, etc …
IP geo lookup tools typically rely on a static database of IP address range registrations.
It's a Microsoft issue in the sense that we may publish the correct location for our datacenters
(eg. Amsterdam should locate in Europe and not in Redmond…) – but it's also a 3rd party tools issue.
If you want to be sure – use
http://msdn.microsoft.com/en-us/library/windowsazure/dn175718.aspx
And you could also see this blog about this issue :
http://azure.microsoft.com/blog/2014/06/11/windows-azures-use-of-non-us-ipv4-address-space-in-us-regions/
Regards,
Will
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Lync Server 2013 Front End Pool Mediation Service only works on one node
Hello, I'm currently experiencing an interesting issue with a Lync 2013 Front End Pool implementation on a customer, and I don't know if this is by design or am I missing something.
We implemented 3 Enterprise Front End Servers in a Pool with a hardware load balancer and we have them configured also as a mediation Pool.
We have a SIP trunk to an Avaya PBX which was perfectly working before on a Lync 2010 Implementation that we migrated to these new 2013 Front End Pools.
Now the SIP traffic is only working when configured directly to one node of the pool. If we configure it to any other node the calls fail. We also tried configuring the HLB for port 5060 for the pool and pointed the PBX to that IP but the calls also fail.
Searching around I read something about that the PBX has to be Lync certified in order to use DNS load balancing to send SIP traffic to the mediation pool, however, I don't think DNS load balancing will work because the other nodes doesn't connect the calls
from the PBX, only one node appears to be listening for the SIP Trunk.
I also restarted the mediation service on one non-working mediation server node and the event viewer on the working mediation server node showed events that it restarted the service, Not the non-working one, it's like only one server from the pool
is doing as mediation server.
So even if I get a Lync Certified PBX/Media Gateway, the mediation service doesn't appear to be load balanced, or how does it work in order to do that?
Thanks.
Eduardo RojasJust a few things about what should be happening. Each front-end server should be listening on the port configured in topology builder for the mediation service. So if that is port 5060, verify that you see that port listening on all front-end servers
by running a netstat -ano. From a local workstation, also make sure you can connect to that port via a telnet IPAddress 5060. As you say, you should be able to send any of the three mediation servers an inbound call.
Outbound calls will round robin out of the enterprise pool. So you shouldn't see all of the calls coming out of a single server.
A few other items I would look into:
- Make sure your ports are right. Ensure that you are matching ports on the Avaya and Lync. It's not a hard requirement but makes life easier to troubleshoot. So if the Avaya is 5060, just make sure TCP/5060 enabled in your mediation pools
and that your gateways/trunks are also set to TCP/5060.
- Look outside the Lync Event Viewer and see if anything strange (.net errors) are being tossed anywhere else during startup of the mediation service. I once had to remove the mediation server installer (Program and Features | Remove) and rebootstrap
the server because something went sideways during an install.
Thanks,
Richard
Richard Brynteson, Lync MVP | http://masteringlync.com | http://lyncvalidator.com -
We have a need to correct affinity of Cloud Service, Azure DB, Storage and Mobile Services such that they are on a singl datacenter and do not get impacted by network latency when these components communicate with each other. Also to distribute various environments
across different data centers we need to realign some environments to mitigate all environments getting impacted if there is outage.
Existing Cloud Services and related Service Bus queues and topics need to be moved to a different datacenter. Is there a way to do this without having to redeploy cloud services (web and worker roles) or recreate the service bus entities (queues and topics)?
Also, the existing Cloud Service URL need to be retained without with user authentication won't be possible and hence when completed, the new cloud service should have the same URL.
Please provide best available options for achieving this or ask question if more information is needed.Hi sumeetd,
As far as I know, currently there is no directly way to move services from one data center to another unless redeployment. You could submit a feature suggestion via this page (http://feedback.azure.com/forums/34192--general-feedback
). And at the same time,you could contact with azure support team via the channel below:
http://www.windowsazure.com/en-us/support/contact/
Any questions, please feel free to let me know.
Regards,
Will
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
NAM not seing traffic in one direction
Hi, I got a 6500 VSS with a NAM plugged directly. We are not allowed to manage the SPAM sessions from the NAM appliance 2204 Version 5 , so we configured directly in the 65K CLI. We are trying to do captures but we get traffic only in one direction (ingress).
SWTRMCORE#sh ver
Cisco IOS Software, s72033_rp Software (s72033_rp-ADVIPSERVICESK9_WAN-M), Version 12.2(33)SXH6, RELEASE SOFTWARE (fc1)
The NAM is plugged into port:
interface GigabitEthernet2/1/3
description Conexion Monitoreo NAM2204 Port1
switchport
logging event link-status
Span session is set as follows:
monitor session 1 source interface Po10 , Po11 , Po21 , Po31 , Po32 , Po39 , Po42 , Po43 , Po44 , Po45
monitor session 1 destination interface Gi2/1/3
When we did some testings, we made sure that traffic was in deed through the portchannels in the span session by doing tracerts and generating icmp traffic. Still unable to see traffic in one direction.Hi,
You should have the L2L VPN ACLs as mirror images of eachtother always. In your above configuration they werent. I am not sure if this is something that should break the L2L VPN connection in the way you mention but certainly configuring the connection like this is not recomended.
Also notice that the "permit ip" statement already includes "icmp" so there is really no need to add an additional line to the ACL.
I would recomend defining the needed networks to the L2L VPN ACL with the "permit ip" statements and using other methods to control the traffic through those L2L VPN connections IF needed.
- Jouni -
2 Web Applications on One Cloud Service
Hi,
I know there is information out there on this because I have come across it before, but unfortunately I cannot find it now so I will ask the questions here. I see a post about running applications on different ports within a cloud service, I am not sure
if that is the same thing that i am talking about.
Anyway, here is my question.
- Can I run two web applications in one cloud service?
- If I can, is it possible to update each web application separately or do I need to do a full deployment each time one of the web applications needs to be updated.
- If I can, is it possible to have two different domain names for each web application within the application?
If all that is possible, how do i do it? In Visual Studio, do i just right click my solution and click add new project, and then just deploy.
Many thanks in advance for any comments or feedback.
DavidYes, you can run multiple web applications on a single web role.
Read more about it at - http://www.wadewegner.com/2011/02/running-multiple-websites-in-a-windows-azure-web-role/
About deployment, you wont be able to update your web applications individually as you will need to upgrade your entire service with deployment package.
About domain names, as mentioned in the article - http://msdn.microsoft.com/en-us/library/azure/gg433110.aspx
If you must host different websites on one web role with several users, you should use the VM role and configure the IIS isolation boundaries that are
necessary to provide appropriate security for each site.
Bhushan | http://www.passionatetechie.blogspot.com | http://twitter.com/BhushanGawale -
Service is Running on one node only but Preferred instances is on both nodes
Hi Gurus,
Here we configured the below service for my 2 node 11gR2 rac db which is on solaris. While i checked the status it is running on only one node.
Can some one please help me how to find out the issue why it is not running on node 2.
fdufrdstd02:/home/oracle [+ASM1] $ srvctl status service -d scmple
Service BPSCare.ebiz.verizon.com is running on instance(s) scmple1
Service BPSData.ebiz.verizon.com is running on instance(s) scmple1
fdufrdstd02:/home/oracle [+ASM1] $ srvctl config service -s BPSCare.ebiz.verizon.com -d scmple
Service name: BPSCare.ebiz.verizon.com
Service is enabled
Server pool: scmple_BPSCare.ebiz.verizon.com
Cardinality: 2
Disconnect: false
Service role: PRIMARY
Management policy: AUTOMATIC
DTP transaction: false
AQ HA notifications: false
Failover type: NONE
Failover method: NONE
TAF failover retries: 0
TAF failover delay: 0
Connection Load Balancing Goal: LONG
Runtime Load Balancing Goal: NONE
TAF policy specification: BASIC
Edition:
Preferred instances: scmple1,scmple2
Available instances:
fdufrdstd02:/home/oracle [+ASM1] $
fdufrdstd02:/home/oracle [+ASM1] $ crsctl stat res -t
NAME TARGET STATE SERVER STATE_DETAILS
Local Resources
ora.ACFSDG.dg
ONLINE ONLINE fdufrdstd02
ONLINE ONLINE fdufrdstd03
ora.ARCH.dg
ONLINE ONLINE fdufrdstd02
ONLINE ONLINE fdufrdstd03
ora.CMPDATA.dg
ONLINE ONLINE fdufrdstd02
ONLINE ONLINE fdufrdstd03
ora.LISTENER.lsnr
ONLINE INTERMEDIATE fdufrdstd02 Not All Endpoints R
egistered
ONLINE ONLINE fdufrdstd03
ora.OCRVOTE.dg
ONLINE ONLINE fdufrdstd02
ONLINE ONLINE fdufrdstd03
ora.OFFLINEDATA.dg
ONLINE ONLINE fdufrdstd02
ONLINE ONLINE fdufrdstd03
ora.SCMDATA.dg
ONLINE ONLINE fdufrdstd02
ONLINE ONLINE fdufrdstd03
ora.acfsdg.volacfs.acfs
ONLINE ONLINE fdufrdstd02 mounted on /goldeng
ate
ONLINE ONLINE fdufrdstd03 mounted on /goldeng
ate
ora.asm
ONLINE ONLINE fdufrdstd02 Started
ONLINE ONLINE fdufrdstd03 Started
ora.gsd
OFFLINE OFFLINE fdufrdstd02
OFFLINE OFFLINE fdufrdstd03
ora.net1.network
ONLINE ONLINE fdufrdstd02
ONLINE ONLINE fdufrdstd03
ora.ons
ONLINE ONLINE fdufrdstd02
ONLINE ONLINE fdufrdstd03
ora.registry.acfs
ONLINE ONLINE fdufrdstd02
ONLINE ONLINE fdufrdstd03
Cluster Resources
ora.LISTENER_SCAN1.lsnr
1 ONLINE INTERMEDIATE fdufrdstd02 Not All Endpoints R
egistered
ora.LISTENER_SCAN2.lsnr
1 ONLINE ONLINE fdufrdstd03
ora.LISTENER_SCAN3.lsnr
1 ONLINE INTERMEDIATE fdufrdstd02 Not All Endpoints R
egistered
ora.cmpple.bpsrealtime.ebiz.verizon.com.svc
1 ONLINE ONLINE fdufrdstd02
2 ONLINE OFFLINE
ora.cmpple.db
1 ONLINE ONLINE fdufrdstd02 Open
2 ONLINE ONLINE fdufrdstd03 Open
ora.cvu
1 ONLINE ONLINE fdufrdstd02
ora.fdufrdstd02.vip
1 ONLINE ONLINE fdufrdstd02
ora.fdufrdstd03.vip
1 ONLINE ONLINE fdufrdstd03
ora.oc4j
1 ONLINE ONLINE fdufrdstd03
ora.offline.db
1 OFFLINE OFFLINE Instance Shutdown
2 OFFLINE OFFLINE Instance Shutdown
ora.scan1.vip
1 ONLINE ONLINE fdufrdstd02
ora.scan2.vip
1 ONLINE ONLINE fdufrdstd03
ora.scan3.vip
1 ONLINE ONLINE fdufrdstd02
ora.scmple.bpscare.ebiz.verizon.com.svc
1 ONLINE ONLINE fdufrdstd02
2 ONLINE OFFLINE
ora.scmple.bpsdata.ebiz.verizon.com.svc
1 ONLINE ONLINE fdufrdstd02
ora.scmple.db
1 ONLINE ONLINE fdufrdstd02 Open
2 ONLINE ONLINE fdufrdstd03 Open
xag.fdufrdstd02-vip2
1 ONLINE ONLINE fdufrdstd03
xag.gg_1.goldengate
1 OFFLINE OFFLINE
Thanks & Regards,
Venkata Poorna Prasad.SHi Javier,
I am able to start it manaully . But previously i start the service like below and only it is up on one node.
$srvctl start service -d <database_name> -s <service_name>
Also can you please help on crsctl stat res -t output there is entry like Note All Endpoints Registered . What is ment by that as show below.
{code}
Cluster Resources
ora.LISTENER_SCAN1.lsnr
1 ONLINE INTERMEDIATE fdufrdstd02 Not All Endpoints R
egistered
ora.LISTENER_SCAN2.lsnr
1 ONLINE ONLINE fdufrdstd03
ora.LISTENER_SCAN3.lsnr
1 ONLINE INTERMEDIATE fdufrdstd02 Not All Endpoints R
egistered
{code}
Thanks & Regards
Venkata Poorna Prasad.S -
Unable to connect to VM's in new cloud service via express route
We have changed our express route setup, initially we had an express route via London, but we have added a second one via Amsterdam and removed the one via London. All existing and new vm's in the different vnet's have connection to our local datacenter,
but as soon as we create vm's in a new cloud service the published routes don't seem to be picked up and the machine are only reachable in their local vnet on azure.
Does anyone have an idea where to look, it looks like the route publishing does not seem to work correctly, but it is strange that new vm's in existing cloud service do work correctly. BGP peering and vnet have been provided access via the expressroute and
all have status provisioned.Hi Syed,
When I try to connect to a new vm via rdp or try to do a tracert to the machine (with firewall turned off on the vm) I don't get a response (traffic is routed via the express-route correctly). If I do a tracert to an ip on the on premise network
from the vm in question the trace is directed to internet instead of to the on premise network via the express route.
the new cloud services were created in the same region as the working cloud services and the vm's are also in the same vnet/subnet as the working vm's. If I delete a vm (keeping the disks) from a new cloud service and redeployed it in an existing cloud service
I can reach it again via the internal ip.
We have checked the route publishing and the correct routes are published to the express route/vnet.
When I check the provisioning of the vnet's via get-azurededicatedcircuitlink all the vnet's in question are listed as provisioned.
I'll try to remove the bpgrouting for the original expressroute this evening to see if that helps.
kind regards
Xander -
How do I connect two VMs in the same cloud service?
I want to setup a DB cluster with two VMs in a single cloud service. My DB (Couchbase) requires being able to reference the other nodes by IP address or hostname. Since VMs change their IP everytime they restart I can't use that, and as far as I can tell
hostname is the same for both VMs in a cloud service. But the Azure docs mention Azure provided name resolution (here https://msdn.microsoft.com/en-us/library/azure/jj156088.aspx). I can't find any information on how this service works, or how I find the permanent
hostnames it assigns to my VMs within a cloud service. Is there anyway to find one VM from another within a cloud service that persists across restarts?Hi CanuckAlex;
Thank you for your post.
Virtual machines must be in a cloud service, which acts as a container and provides a unique public DNS name, a public IP address, and a set of endpoints to access the virtual machine over the Internet. The cloud service can optionally be in a virtual network.
If a cloud service is not in a virtual network, the virtual machines in that cloud service can only communicate with other virtual machines through the use of the other virtual machines’ public DNS names, and that traffic would travel over the Internet.
If a cloud service is in a virtual network, the virtual machines in that cloud service can communicate with all other virtual machines in the virtual network without sending any traffic over the Internet.
If you place your virtual machines in the same standalone cloud service, you can take advantage of load balancing and availability sets. For details, see
Load balancing virtual machines and
Manage the availability of virtual machines. However, you cannot organize the virtual machines on subnets or connect a standalone cloud service to your on-premises network. Here is an example.
If you place your virtual machines in a virtual network, you can decide how many cloud services you want to use to take advantage of load balancing and availability sets. Additionally, you can organize the virtual machines on subnets in the same way as your
on-premises network and connect the virtual network to your on-premises network. Here is an example.
Virtual networks are the recommended way to connect virtual machines in Azure. The best practice is to configure each tier of your application in a separate cloud service. This enables advanced user rights delegation through Role Based Access Control (RBAC).
For more information, see
Role Based Access Control in Azure Preview Portal. However, you may need to combine some virtual machines from different application tiers into the same cloud service to remain within the maximum of 200 cloud services per subscription.
To connect virtual machines in a virtual network:
Create the virtual network in the Azure Management Portal. For more information, see
Virtual Network Configuration Tasks.
Create the set of cloud services for your deployment in the Azure Management Portal to reflect your design for availability sets and load balancing with
New > Compute > Cloud Service > Custom Create.
When you create each new virtual machine, specify the correct cloud service and your virtual network. If the cloud service has been previously associated with your virtual network, its name will already be selected for you.
Here is an example using the Azure Management Portal.
To connect virtual machines in a standalone cloud service:
Create the cloud service for your deployment in the Azure Management Portal with
New > Compute > Cloud Service > Custom Create.
When you create the virtual machine, specify the name of cloud service created in step 1. Alternately, you can create the cloud service for your deployment when you create your first virtual machine.
Here is an example using the Azure Management Portal for the existing cloud service named EndpointTest.
PS: One can assign static IP address to VM on Azure, You could refer to this
link here.
Hope this helps.
Warm Regards;
Prasant -
Error while deploying adf application on oracle cloud service
hello, i hv registered oracle cloud service for java and database. i hv created simple adf application in which there are 2 jsf pages only linked together. I m using oracle jdeveloper 11gr2. so i hv created ear file for deployment on cloud. i deployed adf application on cloud using java console. But, after uploading application, deployment was failed. I tried 3 times this, but the result was same. I checked log, where i got 3 warnings in whitelist log and error in deploy log. Those are as follows:
Warnings in whitelist log:
2013-04-14 06:57:11 CDT: Starting action "API Whitelist"
2013-04-14 06:57:11 CDT: API Whitelist started
2013-04-14 06:57:12 CDT: WARNING - There are 3 warnings(s) found for Testapp.ear.
2013-04-14 06:57:12 CDT: WARNING - Path:Testapp.ear (3 Warnings)
2013-04-14 06:57:12 CDT: WARNING - Path:Testapp.ear (3 Warnings)
2013-04-14 06:57:12 CDT: WARNING - Path:Test_ViewController_webapp.war (3 Warnings)
2013-04-14 06:57:12 CDT: WARNING - Path:WEB-INF**** (1 Warning)
2013-04-14 06:57:12 CDT: WARNING - 1:Recommended child element "login-config" missing under element /
javaee:web-app.
If you want to make your application public, you can have empty
<login-config/> in your web.xml. If you need authentication then you must
have <login-config> and its child <auth-method> element in web.xml.
Without this element(<login-config>), users may be challenged by SSO, but
the application code will be executed as anonymous user only. Line No:4.
2013-04-14 06:57:12 CDT: WARNING - Path:WEB-INF**** (2 Warnings)
2013-04-14 06:57:12 CDT: WARNING - 1:Recommended child element "jsp-descriptor" missing under element /
orcl-weblogic:weblogic-web-app.
If you have a JSP file that is not pre-compiled, The compilation errors
could be shown on the browser. It is recommended to include
<jsp-descriptor><verbose>false<****><****-descriptor> in weblogic.xml.
Line No:2.
2013-04-14 06:57:12 CDT: WARNING - 2:Recommended child element "session-descriptor" missing under element /
orcl-weblogic:weblogic-web-app.
You will be required to have distinct cookie-path, if multiple
applications are accessed with in the same SSO session or if you have
multiple applications with different auth-method(CLIENT-CERT, FORM, BASIC)
in the same service instance.
Line No:2.
2013-04-14 06:57:12 CDT: WARNING - Testapp.ear had 3 warning(s).
2013-04-14 06:57:12 CDT: INFO - Whitelist validation has completed with 0 error(s) and 3 warning(s).
2013-04-14 06:57:12 CDT: Whitelist validation passed.
2013-04-14 06:57:12 CDT: "API Whitelist" complete: status SUCCESS
and Error in deploy log:
2013-04-14 06:57:12 CDT: Starting action "Deploy Application"
2013-04-14 06:57:12 CDT: Deploy Application started
2013-04-14 06:57:15 CDT: weblogic.application.ModuleException: Failed to load webapp: Test-ViewController-context-root because of DeploymentException: java.lang.ClassNotFoundException: oracle.adf.view.faces.bi.webapp.MapProxyServlet
2013-04-14 06:57:15 CDT: WL action state: failed
2013-04-14 06:57:15 CDT: Action FAILED with WL action state: failed
2013-04-14 06:57:15 CDT: Check the server log of your Java cloud service for more info about the failure.
2013-04-14 06:57:16 CDT: Application deployment failed.
2013-04-14 06:57:16 CDT: "Deploy Application" complete: status FAILED
I am using jdeveloper 11gr2, so pls dont tell me to use jdeveloper 11gr1. because, i hv already developed an application for my final year B.Tech and i cant migrate to previous release. So there is only one way for me by generating ear file and deploying from console.
So,
I m not getting what is the problem and what will be solution for this?
What should i do?
What changes should required?
pls, help me to get out from this problem !!!!!Well, I guess you have a problem here. Check http://multikoop.blogspot.de/2012/12/deploying-adf-applications-into-oracle.html and from this
>
Note: In its current stage Oracle Java Cloud Service runs WebLogic Server 10.3.6 with the appropriate Runtime ADF 11.1.1.6. Deployment of ADF 11gR2 Applications is currently not supported. Beside this limitation some ADF Features are not supported on the Oracle Cloud. According to the Oracle Cloud Documentation it is not supported to use the following ADF features
ADF Desktop Integration
ADF mBean
ADF MDS (Seeded customizations or cross-session personalization)
ADF Mobile
ADF Active Data Services (=> No real-time ADF Web Apps in Oracles Cloud)
ADF Business Components services interfaces (web services) or events
ADF Data Controls for BI, Essbase, BAM, and JMX
Further there are some restrictions which are good to know I think
No Java Mail API (=>Sending Mails is prohibited)
No File system access by deployed applications (=>Writing files is prohibited)
No Direct use of Oracle JDBC Driver APIs
No Java Message Service (JMS)
Max Size for deployment archive 95MB
>
I hope for you that the information from the blog has changes in the meantime (blog is from end of last year). Check the current doc for the cloud ...
Timo
Maybe you are looking for
-
Project settings for a video shown on a TV screen
Hello I am editing a video that will be shown on a TV screen and I am not sure what are the settings I should choose in the New project window. And which format ishould be hoosing when I export it.
-
Missing a sideways scroll bar on itune so can't click to accept terms
HELP I got an ipod nano for Christmas, downloaded itunes, plugged my ipod in and get as far as the terms and conditions page and the page won't scroll across so that I can click on accept, therefore I can't see what's on my ipod!! On every other page
-
JTabbedPane - traversing focus through tabs
I would like to have focus traverse through tabs in a JTabbedPane. That is, when the focus is on the last component of a tab, hitting the key for forward focus traverse should bring up the next tab and focus on the first component on that tab. I'm al
-
Spry slideshow - how can i remove the title code when i use the widget??
When I insert the slideshow widget, there is code for a title. I don't need this and don't want to have to remove the code each time I use the widget. Where can I change this permanently? <ul id="ImageSlideShow" title="Bookcase03091-1">
-
HT201250 Is there any disadvantages to Time Machine? Why doesn't everyone get it?
I am looking at Time Machine, and it looks great and really helpful. Are there any disadvantages? Why would anyone not get it? I am trying to figure out if I am missing something. Thank you!