From 6300e71fe85214bc0b8f2ccbfa0f5b4330f464ee Mon Sep 17 00:00:00 2001 From: Michael Stackhouse Date: Sat, 23 Mar 2019 14:59:26 -0400 Subject: [PATCH 1/3] Update README.md --- week12/hw/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/week12/hw/README.md b/week12/hw/README.md index 523af042..5b4c256c 100644 --- a/week12/hw/README.md +++ b/week12/hw/README.md @@ -11,9 +11,11 @@ A. __Get three virtual servers provisioned__, 2 vCPUs, 4G RAM, UBUNTU\_16\_64, _ B. __Set up each one of your nodes as follows:__ -Add to /root/.bash\_profile the following line in the end: +Add to /root/.profile the following line in the end: export PATH=$PATH:/usr/lpp/mmfs/bin + +Then execute the command `source ~/.profile` to commit the extra path to your `$PATH` variable. Make sure the nodes can talk to each other without a password. When you created the VMs, you specified a keypair. Copy it to /root/.ssh/id\_rsa (copy paste or scp works). Set its permissions: From 2e82d760fd44278a0432c575256798d624c7b4c6 Mon Sep 17 00:00:00 2001 From: Michael Stackhouse Date: Sat, 23 Mar 2019 15:12:44 -0400 Subject: [PATCH 2/3] Update README.md --- week12/hw/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/week12/hw/README.md b/week12/hw/README.md index 5b4c256c..afd50e25 100644 --- a/week12/hw/README.md +++ b/week12/hw/README.md @@ -86,6 +86,12 @@ You could get more details on your cluster: mmlscluster +If a node doesn't appear for some reason (for example, if there was a connection issue when the cluster was initially created), you can manually the node in with the command `mmaddnode`: + + mmaddnode -N gpfs3 + +Where `gpfs3` is the name of the missing node. + Now we need to define our disks. Do this to print the paths and sizes of disks on your machine: fdisk -l From 332239f114f81ac85927030ff8acee43aa226f15 Mon Sep 17 00:00:00 2001 From: Michael Stackhouse Date: Sat, 23 Mar 2019 15:28:24 -0400 Subject: [PATCH 3/3] Update README.md --- week12/hw/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/week12/hw/README.md b/week12/hw/README.md index afd50e25..982e0245 100644 --- a/week12/hw/README.md +++ b/week12/hw/README.md @@ -108,7 +108,7 @@ Now inspect the mount location of the root filesystem on your boxes: [root@gpfs1 ras]# mount | grep ' \/ ' /dev/xvda2 on / type ext3 (rw,noatime) -Disk /dev/xvda (partition 2) is where my operating system is installed, so I'm going to leave it alone. In my case, __xvdc__ is my 100 disk. In your case, it could be /dev/xvdb, so __please be careful here__. Assuming your second disk is `/dev/xvdc` then add these lines to `/root/diskfile.fpo`: +Disk /dev/xvda (partition 2) is where my operating system is installed, so I'm going to leave it alone. In my case, __xvdc__ is my 100 disk. In your case, it could be /dev/xvdb, so __please be careful here__. Assuming your second disk is `/dev/xvdc` then add these lines to `/root/diskfile.fpo` on gpfs1: %pool: pool=system