Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Eirik Tsarpalis
    @eiriktsarpalis
    which you can edit
    Gauthier Segay
    @smoothdeveloper
    thanks for pointers, it would make sense if MS provided a .net API that can be talked to from the machines themselves, then we could just send another cloud computation with few lines of code to setup that part :)
    mbrace is an easy sell to my manager compared to setup VM with our software, need to update with each release, etc. with mbrace I can just ship the software easily :)
    Eirik Tsarpalis
    @eiriktsarpalis
    good to know :)
    Gauthier Segay
    @smoothdeveloper
    and since the F# api is wonderful, it will sell usage of F# for that area (I have to "prove" advantage of F# vs C# in every piece I promote its usage)
    Eirik Tsarpalis
    @eiriktsarpalis
    nice
    In every case, it's got a decent C# API as well
    if you are into C# interactive and all
    Gauthier Segay
    @smoothdeveloper
    yes saw there was significant efforts (which is great for mbrace adoption) toward that too, but F# computation expressions gives outstanding solution IMHO
    I hope MS starts advertising mbrace now that it has a C# api
    (and sponsoring its development)
    Eirik Tsarpalis
    @eiriktsarpalis
    haha, I wouldn't count on that :)
    Gauthier Segay
    @smoothdeveloper
    it totally removes the pain of doing azure with .net, using raw azure APIs is a real pain apparently
    Gauthier Segay
    @smoothdeveloper

    I've made a custom deployment based on starter pack, adding the tcp port I need, I've used VS "publish" option because I want to enable remote connection. I had to also set a storage connection string which I picked up from server explorer in VS.

    In my script when I issue this:

    let subscription = Config.GetSubscriptionManager()
    subscription.GetDeployments()

    It doesn't pickup the deployment and just returns an empty array, although I can see in the portal there is one deployment matching what I published from VS.

    Gauthier Segay
    @smoothdeveloper
    mmh apparently I also miss servicebus connection string, checking how to get it from portal
    Gauthier Segay
    @smoothdeveloper
    wondering if I should use Azure SDK 2.7, I've updated the solution to the most recent one 2.9 assuming it should work
    I'm still figuring out deployment issues that I'm seeing in VS
    Eirik Tsarpalis
    @eiriktsarpalis
    Yes, the subscription manager only returns deployments that have been made by the management library itself
    so anything published from the Visual Studio UI will be ignored
    Instead of "Publish" you should use the "Package" option
    here are some instructions
    Gauthier Segay
    @smoothdeveloper
    using package option, I do endup with two files, a .cspkg and ServiceConfiguration.Cloud.cscfg, I tried to use the .cspkg itself but it didn't seem to work, I'm going to retry it
    should I have both files next to each others?
    Eirik Tsarpalis
    @eiriktsarpalis
    no, one is enough
    you have to specify that in the custom cspkg path
    Gauthier Segay
    @smoothdeveloper
    ok, if my package has remote desktop enabled I get
    (Validation Errors: Error validating the .cscfg file against the .csdef file. Severity:Error, message:The service configuration file does not provide a value for setting 'Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountEncryptedPassword' for role 'MBrace.Azure.WorkerRole'.,Error validating the .cscfg file against the .csdef file. Severity:Error, message:The service configuration file does not provide a value for setting 'Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountExpiration' for role 'MBrace.Azure.WorkerRole'.,Error validating the .cscfg file against the .csdef file. Severity:Error, message:The service configuration file does not provide a value for setting 'Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountUsername' for role 'MBrace.Azure.WorkerRole'.,Error validating the .cscfg file against the .csdef file. Severity:Error, message:The service configuration file does not provide a value for setting 'Microsoft.WindowsAzure.Plugins.RemoteAccess.Enabled' for role 'MBrace.Azure.WorkerRole'.,Error validating the .cscfg file against the .csdef file. Severity:Error, message:The service configuration file does not provide a value for setting 'Microsoft.WindowsAzure.Plugins.RemoteForwarder.Enabled' for role 'MBrace.Azure.WorkerRole'.,Error validating the .cscfg file against the .csdef file. Severity:Error, message:The service configuration file does not provide a certificate identification information for certificate 'Microsoft.WindowsAzure.Plugins.RemoteAccess.PasswordEncryption' for role 'MBrace.Azure.WorkerRole'.)
    Eirik Tsarpalis
    @eiriktsarpalis
    hmmm, I'm not sure what is at fault there
    Gauthier Segay
    @smoothdeveloper
    I'm trying again without that option but with my tcp port still defined, I remember it worked but I could not connect to the process (that I deploy separately) via tcp
    my understanding is that with remote desktop enabled, it requires separate file containing the credentials
    mmmh I think I should manually upload the certificate, VS prompts me to do so if I deploy manually
    Gauthier Segay
    @smoothdeveloper
    wonder if it wouldn't require to extend https://github.com/mbraceproject/MBrace.Azure/blob/master/src/MBrace.Azure.Management/Compute.fs#L284 to work with remote desktop so I would be able to pass additional properties (mentionned in the error message)
    it would also require an option .pfx file and associated password to work (assuming it would add the certificate like it can be done in the classic console)
    I'm leaving idea of using remote desktop for now, and try to setup another cspkg with just my tcp port
    Eirik Tsarpalis
    @eiriktsarpalis
    ok
    why do you want to use remote desktop?
    I often just use mbrace to perform adminstrative stuff on my nodes
    processes run with admin rights so you can do whatever you want with the nodes' state
    Gauthier Segay
    @smoothdeveloper
    I don't really want it, although I was thinking to help me troubleshoot network setup issue I'm having (can't connect to tcp port I've opened) it would help to remote login
    I need each node of the cluster to have one tcp port open to outside the cluster/cloud service, ideally only accepting connections from a given host, but for now I'd like to have it work without restrictions, I've added a InputEndPoint
    <InputEndpoint name="MyEndPoint" protocol="tcp" port="22222" />
    Gauthier Segay
    @smoothdeveloper
    ok found a way to remote into the default cspkg, in classic portal, you can add the option after the instances are deployed, now I think my main problem is making the machines part of network security group that my main machine is in
    Gauthier Segay
    @smoothdeveloper
    Gauthier Segay
    @smoothdeveloper
    is there a plan to move mbrace.azure to most recent azure APIs (https://github.com/Azure/azure-sdk-for-net), I intend to use those bits in my .net codebase and it is confusing to have all those Microsoft.WindowsAzure.* + Microsoft.Azure dependencies
    I'm slowly figuring things out on all the bits I need to use and the azure development story is a bumpy ride (took me very long to find what is most recent SDK bits, but almost no documentation for it), departing from "complete azure newbie" involves lots of tedious searches in a jungle of APIs, outdated blog posts, msdn doc lagging a lot in showing the current SDK, and frustrating trial/errors to setup authorizations (need to setup classic AD for using most of that azure-sdk-for-net stuff)
    Gauthier Segay
    @smoothdeveloper
    also adding all references I need to F# is getting me closer and closer to Microsoft/visualfsharp#838
    Gauthier Segay
    @smoothdeveloper
    I'm using mbrace to run few processes (.exe that are deployed from a computation), I'd like to know a recommended (or easy) approach to capture console output (that I know how to do) and stream all output to the main mbrace script as it comes out from each machine
    Gauthier Segay
    @smoothdeveloper
    created mbrace channel on https://azured.slack.com/archives/mbrace
    Gauthier Segay
    @smoothdeveloper
    is there a way to provision a mbrace cluster with heterogenous machine sizes? I'm trying to optimize for workload where I know total number of cores that I need, if I need 100 cores, it will provision 3 machines with 32 cores and one with 4 cores
    Eirik Tsarpalis
    @eiriktsarpalis
    You mean targetting WindowsAzure.Storage packages above version 4?
    Eirik Tsarpalis
    @eiriktsarpalis
    Regarding the heterogenous cluster, it's really what the azure cloud service allows you. But you could still make two cloud services of different sizes be part of the same azure cluster. Just specify the same storage/service bus connections strings for both