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

Similar Messages

  • How can I connect two PS3 to the same Linksys WRT54G correctly

    Hi,
    i'm trying to connect two PS3 to the same routeur without having conflicts. Everytime i try to update my game softwares it tells me error 80710723 or now 8002AD23. I gave the two PS3 different IP adresses, i opened all the ports that Playstation suggested me to open (http://playstation.custhelp.com/app/answers/detail/a_id/241) and gave them different DNS adresses but still they cannot download any software content without bugging the console. I also use a PC, Tablet and Phone with my wireless connection.
    thank you
    -François

    Well in this case the error code (80710723 ) is generated when the internet connection is slow. So you can try the following step:
    # Open up the browser and on the address bar type 192.168.1.1 that will open up the Router setup page.
    # Lower the MTU (Maximum Transmission Unit) from 1500 to 1400 or less (usually found on your router's main/ basic setup page)
    # Make the Channel Width to 20 MHz only and Channel to 6, 9, 11..
    #Adjust the following advanced wireless settings:
    ~~ Lower the beacon interval from 100 to 75
    ~~ Lower the fragmentation threshold from 2346 to 2306
    ~~ Lower the RTS threshold from 2347 to 2304

  • How can I connect two ipods on the same computer ?

    Hello,
    My girlfriend has just bought a ipod nano. I have already a "classic" ipod. Do you know how can I connect the two Ipod on the sasme computer without loosing all my songs ? Is ti possible to select songs that she will transfer ?
    Thanks for your answer

    I am trying to contact a Nano to the same computer that has a Shuffle and Mini on it but it just doesn't want to update. I have been sitting fr about 3 hours now trying to make it work and cannot get anywhere. Can ANYONE help?
    Thanks.
    Do Apple not have an online help service? It seems a little strange for a company so large.

  • How can I connect two macs in the same network?

    Both are connected to the same network. One via ethernet and the other via Wifi (Airport Extreme). Both share the same Internet conection. I have followed instructions for files sharing. I can access only the computer linked to my home network via ethernet, but not the other way. It does not found the server address provided in file sharing by the computer conected via Wifi. Any clue? Can it be that the IP address of the Wifi conected is DCHP?

    Are you using Connect to Server or Shared sidebar in the Finder? What OS X versions do the two machines run?

  • How doi unistall itunes from an iphone? By accident we connected two phones to the same itunes account. So now whenever one downloads something, both phones receive the download.

    How do I uninstall an itunes account from an iphone? By accident we connected two phones to the same itunes account and now whenever we download both  phones receive the download.

    Settings > iTunes & App Store > Automatic Downloads > switch off what you don't want here

  • Cannot connect two computers to the same game server HELP!

    I have a Linksys WRT54G Router.  I have two computers and I want to be able to use them on the same gaming server.  Unfortunately, the game only have one port, so I can only port forward one of my computers.  How can I configure my router to have two external IP addresses to the server so it won't kick one of my computers out.  Thanks!

    Hi,
    I am in a gaming community and many members have a Linksys at home (but I don't know which kind exactly). Many of us try to connect two computers to the same server (many have a family). It seems it is a common problem that no one can connect two computers to the same game server.
    I have a BEFSR41 V3 Firmware version 1.04.8
    I use fixed IP address and no connectivity problem on Internet.
    I have win XP SP2 on both computer.
    I am using a DSL modem
    I can connect the two computers to two different game servers at same time, but not the same server. Default port for this game is the same for all servers I use. I tried with both port forwarding enabled (in that case one PCs can connect the other not) or not (in the second case, whenever the second PC connects, the first one lose his connection to the server, no mater the order I try to connect my PCs).
    Now the weird thing is that one member in my community just decided to throw away his Linksys router and he bought another brand (which I won't name to remains politically correct). Now, without changing anything in his PCs or his connection type, he can now play with two PC on the same server.
    I am seriously thinking doing the same move. Since more and more game are now using Internet (and servers that controls piracy, $$) and family want to play together, not being able to connect two PCs on the same game server makes Linksys in bad situation from marketing point of view.
    For example, in my gaming communtity, we now all know that Linksys can't handle two PC on same server, but other brand can...
    Thank you in advance for your help.

  • How can I make two copies of the same picture one with my watermark and one without for printing for clients?

    how can I make two copies of the same picture one with my watermark and one without for printing for clients?

    Export the photo twice, once with a watermark and once without a watermark.

  • How can i add two values under the same property?

    Hi all,
    How can i add two values under the same property name in a
    prop list? For example:
    [question1: "item1","item2", question2: "item3","item4"]
    To be more precise, i am creating a property list and I want
    whenever a two values have the same property name to be added int
    he list under the same property. For example:
    gMyList.AddProp (#""&question&"" & x,
    member("input").text)
    question is a variable that is updated fromt he user's input.
    Now, whenever somethign like this happens:
    question = "question1"
    member("input").text = "five"
    question = "question1"
    member("input").text = "six"
    I want to output list to be:
    [question1: "five","six"] and so on
    Any ideas?

    Maybe you could make each property a list (so you have a
    property list full
    of lists), and add multiple values to the list held in a
    particular
    property?
    Cheers
    Richard Smith

  • Connecting two WRT54GS to the same (wired) router (non-linksys)

    Due to some security issue I have to connect two WRT54GS to the same wired router.
    Do I connect the first WRT54GS to one port of the router and the second one to another port?
    And is the connection on the WRT the ethernetport or the internetport?
    And can I reach both the configuration screens or do I have to change the
    adress of one of them to e.g. 192.168.1.2 ?
    Regards,
    hENK.  

    I will suggest you to connect the LAN port of wired router to LAN ports of both WRT54GS  ........  Th connectino to WRT54GS is Ethernet Port ......
    Regarding the Ip address of WRT54GS ..... change the Ip address of first wireless router from 192.168.1.1 to 192.168.1.2 ........make the DHCP service disabled ....
    For the other router the Ip address would be 192.168.1.3 ...... DHCP service again disabled .........
    For accessing the set up page of both router use the new Local Ip address.........on the explorer address bar ......

  • How do i sweep two voltage at the same time by using for loop ?

    Hello, Can anyone help me on this topic ?
    My problem is to sweep Vds and Vgs as same time vs Id in MOSFET by using for loop. I also use the Agilent power supply source. Let me tell a litle bit about what i'm doing. For different value of Vds, i will get Vgs vs Id curve. (The x axis is Vgs, the y-axis is Id).
    I started to create two for-loop, the inner to sweep Vgs, and the outer one to sweep Vds. My problem is don't know how to connect all the wire in  the for loop.
    In the for loop i saw N, i icon. Suppose I have the two variable for Vgs such as Vgs start and Vgs_stop. Should the Vgs_start( or Vgs_stop) be connected to N or leave it in the for_loop ?
     for example: I want to sweep Vgs from 0(for Vgs_start)  to  5(Vgs_strop) V, and the step increment is .5V how do i connect these variables in the for loop ?
    Thank you for your time
    Ti Nguyen

    It is easier to use a while loop.  Dennis beat me to the punch.  Here is my solution:
    You can remove the flat sequence structure if you use Error In and Error Out to ensure the execution flow will occur in the proper order.  Be sure to include the delay time in the loop so that your vi doesn't hog all the CPU time.
    Message Edited by tbob on 10-17-2005 01:00 PM
    - tbob
    Inventor of the WORM Global
    Attachments:
    RampVoltage.PNG ‏8 KB

  • How can i distinguish two controls with the same name?

    I'm recording automated tests with VS 2012 Coded Ui Test for testing a web application.
    In that web application it is possible to enter data in something looking like a list.
    There is - per example - an Edit control sitting on a ColumnHeader with the name/text "Description".
    Below that header is another Edit control for data input - containing the text "Description" too and which lies on a Cell control.
    When i playback my recording, Coded UI Test looks for a control with the name "Description" and gets the one, it finds at first.
    In that case the Edit on the ColumnHeader, which causes an exception, when the Text will be setted with the data input from the recording.
    Unfortunately the controls have no ID.
    Is there a way to distinguish controls with the same name?
    Thanks in advance!

    Hi Patrick Pirzer,
    >>Is there a way to distinguish controls with the same name?
    Based on the blog "How does “Coded UI test” finds a control ??", we know that to really find a control, it would be related to the unique properties as the search properties,
    so if two controls have the same property, please use other unique property as the search property would be better.
    Best Regards,
    Jack
    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 can I have two fields with the same name if it makes sense?

    Hello, folks :)
    I have a pretty hard time figuring out how I can have two text fields with the same binding name.
    The whole problem is that when I need two fields with the same binding name they are still differnent coz they have the same name but differnt indices.
    I should make a form filled at runtime by merging a pdf form file and an fdf file data file. And I have no choice to do it differently. And my form file needs some data like customerName, companyName twice in one form. But there's only one possible buinding name indexed zero.
    How can I create a field with absolutely the same name or is it just impossible due to possible name conflicts? And is there a workaround to this problem? I just need one piece of data repeated in different places.
    Thanks for your replies :)
    P.S. if u think that the problem is not clear enough let me know. I'll supply you with more details. But the general process can not be changed.
    One pdf should be mergred with an fdf with as the result of their merge a new filled and flattened form. I have no control over fdfs their are generated by Oracle and I can not fill the form using XML files coz this process should be integrated in a working application.

    I just thought about a really ugly workaround with a server-side script adding values to fdf files but it's a bit of work and tests and personally i think it's a bad idea :-(

  • How can I produce two outputs of the same project

    Dear Sir,
    My aim is to produce two outputs of the same master project,
    HTML help and Webhelp each one will be used differently in my
    compnay.
    Producing two outputs is fine but the problem was that
    external links are done differently for HTML help and Webhelp and
    as I Knew from you that this can be solved using conditional tags.
    Actually I am new to conditional tags and I don't know how to
    use them. Could you please help me to do this or recommend a link
    on how to use condtional tags to produce different outputs.
    Thank you very very much

    Hi there ahlam323
    See if the link below helps any. Some goober wrote something
    on it.
    Click
    here to read the goober's guide
    Cheers... Rick

  • How do I separate two movies on the same timeline?

    I'm using Premiere Elements 11 but have not used it for a while so I've forgotten much of what I've learned. So here is my question: I have two movies on the same timeline. How do I separate them. In other words, how can I move one over on the timeline so it will not confuse my editing of the other one? But better yet - how can I just take one movie off the time line completely and edit it later as a separate movie. I really have four short movies - one minute long. I'd like to edit them separately, with a new file name. I don't know how to do this anymore.  

    Tommyvincent
    I have been doing some homework on the questions that you raised in this thread.
    Observations....
    1.
    After you  import a video into Project Assets, you can right click it, select Rename. That file when dragged to the Timeline will have the new name.
    But...
    If you import a video into Project Assets, drag it to the Timeline, right click the Timeline clip, select Rename from the pop up, then the Timeline file will be renamed but not its thumbnail in Project Assets. You would have rename that Project Asset thumbnail to match if you wanted to. But, these renamed files still trace back to the original with its original file name at its hard drive save location.
    2.
    About getting off your Timeline...one way would be to export the clip selectively if it were in group of clips on the Timeline. Two requirements for that
    a. In Edit area, set the gray tabs of the Work Area Bar to span just the segment to be exported
    and
    b. In the export area, have a check mark next to "Share Work Area Bar Only" option.
    3.
    If you brought a clip into Project Assets, double clicked it to open its Preview Window, you could trim the clip with the Set In and Set Out points and create "subclips" with new names in Project Assets. These "subclips" would be part of that project's media that could be dragged to the Timeline when needed.
    Please review and determine if any of the above is going in the right direction for what you want to do.
    Thank you.
    ATR

  • How do I open two profiles at the same time?

    until i updated to Firefox 7 i got prompted to which profile i want to open every time i open firefox, i am using one profile to play and one for work. i get prompted the first time but not the rest of the time how do i fix it so that i can again run two profiles at the same time

    See:
    * http://kb.mozillazine.org/Using_multiple_profiles_-_Firefox
    * http://kb.mozillazine.org/Opening_a_new_instance_of_Firefox_with_another_profile

Maybe you are looking for

  • Box in  Sap Script and text within

    Hi, I want to create a box at the end of the main window and text within it. The main window can end at 1st page itself or it can be extended to second page based on the articles. So the box should appear at the end of the last article in the main wi

  • Why does my firefox ALWAYS crash, and nothing works to fix it?

    I have a macbook, and was using firefox for an entire year with no problems at all. Out of nowhere a few months ago, it froze. Ever since then, it freezes my entire computer when I open firefox. I have uninstalled, reinstalled, deleted every single t

  • Get rid of the initial asterisk when using PasswordField masking in console

    Hi! How can I get rid of the initial astrerisk when using the PasswordField script from Sun? I've tried to check whether the BufferedReader is empty or not, but with no succes. Here comes the code: PasswordField.java import java.io.*; public class Pa

  • Another iSight Problem

    iSIght will power up then after about a couple seconds will make a shutter sound and then shut off. All equipment and software up to date. My brother in law has had the same problem. In system proflier it recognizes the iSight camera. The only way to

  • Is it FREE for commercial use?

    Dear all, Has been using Skype for the past few years, and mostly for my personal usage. Just to clarify something about Skype Licensing, is it FREE for commercial use? For example, I myself and my current/ex colleagues are using Skype for working re