Skip to content

Commit

Permalink
Merge pull request Azure#2499 from N6UDP/add-chef-ha-cluster
Browse files Browse the repository at this point in the history
Add chef-ha-cluster
  • Loading branch information
bmoore-msft authored Sep 21, 2016
2 parents 4ab7c9b + 4a7283b commit ee005a6
Show file tree
Hide file tree
Showing 9 changed files with 1,227 additions and 0 deletions.
Empty file added chef-ha-cluster/.ci_skip
Empty file.
45 changes: 45 additions & 0 deletions chef-ha-cluster/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Chef Backend High-Availability Cluster

<a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2Fchef-ha-cluster%2Fazuredeploy.json" target="_blank">
<img src="http://azuredeploy.net/deploybutton.png"/>
</a>
<a href="http://armviz.io/#/?load=https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2Fchef-ha-cluster%2Fazuredeploy.json" target="_blank">
<img src="http://armviz.io/visualizebutton.png"/>
</a>

**This template has artifacts that need to be staged for deployment (Configuration Scripts) so use the below command with the upload flag to deploy this template or provide a storage account and SAS token when using the deploy button above.**
You can optionally specify a storage account to use, if so the storage account must already exist within the subscription. If you don't want to specify a storage account
one will be created by the script (think of this as "temp" storage for AzureRM) and reused by subsequent deployments.

```PowerShell
.\Deploy-AzureResourceGroup.ps1 -ResourceGroupLocation 'eastus' -ArtifactsStagingDirectory 'chef-ha-cluster' -UploadArtifacts
```
```bash
azure-group-deploy.sh -a chef-ha-cluster -l eastus -u
```

This template deploys a Chef Backend High-Availability Cluster.
`Tags: chef,cluster,ha`

## Deployment steps

You can click the "deploy to Azure" button at the beginning of this document or follow the instructions for command line deployment using the scripts in the root of this repo.

## Usage

#### Connect

Connect using ssh
To reach a frontend use port 50000,50001,50002 (FE0,1,2):
```
ssh -p 50000 [email protected]
```
To reach a backend do something like
```
ssh -o ProxyCommand="ssh -W %h:%p -p 50000 -q [email protected]" chefadmin@be0
```

#### Management

See the chef documentation at [Chef](https://docs.chef.io/)

Loading

0 comments on commit ee005a6

Please sign in to comment.