OBCP Cluster Management

From xBio:D Wiki
Jump to navigation Jump to search


OBCP Cluster Management


Add New User

To add a new user, run the obcpAddUser.sh script; this script is located in /usr/local/bin.

  1. Execute obcpAddUser.sh with username on command line; when prompted, enter the password for new user, the full name of the user, and the user's PI for Other. The rest of the options before the disk quota can be ignored.
    1. $ sudo obcpAddUser.sh <username>
  2. 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.
  3. Force the user to change this password upon first login.
    1. $ sudo chage -d 0 <username>


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