OBCP Cluster Management

From xBio:D Wiki
Revision as of 15:02, 27 July 2015 by Jcora (talk | contribs)
Jump to navigation Jump to search


OBCP Cluster Management


Add New User

  1. Go to johnsonlab folder.
    1. $ cd /data/johnsonlab/
  2. Modify addUser.sh by changing NEW_USER variable at top to the new username. Exit and save when finished.
    1. $ sudo nano addUser.sh
    2. ... NEW_USER=[username] ...
  3. Execute addUser.sh and enter password for new user. Enter full name of user when prompted. The rest of the options before the disk quota can be ignored.
    1. $ sudo ./addUser.sh
  4. When the disk quotas configuration is displayed, change the soft limits for the number of blocks and inodes allowed by the user on the OS filesystem to 1GB.
    1. Move the cursor to the first 0, which is the third column, and change the value to 1000000.
    2. Move the cursor to the next to the last 0, which is the sixth column, and change the value to 1000000.


Initiate OBCP Cluster iSCSI Connection

Command: sudo iscsiadm -m node -T iqn.1991-05.com.microsoft:d2l7t6v1-obcp-nas-target -p 192.168.5.2:3260 --login


Mount iSCSI Volumes

Command: sudo mount /dev/sdb1 /data

Command: sudo mount /dev/sdc1 /data2


Add Capacity to OBCP Cluster NAS

  1. Insert hard disk with caddy into next available slot within NAS
  2. Within the NAS Windows OS, open Dell Open Manage Server Administrator
    1. Initialize the new physical disk
    2. Reconfigure the virtual disk (RAID-6) to include the new disk
    3. Re-initialize the virtual disk to prepare for added capacity
  3. Within the NAS Windows OS, open Windows Computer Management
    1. In Disk Management, extend the virtual disk volume to use the added capacity
    2. In iSCSI Software Management, go to Device and extended the virtual disk volume to use the added capacity
  4. Within the cluster Ubuntu OS, prepare to extend the iSCSI partition and filesystem
    1. Kill any processes accessing the iSCSI interface
    2. Logout from the iSCSI connection and unmount the iSCSI filesystem (umount /dev/sdb1 - may require a restart)
    3. Within the Ubuntu GUI, open GParted and extend the partition stored on the NAS
    4. Log back into the iSCSI connection and remount the iSCSI filesystem (mount -a)
  5. The cluster is now ready to use the additional storage capacity