SlideShare una empresa de Scribd logo
1 de 4
Descargar para leer sin conexión
Consistency or Bust: Breaking a Riak Cluster

                              Workstation Setup

   Introduction!                                                                       1
       Helper Commands!                                                                1

   Linux!                                                                              2
       General Notes!                                                                  2

       Software Installation!                                                          2

   OS X!                                                                               3
       General Notes!                                                                  3

       Software Install!                                                               3

   Windows !                                                                           3
       General Notes!                                                                  3

       Settings!                                                                       3

   Virtual Machine Adjustments !                                                       4

   Final Steps!                                                                        4

Introduction
These instructions will give quick steps into getting ready to run a Riak. The Linux steps
were tested with a clean Ubuntu Server 64bit 10.04 LTS and the OS X steps were done
on a fairly clean MacBook Pro running 10.6.8.

There are helper scripts in the root of the Riak folder for starting, stopping, and joining
the Riak nodes.

Helper Commands
 $ bash start.sh

 $ bash join.sh

 $ bash stop.sh
Consistency or Bust: Breaking a Riak Cluster


Linux
General Notes
Any version of Linux will be acceptable. If this is a clean virtual machine install, use
Ubuntu 10.04 Server LTS. It is command-line only, but has a pretty small footprint. The
instructions for setting up a Linux machine will be based on the Debian Linux family but
any any should work using the appropriate controls. The assumption is that this is
installed already with a base configuration. Nothing special is required from the OS
perspective.

Software Installation
 $ sudo apt-get install build-essential libncurses5-dev openssl

 $ sudo apt-get install libssl-dev git-core curl

 $ wget http://erlang.org/download/otp_src_R14B03.tar.gz

 $ tar zxvf otp_src_R14B03.tar.gz

 $ cd otp_src_R14B03

 $ ./configure && make && sudo make install

 $ cd ..

 $ git clone git://github.com/jkirkell/riak.git

 $ cd riak

 $ make all

 $ make devrel
   * the only difference between Bashoʼs repository and mine is that I added an additional dev host.

Follow the steps under Virtual Machine Adjustments to configure your Riak cluster to be
accessible from your host computer.
Consistency or Bust: Breaking a Riak Cluster


OS X
General Notes
XCode must be installed prior to performing the install steps below.

Software Install
 $ curl -O http://erlang.org/download/otp_src_R14B03.tar.gz

 $ tar -zxvf otp_src_R14B03.tar.gz

 $ cd otp_src_R14B03

 $ ./configure --enable-hipe --enable-smp-support --enable-threads 
 --enable-kernel-poll --enable-darwin-64bit

 $ make && sudo make install

 $ git clone git://github.com/jkirkell/riak.git

 $ cd riak

 $ make all

 $ make devrel
    * the only difference between Bashoʼs repository and mine is that I added an additional dev host.

Make sure to set the ulimit so you do not run into an file limites
 $ launchctl limit maxfiles 2048 8192



Windows
General Notes
If you are running Windows, you will have to install VirtualBox or some other
virtualization software and follow the same steps under Linux.

Settings
A safe configuration will be 6-8GB of disk space, 1GB RAM, and 1-2 virtual processors.
Take a snapshot also, it will allow you to start off at a good spot without having to redo
everything if you want to clean things up.
Consistency or Bust: Breaking a Riak Cluster

Virtual Machine Adjustments
If you plan to access your Riak cluster from the host, change your network settings to
be “Host Only” and run the following within the VM.

 $ sudo dhclient -r

 $ sudo dhclient

 $ sed -i ‘s/127.0.0.1/10.37.129.4/g’ ~/riak/dev/dev1/etc/vm.args

 $ sed -i ‘s/127.0.0.1/10.37.129.4/g’ ~/riak/dev/dev1/etc/app.config

 #repeat prior 2 steps replacing dev1 with dev2 - dev5

 $ sed -i ‘s/127.0.0.1/10.37.129.4/g’ ~/riak/start.sh

 $ sed -i ‘s/127.0.0.1/10.37.129.4/g’ ~/riak/join.sh

 $ sed -i ‘s/127.0.0.1/10.37.129.4/g’ ~/riak/stop.sh




