Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update running-a-cluster.md #228

Merged
merged 2 commits into from
Nov 10, 2023
Merged

Update running-a-cluster.md #228

merged 2 commits into from
Nov 10, 2023

Conversation

pjaclark
Copy link

Issue #227

@Bob-The-Marauder Something like this?

@pjaclark pjaclark added the enhancement New feature or request label Sep 14, 2023
@pjaclark pjaclark self-assigned this Sep 14, 2023
@pjaclark
Copy link
Author

pjaclark commented Sep 15, 2023

@Bob-The-Marauder Can you check the port numbers?

listener.protobuf.internal = 127.0.0.1:10007
listener.http.internal = 127.0.0.1:10008
handoff.port = 10009

@Bob-The-Marauder
Copy link

This is an old script I used to use to configure $i nodes for usage in a cluster

#!/bin/bash
for i in $(jot $1); do mkdir dev$i;
cp -r $(ls | grep -v dev) dev$i;
sed -i "" "s/listener.protobuf.internal = 127.0.0.1:8087/listener.protobuf.internal = 127.0.0.1:100${i}7/g" dev$i/etc/r>sed -i "" "s/listener.http.internal = 127.0.0.1:8098/listener.http.internal = 127.0.0.1:100${i}8/g" dev$i/etc/riak.conf;sed -i "" "s/nodename = riak@127.0.0.1/nodename = dev${i}@127.0.0.1/g" dev$i/etc/riak.conf;
sed -i "" "s/search.solr.port = 8093/search.solr.port = 100${i}4/g" dev$i/etc/riak.conf;
sed -i "" "s/search.solr.jmx_port = 8985/search.solr.jmx_port = 100${i}3/g" dev$i/etc/riak.conf;
echo "handoff.port = 80${i}8" >> dev$i/etc/riak.conf;
sed -i "" "s/intAgentUDPPort, 4000/intAgentUDPPort, 400${i}/g" dev$i/etc/snmp/agent/conf/agent.conf;
sed -i "" "s/{cluster_mgr, {\"127.0.0.1\", 9080 } }/{cluster_mgr, {\"127.0.0.1\", 100${i}0 } }/g" dev$i/etc/advanced.co>done;

@Bob-The-Marauder
Copy link

Sorry, it seems like I got a bit ahead of myself there.

Changes to be made:

  1. Make it clear that different ports need to be set for each node e.g. node 1 is 8197 whereas node 2 should be 8297 etc.
  2. Add a line saying that if the handoff manager port isn't in riak.conf, manually add it and set with a unique port.
  3. Add in that cluster manager in advanced.config needs to have its port changed to a unique port.
  4. In the "Running multiple clusters on the same machine" section right at the bottom, it needs to mention that each cluster should have a different riak cookie set otherwise some node interactions can occur with the wrong cluster.

@Bob-The-Marauder
Copy link

Advanced.config
{cluster_mgr, {"127.0.0.1", 9080 } },
To be changed to a unique port e.g.
{cluster_mgr, {"127.0.0.1",10016 } },

