Difference between revisions of "OBCP Cluster Management"
Jump to navigation
Jump to search
(Use obcpAddUser.sh to add user, not ./addUser.sh.) |
|||
Line 8: | Line 8: | ||
== Add New User == | == Add New User == | ||
+ | <!-- | ||
# Go to ''johnsonlab'' folder. | # Go to ''johnsonlab'' folder. | ||
## <code>$ cd /data/johnsonlab/</code> | ## <code>$ cd /data/johnsonlab/</code> | ||
Line 15: | Line 16: | ||
# 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. | # 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. | ||
## <code>$ sudo ./addUser.sh</code> | ## <code>$ sudo ./addUser.sh</code> | ||
+ | --> | ||
+ | To add a new user, run the ''obcpAddUser.sh'' script; | ||
+ | this script is located in ''/usr/local/bin''. | ||
+ | # 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. | ||
+ | ## <code>$ sudo obcpAddUser.sh <username></code> | ||
# 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. | # 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. | ||
## Move the cursor to the first ''0'', which is the third column, and change the value to ''1000000''. | ## Move the cursor to the first ''0'', which is the third column, and change the value to ''1000000''. | ||
## Move the cursor to the next to the last ''0'', which is the sixth column, and change the value to ''1000000''. | ## Move the cursor to the next to the last ''0'', which is the sixth column, and change the value to ''1000000''. | ||
+ | # Force the user to change this password upon first login. | ||
+ | ## <code>$ sudo chage -d 0 <username> </code> | ||
Latest revision as of 20:14, 21 December 2015
OBCP Cluster Management
Contents
Add New User
To add a new user, run the obcpAddUser.sh script; this script is located in /usr/local/bin.
- 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.
$ sudo obcpAddUser.sh <username>
- 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.
- Move the cursor to the first 0, which is the third column, and change the value to 1000000.
- Move the cursor to the next to the last 0, which is the sixth column, and change the value to 1000000.
- Force the user to change this password upon first login.
$ 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
- Insert hard disk with caddy into next available slot within NAS
- Within the NAS Windows OS, open Dell Open Manage Server Administrator
- Initialize the new physical disk
- Reconfigure the virtual disk (RAID-6) to include the new disk
- Re-initialize the virtual disk to prepare for added capacity
- Within the NAS Windows OS, open Windows Computer Management
- In Disk Management, extend the virtual disk volume to use the added capacity
- In iSCSI Software Management, go to Device and extended the virtual disk volume to use the added capacity
- Within the cluster Ubuntu OS, prepare to extend the iSCSI partition and filesystem
- Kill any processes accessing the iSCSI interface
- Logout from the iSCSI connection and unmount the iSCSI filesystem (
umount /dev/sdb1
- may require a restart) - Within the Ubuntu GUI, open GParted and extend the partition stored on the NAS
- Log back into the iSCSI connection and remount the iSCSI filesystem (
mount -a
)
- The cluster is now ready to use the additional storage capacity