Final Steps
When everything is ready, we will start up the nodes and create the cluster.

 $ ~/riak/start.sh

 $ ~/riak/join.sh

Más contenido relacionado

La actualidad más candente

Providence a kfiler12 and 13 upgrade
Providence a kfiler12 and 13 upgradeProvidence a kfiler12 and 13 upgrade
Providence a kfiler12 and 13 upgradeAccenture
 
An Easy way to build a server cluster without top of rack switches (MEMO)
An Easy way to build a server cluster without top of rack switches (MEMO)An Easy way to build a server cluster without top of rack switches (MEMO)
An Easy way to build a server cluster without top of rack switches (MEMO)Naoto MATSUMOTO
 
High Availability Server Clustering without ILB(Internal Load Balancer) (MEMO)
High Availability Server Clustering without ILB(Internal Load Balancer) (MEMO)High Availability Server Clustering without ILB(Internal Load Balancer) (MEMO)
High Availability Server Clustering without ILB(Internal Load Balancer) (MEMO)Naoto MATSUMOTO
 
x86_64 Hardware Deep dive
x86_64 Hardware Deep divex86_64 Hardware Deep dive
x86_64 Hardware Deep diveNaoto MATSUMOTO
 
Virtual box installation
Virtual box installationVirtual box installation
Virtual box installationNiranjan Pandey
 
Install Quagga - CheatSheet -
Install Quagga - CheatSheet -Install Quagga - CheatSheet -
Install Quagga - CheatSheet -Naoto MATSUMOTO
 
Unbreakable VPN using Vyatta/VyOS - HOW TO -
Unbreakable VPN using Vyatta/VyOS - HOW TO -Unbreakable VPN using Vyatta/VyOS - HOW TO -
Unbreakable VPN using Vyatta/VyOS - HOW TO -Naoto MATSUMOTO
 
Cacti安装手册
Cacti安装手册Cacti安装手册
Cacti安装手册Yiwei Ma
 
Swift on raspberry pi
Swift on raspberry piSwift on raspberry pi
Swift on raspberry piiCHEF
 
UNDOCUMENTED Vyatta vRouter: Unbreakable VPN Tunneling (MEMO)
UNDOCUMENTED Vyatta vRouter: Unbreakable VPN Tunneling (MEMO) UNDOCUMENTED Vyatta vRouter: Unbreakable VPN Tunneling (MEMO)
UNDOCUMENTED Vyatta vRouter: Unbreakable VPN Tunneling (MEMO) Naoto MATSUMOTO
 
Securing the network for VMs or Containers
Securing the network for VMs or ContainersSecuring the network for VMs or Containers
Securing the network for VMs or ContainersMarian Marinov
 
Managing cisco internetwork
Managing cisco internetworkManaging cisco internetwork
Managing cisco internetworkNOWAY
 
Snort Home Lab - Workshop
Snort Home Lab - Workshop Snort Home Lab - Workshop
Snort Home Lab - Workshop Hishan Shouketh
 
NexusでAnsibleやってみた
NexusでAnsibleやってみたNexusでAnsibleやってみた
NexusでAnsibleやってみたTakehiro Yokoishi
 
Catalystの設定シナリオ(メモ段階)
Catalystの設定シナリオ(メモ段階)Catalystの設定シナリオ(メモ段階)
Catalystの設定シナリオ(メモ段階)78tch
 
Installing OpenStack Juno using RDO on RHEL
Installing OpenStack Juno using RDO on RHELInstalling OpenStack Juno using RDO on RHEL
Installing OpenStack Juno using RDO on RHELopenstackstl
 
naoqiOS搭載ロボットへのROS移植
naoqiOS搭載ロボットへのROS移植naoqiOS搭載ロボットへのROS移植
naoqiOS搭載ロボットへのROS移植masaya kataoka
 

La actualidad más candente (20)

Providence a kfiler12 and 13 upgrade
Providence a kfiler12 and 13 upgradeProvidence a kfiler12 and 13 upgrade
Providence a kfiler12 and 13 upgrade
 