@JMercerGit JMercerGit merged commit 27b059f into dev Nov 10, 2023
pjaclark added a commit that referenced this pull request Nov 24, 2023
* Add CS 3.0.1 docs (#221)

* Remove latest aliases from 3.0.0

* Remove latest aliases from 2.1.2

* Update download metadata 2023-08-16

* Add 3.0.1

* Update project descriptions

* Make nav menu image link to version homepage

* Added OTP version to CS 3.0.1 homepage

* Added OTP version to CS 3.0.0. homepage

* Hide titles for plaintext, text and log codeblocks

* Fix headings

* Hide codeblock title if blank

* Fixed headings and tables

* Formatting fixes

* Moved Release notes and changes Downloads icon

* Added the TOC back

* Added LUNR-based search (#226)

* Add CS 3.0.1 docs (#221) (#223)

* Remove latest aliases from 3.0.0

* Remove latest aliases from 2.1.2

* Update download metadata 2023-08-16

* Add 3.0.1

* Update project descriptions

* Make nav menu image link to version homepage

* Added OTP version to CS 3.0.1 homepage

* Added OTP version to CS 3.0.0. homepage

* Hide titles for plaintext, text and log codeblocks

* Fix headings

* Hide codeblock title if blank

* Fixed headings and tables

* Formatting fixes

* Moved Release notes and changes Downloads icon

* Added the TOC back

* Add "project" to community files

* Add search index and test cases

* Added search indexes to all projects and versions

* Remove dead 3rd party tracking code

* Replace search results screen

* Replace search box

* Add project_name_html to JSON

* Added basic lunr search

* Fix frontmatter issue

* Fix quote issue

* Removed Google Tag Manager stubs

* Search improvements

* Fix link

* Fix link

* Fix link and add search_boost

* Add sample keywords and search boosts

* Add example deprecated content.

* Add keywords and boosts to search indexes

* Add header meta value

* Better layout and boost support

* Auto-hide menu and move CSS

* Added keywords

* Added score

* Updated CSS/JS

* Add LUNR 2.3.9 JS file

This was missed in the PR from pjac-search on 2023-09-01 as the `dynamic/js/vendor` folder is in the git.ignore file.

* Update running-a-cluster.md (#228)

* Update running-a-cluster.md

* Update running-a-cluster.md

* Updated Alpine Linux instuctions (#237)

Added missing pages for 3.0.12+
Updated all to have correct URLs
Updated 3.0.09-32.0.11 to have -r1 instead of -r0
Updated downloads template to show x86_64 and aarch64 available
Updated 3.0.9+ to show Alpine Linux version and architecture

* Various issues with riak-admin changes and search files fixed (#235) (#236)

* Fixes broken links as a result of riak-admin/riak admin changes

Fixes broken links as a result of riak-admin/riak admin changes

* leveled_ko/so context

leveled_ko/so context, closes #234

* Removes errant search files

Pesky search references that got missed previously have been eliminated. This fixes  #225

Co-authored-by: James M <35449344+JMercerGit@users.noreply.github.com>

* Command Examples update (#230) (#239)

Authored-by: James M <35449344+JMercerGit@users.noreply.github.com>
Command output examples.

* Fix for outdated references and changes to the upgrading checklist to remove basho support references (#240) (#241)

* Resolves a broken link in a few pages after riak admin changes

Resolves a broken link in a few pages after riak admin changes

Also closes issue #220

* Changes to the upgrading checklist to remove references to basho support

Changes to the upgrading checklist to remove references to Basho support and adds both community and TI Tokyo options.
Also updates example emails in SI files from basho.com to dev.com
 Fixes issue #219

* Adds correct exampledomain usage

Adds correct exampledomain usage

Co-authored-by: James M <35449344+JMercerGit@users.noreply.github.com>

* Version History updates for V2.0.0 - V2.9.10 (#242)

* Version History updates for V2.0.0 - V2.9.10

Version History updates for V2.0.0 - V2.9.10

* Removed some remnant search files

Removed some remnant search files

* Fixes missing curl examples (#243) (#245)

* Fixes missing curl examples (#243)

Fixes missing curl examples

* missing curl example (#246)

* Fixes missing curl examples

Fixes missing curl examples

* 2.9.0p5 curl examples

2.9.0p5 curl examples that vanished into space

* 3.0.8 curl fix (#247)

* Fixes missing curl examples

Fixes missing curl examples

* 2.9.0p5 curl examples

2.9.0p5 curl examples that vanished into space

* 3.0.8 curl example

3.0.8 curl example

---------

Co-authored-by: James M <35449344+JMercerGit@users.noreply.github.com>

---------

Co-authored-by: James M <35449344+JMercerGit@users.noreply.github.com>
@pjaclark pjaclark deleted the pjac-kv-3.2.0-patch-1 branch November 29, 2023 08:00
pjaclark added a commit that referenced this pull request Dec 22, 2023
* Merge dev into master (#238)

* Add CS 3.0.1 docs (#221)

* Remove latest aliases from 3.0.0

* Remove latest aliases from 2.1.2

* Update download metadata 2023-08-16

* Add 3.0.1

* Update project descriptions

* Make nav menu image link to version homepage

* Added OTP version to CS 3.0.1 homepage

* Added OTP version to CS 3.0.0. homepage

* Hide titles for plaintext, text and log codeblocks

* Fix headings

* Hide codeblock title if blank

* Fixed headings and tables

* Formatting fixes

* Moved Release notes and changes Downloads icon

* Added the TOC back

* Added LUNR-based search (#226)

* Add CS 3.0.1 docs (#221) (#223)

* Remove latest aliases from 3.0.0

* Remove latest aliases from 2.1.2

* Update download metadata 2023-08-16

* Add 3.0.1

* Update project descriptions

* Make nav menu image link to version homepage

* Added OTP version to CS 3.0.1 homepage

* Added OTP version to CS 3.0.0. homepage

* Hide titles for plaintext, text and log codeblocks

* Fix headings

* Hide codeblock title if blank

* Fixed headings and tables

* Formatting fixes

* Moved Release notes and changes Downloads icon

* Added the TOC back

* Add "project" to community files

* Add search index and test cases

* Added search indexes to all projects and versions

* Remove dead 3rd party tracking code

* Replace search results screen

* Replace search box

* Add project_name_html to JSON

* Added basic lunr search

* Fix frontmatter issue

* Fix quote issue

* Removed Google Tag Manager stubs

* Search improvements

* Fix link

* Fix link

* Fix link and add search_boost

* Add sample keywords and search boosts

* Add example deprecated content.

* Add keywords and boosts to search indexes

* Add header meta value

* Better layout and boost support

* Auto-hide menu and move CSS

* Added keywords

* Added score

* Updated CSS/JS

* Add LUNR 2.3.9 JS file

This was missed in the PR from pjac-search on 2023-09-01 as the `dynamic/js/vendor` folder is in the git.ignore file.

* Update running-a-cluster.md (#228)

* Update running-a-cluster.md

* Update running-a-cluster.md

* Updated Alpine Linux instuctions (#237)

Added missing pages for 3.0.12+
Updated all to have correct URLs
Updated 3.0.09-32.0.11 to have -r1 instead of -r0
Updated downloads template to show x86_64 and aarch64 available
Updated 3.0.9+ to show Alpine Linux version and architecture

* Various issues with riak-admin changes and search files fixed (#235) (#236)

* Fixes broken links as a result of riak-admin/riak admin changes

Fixes broken links as a result of riak-admin/riak admin changes

* leveled_ko/so context

leveled_ko/so context, closes #234

* Removes errant search files

Pesky search references that got missed previously have been eliminated. This fixes  #225

Co-authored-by: James M <35449344+JMercerGit@users.noreply.github.com>

* Command Examples update (#230) (#239)

Authored-by: James M <35449344+JMercerGit@users.noreply.github.com>
Command output examples.

* Fix for outdated references and changes to the upgrading checklist to remove basho support references (#240) (#241)

* Resolves a broken link in a few pages after riak admin changes

Resolves a broken link in a few pages after riak admin changes

Also closes issue #220

* Changes to the upgrading checklist to remove references to basho support

Changes to the upgrading checklist to remove references to Basho support and adds both community and TI Tokyo options.
Also updates example emails in SI files from basho.com to dev.com
 Fixes issue #219

* Adds correct exampledomain usage

Adds correct exampledomain usage

Co-authored-by: James M <35449344+JMercerGit@users.noreply.github.com>

* Version History updates for V2.0.0 - V2.9.10 (#242)

* Version History updates for V2.0.0 - V2.9.10

Version History updates for V2.0.0 - V2.9.10

* Removed some remnant search files

Removed some remnant search files

* Fixes missing curl examples (#243) (#245)

* Fixes missing curl examples (#243)

Fixes missing curl examples

* missing curl example (#246)

* Fixes missing curl examples

Fixes missing curl examples

* 2.9.0p5 curl examples

2.9.0p5 curl examples that vanished into space

* 3.0.8 curl fix (#247)

* Fixes missing curl examples

Fixes missing curl examples

* 2.9.0p5 curl examples

2.9.0p5 curl examples that vanished into space

* 3.0.8 curl example

3.0.8 curl example

---------

Co-authored-by: James M <35449344+JMercerGit@users.noreply.github.com>

---------

Co-authored-by: James M <35449344+JMercerGit@users.noreply.github.com>

* Remove duplicate (#260)

* Remove duplicate (#261)

* Fix merge conflicts

---------

Co-authored-by: James M <35449344+JMercerGit@users.noreply.github.com>
pjaclark added a commit that referenced this pull request Apr 12, 2024
* Merge dev into master (#238)

* Add CS 3.0.1 docs (#221)

* Remove latest aliases from 3.0.0

* Remove latest aliases from 2.1.2

* Update download metadata 2023-08-16

* Add 3.0.1

* Update project descriptions

* Make nav menu image link to version homepage

* Added OTP version to CS 3.0.1 homepage

* Added OTP version to CS 3.0.0. homepage

* Hide titles for plaintext, text and log codeblocks

* Fix headings

* Hide codeblock title if blank

* Fixed headings and tables

* Formatting fixes

* Moved Release notes and changes Downloads icon

* Added the TOC back

* Added LUNR-based search (#226)

* Add CS 3.0.1 docs (#221) (#223)

* Remove latest aliases from 3.0.0

* Remove latest aliases from 2.1.2

* Update download metadata 2023-08-16

* Add 3.0.1

* Update project descriptions

* Make nav menu image link to version homepage

* Added OTP version to CS 3.0.1 homepage

* Added OTP version to CS 3.0.0. homepage

* Hide titles for plaintext, text and log codeblocks

* Fix headings

* Hide codeblock title if blank

* Fixed headings and tables

* Formatting fixes

* Moved Release notes and changes Downloads icon

* Added the TOC back

* Add "project" to community files

* Add search index and test cases

* Added search indexes to all projects and versions

* Remove dead 3rd party tracking code

* Replace search results screen

* Replace search box

* Add project_name_html to JSON

* Added basic lunr search

* Fix frontmatter issue

* Fix quote issue

* Removed Google Tag Manager stubs

* Search improvements

* Fix link

* Fix link

* Fix link and add search_boost

* Add sample keywords and search boosts

* Add example deprecated content.

* Add keywords and boosts to search indexes

* Add header meta value

* Better layout and boost support

* Auto-hide menu and move CSS

* Added keywords

* Added score

* Updated CSS/JS

* Add LUNR 2.3.9 JS file

This was missed in the PR from pjac-search on 2023-09-01 as the `dynamic/js/vendor` folder is in the git.ignore file.

* Update running-a-cluster.md (#228)

* Update running-a-cluster.md

* Update running-a-cluster.md

* Updated Alpine Linux instuctions (#237)

Added missing pages for 3.0.12+
Updated all to have correct URLs
Updated 3.0.09-32.0.11 to have -r1 instead of -r0
Updated downloads template to show x86_64 and aarch64 available
Updated 3.0.9+ to show Alpine Linux version and architecture

* Various issues with riak-admin changes and search files fixed (#235) (#236)

* Fixes broken links as a result of riak-admin/riak admin changes

Fixes broken links as a result of riak-admin/riak admin changes

* leveled_ko/so context

leveled_ko/so context, closes #234

* Removes errant search files

Pesky search references that got missed previously have been eliminated. This fixes  #225

Co-authored-by: James M <35449344+JMercerGit@users.noreply.github.com>

* Command Examples update (#230) (#239)

Authored-by: James M <35449344+JMercerGit@users.noreply.github.com>
Command output examples.

* Fix for outdated references and changes to the upgrading checklist to remove basho support references (#240) (#241)

* Resolves a broken link in a few pages after riak admin changes

Resolves a broken link in a few pages after riak admin changes

Also closes issue #220

* Changes to the upgrading checklist to remove references to basho support

Changes to the upgrading checklist to remove references to Basho support and adds both community and TI Tokyo options.
Also updates example emails in SI files from basho.com to dev.com
 Fixes issue #219

* Adds correct exampledomain usage

Adds correct exampledomain usage

Co-authored-by: James M <35449344+JMercerGit@users.noreply.github.com>

* Version History updates for V2.0.0 - V2.9.10 (#242)

* Version History updates for V2.0.0 - V2.9.10

Version History updates for V2.0.0 - V2.9.10

* Removed some remnant search files

Removed some remnant search files

* Fixes missing curl examples (#243) (#245)

* Fixes missing curl examples (#243)

Fixes missing curl examples

* missing curl example (#246)

* Fixes missing curl examples

Fixes missing curl examples

* 2.9.0p5 curl examples

2.9.0p5 curl examples that vanished into space

* 3.0.8 curl fix (#247)

* Fixes missing curl examples

Fixes missing curl examples

* 2.9.0p5 curl examples

2.9.0p5 curl examples that vanished into space

* 3.0.8 curl example

3.0.8 curl example

---------

Co-authored-by: James M <35449344+JMercerGit@users.noreply.github.com>

---------

Co-authored-by: James M <35449344+JMercerGit@users.noreply.github.com>

* Remove duplicate (#260)

* Remove duplicate (#261)

* Fix merge conflicts

* riak-admin clarification

`riak admin` clarification - Clarifying the format of `riak admin`, as  modern versions should accept `riak admin`, but incorrect list `riak-admin`

* Adjust riak-repl command to reflect updated format

Adjust riak-repl command to reflect updated `riak repl` format

---------

Co-authored-by: Peter Clark <peter.clark@tiot.jp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants