Github user aledsage commented on a diff in the pull request:

    https://github.com/apache/brooklyn-docs/pull/192#discussion_r118721928
  
    --- Diff: guide/locations/provisioned-machine-requirements.md ---
    @@ -0,0 +1,161 @@
    +---
    +title: Provisioned Machine Requirements
    +layout: website-normal
    +---
    +
    +The requirements for how a provisioned machine should behave will depend 
on the
    +entites subsequently deployed there.
    +
    +Below are a set of common assumptions, made by many entity 
implementations, which
    +could cause subsequent errors if they do not hold. These relate to the 
machine's 
    +configuration, rather than additional networking or security that a given 
Cloud 
    +might offer.
    +
    +Also see the [Troubleshooting]({{ site.path.guide }}/ops/troubleshooting/) 
docs.
    +
    +
    +## Remote Access
    +
    +### SSH or WinRM Access
    +
    +Many entities require ssh'ing (or using WinRM for Windows), to install and 
configure 
    +the software.
    +
    +An example of disabling all ssh'ing is shown below:
    +
    +    location:
    +      aws-ec2:us-east-1:
    +        identity: XXXXXXXX
    +        credential: XXXXXXXX
    +        waitForSshable: false
    +        pollForFirstReachableAddress: false
    +    services:
    +    - type: org.apache.brooklyn.entity.software.base.EmptySoftwareProcess
    +      brooklyn.config:
    +        onbox.base.dir.skipResolution: true
    +        sshMonitoring.enabled: false
    +
    +
    +### Parsing SSH stdout: No Extra Lines
    +
    +For entities that execute ssh commands, these sometimes parse the 
resulting stdout.
    +
    +It is strongly recommended that VMs are configured so that no additional 
stdout is written when executing 
    +remote ssh (or WinRM) commands. Such stdout risks interfering with the 
response parsing in some blueprints.
    +
    +For example, if configuring the VM to write out "Last login" information, 
this should be done for only 
    +"interactive" shells (see 
[Stackoverflow](http://stackoverflow.com/a/415444/1393883) for more details).
    +
    +
    +### Passwordless Sudo
    +
    +Does passwordless sudo work?
    --- End diff --
    
    Unfortunately it's not a checklist - as the opening paragraph(s) said, the 
requirements depend on the type of entity being deployed to that machine.
    
    I'm not sure how to word/structure it better. This page is almost like a 
troubleshooting page - if things go wrong, then you can check these things (but 
you don't necessarily need all of them). However, it can also be used 
"pre-emptively" for what your machine might need.
    
    I thought about ordering it differently, starting with the most important 
things. But then re-arranged it into related sections (e.g. things about 
network connectivity next to each other, etc).


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to