An Easy way to build a server cluster without top of rack switches (MEMO)
An Easy way to build a server cluster without top of rack switches (MEMO)An Easy way to build a server cluster without top of rack switches (MEMO)
An Easy way to build a server cluster without top of rack switches (MEMO)
 
High Availability Server Clustering without ILB(Internal Load Balancer) (MEMO)
High Availability Server Clustering without ILB(Internal Load Balancer) (MEMO)High Availability Server Clustering without ILB(Internal Load Balancer) (MEMO)
High Availability Server Clustering without ILB(Internal Load Balancer) (MEMO)
 
Vt6655 linux user_guide
Vt6655 linux user_guideVt6655 linux user_guide
Vt6655 linux user_guide
 
x86_64 Hardware Deep dive
x86_64 Hardware Deep divex86_64 Hardware Deep dive
x86_64 Hardware Deep dive
 
Virtual box installation
Virtual box installationVirtual box installation
Virtual box installation
 
Install Quagga - CheatSheet -
Install Quagga - CheatSheet -Install Quagga - CheatSheet -
Install Quagga - CheatSheet -
 
Basic onos-tutorial
Basic onos-tutorialBasic onos-tutorial
Basic onos-tutorial
 
Unbreakable VPN using Vyatta/VyOS - HOW TO -
Unbreakable VPN using Vyatta/VyOS - HOW TO -Unbreakable VPN using Vyatta/VyOS - HOW TO -
Unbreakable VPN using Vyatta/VyOS - HOW TO -
 
Cacti安装手册
Cacti安装手册Cacti安装手册
Cacti安装手册
 
Swift on raspberry pi
Swift on raspberry piSwift on raspberry pi
Swift on raspberry pi
 
UNDOCUMENTED Vyatta vRouter: Unbreakable VPN Tunneling (MEMO)
UNDOCUMENTED Vyatta vRouter: Unbreakable VPN Tunneling (MEMO) UNDOCUMENTED Vyatta vRouter: Unbreakable VPN Tunneling (MEMO)
UNDOCUMENTED Vyatta vRouter: Unbreakable VPN Tunneling (MEMO)
 
Securing the network for VMs or Containers
Securing the network for VMs or ContainersSecuring the network for VMs or Containers
Securing the network for VMs or Containers
 
Managing cisco internetwork
Managing cisco internetworkManaging cisco internetwork
Managing cisco internetwork
 
Snort Home Lab - Workshop
Snort Home Lab - Workshop Snort Home Lab - Workshop
Snort Home Lab - Workshop
 
NexusでAnsibleやってみた
NexusでAnsibleやってみたNexusでAnsibleやってみた
NexusでAnsibleやってみた
 
Catalystの設定シナリオ(メモ段階)
Catalystの設定シナリオ(メモ段階)Catalystの設定シナリオ(メモ段階)
Catalystの設定シナリオ(メモ段階)
 
Installing OpenStack Juno using RDO on RHEL
Installing OpenStack Juno using RDO on RHELInstalling OpenStack Juno using RDO on RHEL
Installing OpenStack Juno using RDO on RHEL
 
Vyos clustering ipsec
Vyos clustering ipsecVyos clustering ipsec
Vyos clustering ipsec
 
naoqiOS搭載ロボットへのROS移植
naoqiOS搭載ロボットへのROS移植naoqiOS搭載ロボットへのROS移植
naoqiOS搭載ロボットへのROS移植
 

Destacado

La intercomunicació asl jocs online
La intercomunicació asl jocs onlineLa intercomunicació asl jocs online
La intercomunicació asl jocs onlinegueste6b9d7d
 
Scientific social tagging - background knowledge come to surface (AquaRing Pr...
Scientific social tagging - background knowledge come to surface (AquaRing Pr...Scientific social tagging - background knowledge come to surface (AquaRing Pr...
Scientific social tagging - background knowledge come to surface (AquaRing Pr...Stefano Bianchi
 
Quality Program Indicators Academic Interventions
Quality  Program  Indicators  Academic  InterventionsQuality  Program  Indicators  Academic  Interventions
Quality Program Indicators Academic Interventionsshannonkludt
 
My Life And Lesson
My Life And LessonMy Life And Lesson
My Life And Lessonguestd2c3f1
 
How to establish a remote connection using Techinline Remote Desktop
How to establish a remote connection using Techinline Remote DesktopHow to establish a remote connection using Techinline Remote Desktop
How to establish a remote connection using Techinline Remote DesktopAndrey Dankevich
 
Presentac.Romi 15
Presentac.Romi 15Presentac.Romi 15
Presentac.Romi 15puntili
 
Práca s knihami
Práca s knihamiPráca s knihami
Práca s knihamiguest384f2a
 

Destacado (8)

La intercomunicació asl jocs online
La intercomunicació asl jocs onlineLa intercomunicació asl jocs online
La intercomunicació asl jocs online
 
Scientific social tagging - background knowledge come to surface (AquaRing Pr...
Scientific social tagging - background knowledge come to surface (AquaRing Pr...Scientific social tagging - background knowledge come to surface (AquaRing Pr...
Scientific social tagging - background knowledge come to surface (AquaRing Pr...
 
Quality Program Indicators Academic Interventions
Quality  Program  Indicators  Academic  InterventionsQuality  Program  Indicators  Academic  Interventions
Quality Program Indicators Academic Interventions
 
My Life And Lesson
My Life And LessonMy Life And Lesson
My Life And Lesson
 
How to establish a remote connection using Techinline Remote Desktop
How to establish a remote connection using Techinline Remote DesktopHow to establish a remote connection using Techinline Remote Desktop
How to establish a remote connection using Techinline Remote Desktop
 
Presentac.Romi 15
Presentac.Romi 15Presentac.Romi 15
Presentac.Romi 15
 
Práca s knihami
Práca s knihamiPráca s knihami
Práca s knihami
 
Breaking a riak cluster
Breaking a riak clusterBreaking a riak cluster
Breaking a riak cluster
 

Similar a Configure a Riak Cluster

Lotus Foundations Start 1 0 English Version
Lotus Foundations Start 1 0 English VersionLotus Foundations Start 1 0 English Version
Lotus Foundations Start 1 0 English VersionEnzo Stanzione
 
Instalando Cacti no CentOS 5
Instalando Cacti no CentOS 5Instalando Cacti no CentOS 5
Instalando Cacti no CentOS 5Carlos Eduardo
 
Intro to Kernel Debugging - Just make the crashing stop!
Intro to Kernel Debugging - Just make the crashing stop!Intro to Kernel Debugging - Just make the crashing stop!
Intro to Kernel Debugging - Just make the crashing stop!All Things Open
 
Nevmug Lighthouse Automation7.1
Nevmug   Lighthouse   Automation7.1Nevmug   Lighthouse   Automation7.1
Nevmug Lighthouse Automation7.1csharney
 
Installation of oracle 12c RAC on linux vm
Installation of oracle 12c RAC  on linux vmInstallation of oracle 12c RAC  on linux vm
Installation of oracle 12c RAC on linux vmRon Morgan
 
How tos nagios - centos wiki
How tos nagios - centos wikiHow tos nagios - centos wiki
How tos nagios - centos wikishahab071
 
Deployment with Ruby on Rails
Deployment with Ruby on RailsDeployment with Ruby on Rails
Deployment with Ruby on RailsJonathan Weiss
 
Vagrant are you still develop in a non-virtual environment-
Vagrant  are you still develop in a non-virtual environment-Vagrant  are you still develop in a non-virtual environment-
Vagrant are you still develop in a non-virtual environment-Anatoly Bubenkov
 
Packaging in Python? Don't Roll the Dice.
Packaging in Python? Don't Roll the Dice.Packaging in Python? Don't Roll the Dice.
Packaging in Python? Don't Roll the Dice.ldaws
 
Ubuntu初體驗:脫離邪惡微軟帝國吧!_150606
Ubuntu初體驗:脫離邪惡微軟帝國吧!_150606Ubuntu初體驗:脫離邪惡微軟帝國吧!_150606
Ubuntu初體驗:脫離邪惡微軟帝國吧!_150606Eunice Lin
 
14038356 installation-guide-of-centos-5
14038356 installation-guide-of-centos-514038356 installation-guide-of-centos-5
14038356 installation-guide-of-centos-5Hind Sahel
 
01 - Introduction to Version Control
01 - Introduction to Version Control01 - Introduction to Version Control
01 - Introduction to Version ControlSergii Shmarkatiuk
 
Docker Introduction, and what's new in 0.9 — Docker Palo Alto at RelateIQ
Docker Introduction, and what's new in 0.9 — Docker Palo Alto at RelateIQDocker Introduction, and what's new in 0.9 — Docker Palo Alto at RelateIQ
Docker Introduction, and what's new in 0.9 — Docker Palo Alto at RelateIQJérôme Petazzoni
 
Docker Introduction + what is new in 0.9
Docker Introduction + what is new in 0.9 Docker Introduction + what is new in 0.9
Docker Introduction + what is new in 0.9 Jérôme Petazzoni
 
Os dev tool box
Os dev tool boxOs dev tool box
Os dev tool boxbpowell29a
 

Similar a Configure a Riak Cluster (20)

Dev stacklabguide
Dev stacklabguideDev stacklabguide
Dev stacklabguide
 
Devstack lab guide
Devstack lab guideDevstack lab guide
Devstack lab guide
 
Lotus Foundations Start 1 0 English Version
Lotus Foundations Start 1 0 English VersionLotus Foundations Start 1 0 English Version
Lotus Foundations Start 1 0 English Version
 
Instalando Cacti no CentOS 5
Instalando Cacti no CentOS 5Instalando Cacti no CentOS 5
Instalando Cacti no CentOS 5
 
Intro to Kernel Debugging - Just make the crashing stop!
Intro to Kernel Debugging - Just make the crashing stop!Intro to Kernel Debugging - Just make the crashing stop!
Intro to Kernel Debugging - Just make the crashing stop!
 
Nevmug Lighthouse Automation7.1
Nevmug   Lighthouse   Automation7.1Nevmug   Lighthouse   Automation7.1
Nevmug Lighthouse Automation7.1
 
Installation of oracle 12c RAC on linux vm
Installation of oracle 12c RAC  on linux vmInstallation of oracle 12c RAC  on linux vm
Installation of oracle 12c RAC on linux vm
 
How tos nagios - centos wiki
How tos nagios - centos wikiHow tos nagios - centos wiki
How tos nagios - centos wiki
 
Deployment with Ruby on Rails
Deployment with Ruby on RailsDeployment with Ruby on Rails
Deployment with Ruby on Rails
 
Vagrant are you still develop in a non-virtual environment-
Vagrant  are you still develop in a non-virtual environment-Vagrant  are you still develop in a non-virtual environment-
Vagrant are you still develop in a non-virtual environment-
 
Packaging in Python? Don't Roll the Dice.
Packaging in Python? Don't Roll the Dice.Packaging in Python? Don't Roll the Dice.
Packaging in Python? Don't Roll the Dice.
 
Ubuntu初體驗:脫離邪惡微軟帝國吧!_150606
Ubuntu初體驗:脫離邪惡微軟帝國吧!_150606Ubuntu初體驗:脫離邪惡微軟帝國吧!_150606
Ubuntu初體驗:脫離邪惡微軟帝國吧!_150606
 
Foss Gadgematics
Foss GadgematicsFoss Gadgematics
Foss Gadgematics
 
14038356 installation-guide-of-centos-5
14038356 installation-guide-of-centos-514038356 installation-guide-of-centos-5
14038356 installation-guide-of-centos-5
 
01 - Introduction to Version Control
01 - Introduction to Version Control01 - Introduction to Version Control
01 - Introduction to Version Control
 
Docker Introduction, and what's new in 0.9 — Docker Palo Alto at RelateIQ
Docker Introduction, and what's new in 0.9 — Docker Palo Alto at RelateIQDocker Introduction, and what's new in 0.9 — Docker Palo Alto at RelateIQ
Docker Introduction, and what's new in 0.9 — Docker Palo Alto at RelateIQ
 
Docker Introduction + what is new in 0.9
Docker Introduction + what is new in 0.9 Docker Introduction + what is new in 0.9
Docker Introduction + what is new in 0.9
 
Os dev tool box
Os dev tool boxOs dev tool box
Os dev tool box
 
A N T I A V
A N T I  A VA N T I  A V
A N T I A V
 
1.2 boot the system v2
1.2 boot the system v21.2 boot the system v2
1.2 boot the system v2
 

Último

Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 

Último (20)

Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 

Configure a Riak Cluster

  • 1. Consistency or Bust: Breaking a Riak Cluster Workstation Setup Introduction! 1 Helper Commands! 1 Linux! 2 General Notes! 2 Software Installation! 2 OS X! 3 General Notes! 3 Software Install! 3 Windows ! 3 General Notes! 3 Settings! 3 Virtual Machine Adjustments ! 4 Final Steps! 4 Introduction These instructions will give quick steps into getting ready to run a Riak. The Linux steps were tested with a clean Ubuntu Server 64bit 10.04 LTS and the OS X steps were done on a fairly clean MacBook Pro running 10.6.8. There are helper scripts in the root of the Riak folder for starting, stopping, and joining the Riak nodes. Helper Commands $ bash start.sh $ bash join.sh $ bash stop.sh
  • 2. Consistency or Bust: Breaking a Riak Cluster Linux General Notes Any version of Linux will be acceptable. If this is a clean virtual machine install, use Ubuntu 10.04 Server LTS. It is command-line only, but has a pretty small footprint. The instructions for setting up a Linux machine will be based on the Debian Linux family but any any should work using the appropriate controls. The assumption is that this is installed already with a base configuration. Nothing special is required from the OS perspective. Software Installation $ sudo apt-get install build-essential libncurses5-dev openssl $ sudo apt-get install libssl-dev git-core curl $ wget http://erlang.org/download/otp_src_R14B03.tar.gz $ tar zxvf otp_src_R14B03.tar.gz $ cd otp_src_R14B03 $ ./configure && make && sudo make install $ cd .. $ git clone git://github.com/jkirkell/riak.git $ cd riak $ make all $ make devrel * the only difference between Bashoʼs repository and mine is that I added an additional dev host. Follow the steps under Virtual Machine Adjustments to configure your Riak cluster to be accessible from your host computer.
  • 3. Consistency or Bust: Breaking a Riak Cluster OS X General Notes XCode must be installed prior to performing the install steps below. Software Install $ curl -O http://erlang.org/download/otp_src_R14B03.tar.gz $ tar -zxvf otp_src_R14B03.tar.gz $ cd otp_src_R14B03 $ ./configure --enable-hipe --enable-smp-support --enable-threads --enable-kernel-poll --enable-darwin-64bit $ make && sudo make install $ git clone git://github.com/jkirkell/riak.git $ cd riak $ make all $ make devrel * the only difference between Bashoʼs repository and mine is that I added an additional dev host. Make sure to set the ulimit so you do not run into an file limites $ launchctl limit maxfiles 2048 8192 Windows General Notes If you are running Windows, you will have to install VirtualBox or some other virtualization software and follow the same steps under Linux. Settings A safe configuration will be 6-8GB of disk space, 1GB RAM, and 1-2 virtual processors. Take a snapshot also, it will allow you to start off at a good spot without having to redo everything if you want to clean things up.
  • 4. Consistency or Bust: Breaking a Riak Cluster Virtual Machine Adjustments If you plan to access your Riak cluster from the host, change your network settings to be “Host Only” and run the following within the VM. $ sudo dhclient -r $ sudo dhclient $ sed -i ‘s/127.0.0.1/10.37.129.4/g’ ~/riak/dev/dev1/etc/vm.args $ sed -i ‘s/127.0.0.1/10.37.129.4/g’ ~/riak/dev/dev1/etc/app.config #repeat prior 2 steps replacing dev1 with dev2 - dev5 $ sed -i ‘s/127.0.0.1/10.37.129.4/g’ ~/riak/start.sh $ sed -i ‘s/127.0.0.1/10.37.129.4/g’ ~/riak/join.sh $ sed -i ‘s/127.0.0.1/10.37.129.4/g’ ~/riak/stop.sh Final Steps When everything is ready, we will start up the nodes and create the cluster. $ ~/riak/start.sh $ ~/riak/join.sh