{"action":"created","comment":{"url":"https://api.github.com/repos/intel-hpdd/Support/pulls/comments/176792893","pull_request_review_id":106564477,"id":176792893,"diff_hunk":"@@ -0,0 +1,161 @@\n+<a name=\"top\"></a>\n+[Support Table of Contents](TOC.md)\n+# Migrating an IML node to and existing ZFS Monitored Filesystem\n+\n+It may be necessary to migrate an IML manager node to a new server while still using an existing ZFS Monitored filesystem with the existing MDS and OSS servers. In this case, the IML manager node will be re-installed on a new server and will be setup to communicate with the existing MDS and OSS servers.\n+\n+## Performing The Migration\n+\n+### Backup the database on the existing server\n+\n+There are two backup methods:\n+* Backup the entire database:\n+```\n+1. ssh into the manager node as root\n+2. su -l postgres\n+3. pg_dump -U chroma chroma > /tmp/db_backup_xxx.sql\n+4. exit\n+```\n+* Backup the database without metric data (Useful if backing up the entire database is too large):\n+```\n+1. ssh into the manager node as root\n+2. su -l postgres\n+3. pg_dump -U chroma -F p -w -T 'chroma_core_series*' -T 'chroma_core_sample*' -T 'chroma_core_logmessage*' -f /tmp/db_backup_xxx.sql\n+4. exit\n+```\n+\n+[top](#top)\n+\n+### Setup server networking.\n+\n+The new server will need to communicate with the existing MDS and OSS nodes. Ensure the following:\n+  * New IML Server Node:\n+    * Verify that all MDS and OSS nodes are defined with the correct hostname and IP address in the /etc/hosts file. \n+  * Existing MDS and OSS nodes\n+    * Verify that the IP address and hostname for the new IML server are reflected in the /etc/hosts file\n+\n+[top](#top)\n+\n+\n+### Setup ssh between the new IML server and the existing MDS and OSS nodes\n+\n+It is important that the IML manager node can communicate with the existing MDS and OSS nodes without having to enter a password. SSH keys should be setup to ensure that the manager node can ssh into any of the MDS/OSS nodes without having to specify a password. Likewise, all MDS and OSS nodes should be able to ssh into the new IML manager node. \n+","path":"docs/support/migrate-iml-node-to-existing-zfs-monitored.md","position":43,"original_position":43,"commit_id":"0f2907bf0592781343b9264103f0b459ad7bac22","original_commit_id":"0f2907bf0592781343b9264103f0b459ad7bac22","user":{"login":"johnsonw","id":1100657,"avatar_url":"https://avatars0.githubusercontent.com/u/1100657?v=4","gravatar_id":"","url":"https://api.github.com/users/johnsonw","html_url":"https://github.com/johnsonw","followers_url":"https://api.github.com/users/johnsonw/followers","following_url":"https://api.github.com/users/johnsonw/following{/other_user}","gists_url":"https://api.github.com/users/johnsonw/gists{/gist_id}","starred_url":"https://api.github.com/users/johnsonw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnsonw/subscriptions","organizations_url":"https://api.github.com/users/johnsonw/orgs","repos_url":"https://api.github.com/users/johnsonw/repos","events_url":"https://api.github.com/users/johnsonw/events{/privacy}","received_events_url":"https://api.github.com/users/johnsonw/received_events","type":"User","site_admin":false},"body":"I'll reword this accordingly.","created_at":"2018-03-23T16:34:13Z","updated_at":"2018-03-23T16:34:13Z","html_url":"https://github.com/intel-hpdd/Support/pull/11#discussion_r176792893","pull_request_url":"https://api.github.com/repos/intel-hpdd/Support/pulls/11","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/intel-hpdd/Support/pulls/comments/176792893"},"html":{"href":"https://github.com/intel-hpdd/Support/pull/11#discussion_r176792893"},"pull_request":{"href":"https://api.github.com/repos/intel-hpdd/Support/pulls/11"}},"in_reply_to_id":176769248},"pull_request":{"url":"https://api.github.com/repos/intel-hpdd/Support/pulls/11","id":177001167,"html_url":"https://github.com/intel-hpdd/Support/pull/11","diff_url":"https://github.com/intel-hpdd/Support/pull/11.diff","patch_url":"https://github.com/intel-hpdd/Support/pull/11.patch","issue_url":"https://api.github.com/repos/intel-hpdd/Support/issues/11","number":11,"state":"open","locked":false,"title":"Document how to migrate an IML manager node to a different server","user":{"login":"johnsonw","id":1100657,"avatar_url":"https://avatars0.githubusercontent.com/u/1100657?v=4","gravatar_id":"","url":"https://api.github.com/users/johnsonw","html_url":"https://github.com/johnsonw","followers_url":"https://api.github.com/users/johnsonw/followers","following_url":"https://api.github.com/users/johnsonw/following{/other_user}","gists_url":"https://api.github.com/users/johnsonw/gists{/gist_id}","starred_url":"https://api.github.com/users/johnsonw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnsonw/subscriptions","organizations_url":"https://api.github.com/users/johnsonw/orgs","repos_url":"https://api.github.com/users/johnsonw/repos","events_url":"https://api.github.com/users/johnsonw/events{/privacy}","received_events_url":"https://api.github.com/users/johnsonw/received_events","type":"User","site_admin":false},"body":"Document how to migrate an IML manager node to a different server while still utilizing the existing MDS and OSS servers.\r\n\r\nSigned-off-by: Will Johnson <william.c.johnson@intel.com>","created_at":"2018-03-23T08:27:57Z","updated_at":"2018-03-23T16:34:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c41eabec23c834c2aaab7af149c5b4788226ff6d","assignee":{"login":"johnsonw","id":1100657,"avatar_url":"https://avatars0.githubusercontent.com/u/1100657?v=4","gravatar_id":"","url":"https://api.github.com/users/johnsonw","html_url":"https://github.com/johnsonw","followers_url":"https://api.github.com/users/johnsonw/followers","following_url":"https://api.github.com/users/johnsonw/following{/other_user}","gists_url":"https://api.github.com/users/johnsonw/gists{/gist_id}","starred_url":"https://api.github.com/users/johnsonw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnsonw/subscriptions","organizations_url":"https://api.github.com/users/johnsonw/orgs","repos_url":"https://api.github.com/users/johnsonw/repos","events_url":"https://api.github.com/users/johnsonw/events{/privacy}","received_events_url":"https://api.github.com/users/johnsonw/received_events","type":"User","site_admin":false},"assignees":[{"login":"johnsonw","id":1100657,"avatar_url":"https://avatars0.githubusercontent.com/u/1100657?v=4","gravatar_id":"","url":"https://api.github.com/users/johnsonw","html_url":"https://github.com/johnsonw","followers_url":"https://api.github.com/users/johnsonw/followers","following_url":"https://api.github.com/users/johnsonw/following{/other_user}","gists_url":"https://api.github.com/users/johnsonw/gists{/gist_id}","starred_url":"https://api.github.com/users/johnsonw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnsonw/subscriptions","organizations_url":"https://api.github.com/users/johnsonw/orgs","repos_url":"https://api.github.com/users/johnsonw/repos","events_url":"https://api.github.com/users/johnsonw/events{/privacy}","received_events_url":"https://api.github.com/users/johnsonw/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"jgrund","id":458717,"avatar_url":"https://avatars0.githubusercontent.com/u/458717?v=4","gravatar_id":"","url":"https://api.github.com/users/jgrund","html_url":"https://github.com/jgrund","followers_url":"https://api.github.com/users/jgrund/followers","following_url":"https://api.github.com/users/jgrund/following{/other_user}","gists_url":"https://api.github.com/users/jgrund/gists{/gist_id}","starred_url":"https://api.github.com/users/jgrund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgrund/subscriptions","organizations_url":"https://api.github.com/users/jgrund/orgs","repos_url":"https://api.github.com/users/jgrund/repos","events_url":"https://api.github.com/users/jgrund/events{/privacy}","received_events_url":"https://api.github.com/users/jgrund/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":721914392,"url":"https://api.github.com/repos/intel-hpdd/Support/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/intel-hpdd/Support/pulls/11/commits","review_comments_url":"https://api.github.com/repos/intel-hpdd/Support/pulls/11/comments","review_comment_url":"https://api.github.com/repos/intel-hpdd/Support/pulls/comments{/number}","comments_url":"https://api.github.com/repos/intel-hpdd/Support/issues/11/comments","statuses_url":"https://api.github.com/repos/intel-hpdd/Support/statuses/0f2907bf0592781343b9264103f0b459ad7bac22","head":{"label":"intel-hpdd:migrate-iml-monitored-zfs","ref":"migrate-iml-monitored-zfs","sha":"0f2907bf0592781343b9264103f0b459ad7bac22","user":{"login":"intel-hpdd","id":20727479,"avatar_url":"https://avatars3.githubusercontent.com/u/20727479?v=4","gravatar_id":"","url":"https://api.github.com/users/intel-hpdd","html_url":"https://github.com/intel-hpdd","followers_url":"https://api.github.com/users/intel-hpdd/followers","following_url":"https://api.github.com/users/intel-hpdd/following{/other_user}","gists_url":"https://api.github.com/users/intel-hpdd/gists{/gist_id}","starred_url":"https://api.github.com/users/intel-hpdd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intel-hpdd/subscriptions","organizations_url":"https://api.github.com/users/intel-hpdd/orgs","repos_url":"https://api.github.com/users/intel-hpdd/repos","events_url":"https://api.github.com/users/intel-hpdd/events{/privacy}","received_events_url":"https://api.github.com/users/intel-hpdd/received_events","type":"Organization","site_admin":false},"repo":{"id":107194965,"name":"Support","full_name":"intel-hpdd/Support","owner":{"login":"intel-hpdd","id":20727479,"avatar_url":"https://avatars3.githubusercontent.com/u/20727479?v=4","gravatar_id":"","url":"https://api.github.com/users/intel-hpdd","html_url":"https://github.com/intel-hpdd","followers_url":"https://api.github.com/users/intel-hpdd/followers","following_url":"https://api.github.com/users/intel-hpdd/following{/other_user}","gists_url":"https://api.github.com/users/intel-hpdd/gists{/gist_id}","starred_url":"https://api.github.com/users/intel-hpdd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intel-hpdd/subscriptions","organizations_url":"https://api.github.com/users/intel-hpdd/orgs","repos_url":"https://api.github.com/users/intel-hpdd/repos","events_url":"https://api.github.com/users/intel-hpdd/events{/privacy}","received_events_url":"https://api.github.com/users/intel-hpdd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/intel-hpdd/Support","description":null,"fork":false,"url":"https://api.github.com/repos/intel-hpdd/Support","forks_url":"https://api.github.com/repos/intel-hpdd/Support/forks","keys_url":"https://api.github.com/repos/intel-hpdd/Support/keys{/key_id}","collaborators_url":"https://api.github.com/repos/intel-hpdd/Support/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/intel-hpdd/Support/teams","hooks_url":"https://api.github.com/repos/intel-hpdd/Support/hooks","issue_events_url":"https://api.github.com/repos/intel-hpdd/Support/issues/events{/number}","events_url":"https://api.github.com/repos/intel-hpdd/Support/events","assignees_url":"https://api.github.com/repos/intel-hpdd/Support/assignees{/user}","branches_url":"https://api.github.com/repos/intel-hpdd/Support/branches{/branch}","tags_url":"https://api.github.com/repos/intel-hpdd/Support/tags","blobs_url":"https://api.github.com/repos/intel-hpdd/Support/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/intel-hpdd/Support/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/intel-hpdd/Support/git/refs{/sha}","trees_url":"https://api.github.com/repos/intel-hpdd/Support/git/trees{/sha}","statuses_url":"https://api.github.com/repos/intel-hpdd/Support/statuses/{sha}","languages_url":"https://api.github.com/repos/intel-hpdd/Support/languages","stargazers_url":"https://api.github.com/repos/intel-hpdd/Support/stargazers","contributors_url":"https://api.github.com/repos/intel-hpdd/Support/contributors","subscribers_url":"https://api.github.com/repos/intel-hpdd/Support/subscribers","subscription_url":"https://api.github.com/repos/intel-hpdd/Support/subscription","commits_url":"https://api.github.com/repos/intel-hpdd/Support/commits{/sha}","git_commits_url":"https://api.github.com/repos/intel-hpdd/Support/git/commits{/sha}","comments_url":"https://api.github.com/repos/intel-hpdd/Support/comments{/number}","issue_comment_url":"https://api.github.com/repos/intel-hpdd/Support/issues/comments{/number}","contents_url":"https://api.github.com/repos/intel-hpdd/Support/contents/{+path}","compare_url":"https://api.github.com/repos/intel-hpdd/Support/compare/{base}...{head}","merges_url":"https://api.github.com/repos/intel-hpdd/Support/merges","archive_url":"https://api.github.com/repos/intel-hpdd/Support/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/intel-hpdd/Support/downloads","issues_url":"https://api.github.com/repos/intel-hpdd/Support/issues{/number}","pulls_url":"https://api.github.com/repos/intel-hpdd/Support/pulls{/number}","milestones_url":"https://api.github.com/repos/intel-hpdd/Support/milestones{/number}","notifications_url":"https://api.github.com/repos/intel-hpdd/Support/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/intel-hpdd/Support/labels{/name}","releases_url":"https://api.github.com/repos/intel-hpdd/Support/releases{/id}","deployments_url":"https://api.github.com/repos/intel-hpdd/Support/deployments","created_at":"2017-10-16T23:47:18Z","updated_at":"2018-03-22T17:30:59Z","pushed_at":"2018-03-23T15:03:52Z","git_url":"git://github.com/intel-hpdd/Support.git","ssh_url":"git@github.com:intel-hpdd/Support.git","clone_url":"https://github.com/intel-hpdd/Support.git","svn_url":"https://github.com/intel-hpdd/Support","homepage":"https://intel-hpdd.github.io/Support/","size":76,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"intel-hpdd:master","ref":"master","sha":"e646d03145aeb16ebd3a5b0beae8abbf003431c9","user":{"login":"intel-hpdd","id":20727479,"avatar_url":"https://avatars3.githubusercontent.com/u/20727479?v=4","gravatar_id":"","url":"https://api.github.com/users/intel-hpdd","html_url":"https://github.com/intel-hpdd","followers_url":"https://api.github.com/users/intel-hpdd/followers","following_url":"https://api.github.com/users/intel-hpdd/following{/other_user}","gists_url":"https://api.github.com/users/intel-hpdd/gists{/gist_id}","starred_url":"https://api.github.com/users/intel-hpdd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intel-hpdd/subscriptions","organizations_url":"https://api.github.com/users/intel-hpdd/orgs","repos_url":"https://api.github.com/users/intel-hpdd/repos","events_url":"https://api.github.com/users/intel-hpdd/events{/privacy}","received_events_url":"https://api.github.com/users/intel-hpdd/received_events","type":"Organization","site_admin":false},"repo":{"id":107194965,"name":"Support","full_name":"intel-hpdd/Support","owner":{"login":"intel-hpdd","id":20727479,"avatar_url":"https://avatars3.githubusercontent.com/u/20727479?v=4","gravatar_id":"","url":"https://api.github.com/users/intel-hpdd","html_url":"https://github.com/intel-hpdd","followers_url":"https://api.github.com/users/intel-hpdd/followers","following_url":"https://api.github.com/users/intel-hpdd/following{/other_user}","gists_url":"https://api.github.com/users/intel-hpdd/gists{/gist_id}","starred_url":"https://api.github.com/users/intel-hpdd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intel-hpdd/subscriptions","organizations_url":"https://api.github.com/users/intel-hpdd/orgs","repos_url":"https://api.github.com/users/intel-hpdd/repos","events_url":"https://api.github.com/users/intel-hpdd/events{/privacy}","received_events_url":"https://api.github.com/users/intel-hpdd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/intel-hpdd/Support","description":null,"fork":false,"url":"https://api.github.com/repos/intel-hpdd/Support","forks_url":"https://api.github.com/repos/intel-hpdd/Support/forks","keys_url":"https://api.github.com/repos/intel-hpdd/Support/keys{/key_id}","collaborators_url":"https://api.github.com/repos/intel-hpdd/Support/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/intel-hpdd/Support/teams","hooks_url":"https://api.github.com/repos/intel-hpdd/Support/hooks","issue_events_url":"https://api.github.com/repos/intel-hpdd/Support/issues/events{/number}","events_url":"https://api.github.com/repos/intel-hpdd/Support/events","assignees_url":"https://api.github.com/repos/intel-hpdd/Support/assignees{/user}","branches_url":"https://api.github.com/repos/intel-hpdd/Support/branches{/branch}","tags_url":"https://api.github.com/repos/intel-hpdd/Support/tags","blobs_url":"https://api.github.com/repos/intel-hpdd/Support/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/intel-hpdd/Support/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/intel-hpdd/Support/git/refs{/sha}","trees_url":"https://api.github.com/repos/intel-hpdd/Support/git/trees{/sha}","statuses_url":"https://api.github.com/repos/intel-hpdd/Support/statuses/{sha}","languages_url":"https://api.github.com/repos/intel-hpdd/Support/languages","stargazers_url":"https://api.github.com/repos/intel-hpdd/Support/stargazers","contributors_url":"https://api.github.com/repos/intel-hpdd/Support/contributors","subscribers_url":"https://api.github.com/repos/intel-hpdd/Support/subscribers","subscription_url":"https://api.github.com/repos/intel-hpdd/Support/subscription","commits_url":"https://api.github.com/repos/intel-hpdd/Support/commits{/sha}","git_commits_url":"https://api.github.com/repos/intel-hpdd/Support/git/commits{/sha}","comments_url":"https://api.github.com/repos/intel-hpdd/Support/comments{/number}","issue_comment_url":"https://api.github.com/repos/intel-hpdd/Support/issues/comments{/number}","contents_url":"https://api.github.com/repos/intel-hpdd/Support/contents/{+path}","compare_url":"https://api.github.com/repos/intel-hpdd/Support/compare/{base}...{head}","merges_url":"https://api.github.com/repos/intel-hpdd/Support/merges","archive_url":"https://api.github.com/repos/intel-hpdd/Support/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/intel-hpdd/Support/downloads","issues_url":"https://api.github.com/repos/intel-hpdd/Support/issues{/number}","pulls_url":"https://api.github.com/repos/intel-hpdd/Support/pulls{/number}","milestones_url":"https://api.github.com/repos/intel-hpdd/Support/milestones{/number}","notifications_url":"https://api.github.com/repos/intel-hpdd/Support/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/intel-hpdd/Support/labels{/name}","releases_url":"https://api.github.com/repos/intel-hpdd/Support/releases{/id}","deployments_url":"https://api.github.com/repos/intel-hpdd/Support/deployments","created_at":"2017-10-16T23:47:18Z","updated_at":"2018-03-22T17:30:59Z","pushed_at":"2018-03-23T15:03:52Z","git_url":"git://github.com/intel-hpdd/Support.git","ssh_url":"git@github.com:intel-hpdd/Support.git","clone_url":"https://github.com/intel-hpdd/Support.git","svn_url":"https://github.com/intel-hpdd/Support","homepage":"https://intel-hpdd.github.io/Support/","size":76,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/intel-hpdd/Support/pulls/11"},"html":{"href":"https://github.com/intel-hpdd/Support/pull/11"},"issue":{"href":"https://api.github.com/repos/intel-hpdd/Support/issues/11"},"comments":{"href":"https://api.github.com/repos/intel-hpdd/Support/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/intel-hpdd/Support/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/intel-hpdd/Support/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/intel-hpdd/Support/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/intel-hpdd/Support/statuses/0f2907bf0592781343b9264103f0b459ad7bac22"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"johnsonw"}}