BioMicroCenter:BMCPub: Difference between revisions

From OpenWetWare
Jump to navigationJump to search
Line 168: Line 168:


{| border="1" align=middle
{| border="1" align=middle
  |cellpadding="2" valign="top" width=800%|'''SMB or Cifs mount from a UNIX System'''
  |cellpadding="2" valign="top" width=800%|'''Command line file copy from system to BMC-PUB1 UNIX System'''
BMC-Pub1 can accessed as a "mounted drive from a UNIX system".
BMC-Pub1 can accessed as a "mounted drive from a UNIX system".
To do this:
To do this:

Revision as of 08:29, 29 May 2009

HOME -- SEQUENCING -- LIBRARY PREP -- HIGH-THROUGHPUT -- COMPUTING -- OTHER TECHNOLOGY

General Information

The BioMicroCenter Public Server (BMC Pub1) new service offered by the center is geared to provided inexpensive server based storage for labs and facilities. This server is operated on annual fee basis. Details about the server are:

  • 16 TB Thinkmate server.
  • 2-QUAD Core Intel Xeon E5462-2.8 Ghz CPU
  • 16 GB RAM
  • The system runs Red Hat Enterprize Linux 5.3 supported in a RAID 1 configuration (mirrored)
  • The data partition is configured in a RAID 6 configuration with a "hot spare".
  • The device supports SMB, CIFS, and SSH connections from the MIT campus (or by VPN).
  • Backed up by MIT's TSM service
  • Machine administration by the Biomicro Center.


PLEASE NOTE:

  • This computer is not meant for heavy computation!
  • Use is offered and limited that of a storage server.
  • Computational processes may be terminated without notice.
  • The server is currently in BETA. This means we will work as hard as we can to have everything working, but there may be kinks in the system.

Folder Structure and Pricing

The public server is being offered to provide a service to the community. A cost recovery strategy is being employed to fund the investment.

Pricing

  • The yearly lease cost for one terabyte is $500.00 per year.
  • The volumes can be dynamically increased to allow for increase space inside the existing file structure.


Folder Structure

Default base folder names:

NAME TYPE EXAMPLE
center centername: biomicro
lab labnamelab levinelab


Each terabyte is preformatted as follows (using BioMicro Center as an example):

Unix path Windows / Mac path Permissions
/data/biomicro \\bmc-pub1\biomicro Access limited to members of the lab/group
/data/biomicro/public \\bmc-pub1\biomicropub Public directory to allow filesharing between groups
/data/biomicro/user/homedirs \\bmc-pub1\homes Private home directory of user
data/biomicro/user/username Unix access SSH Access:

Host: bmc-pub1.mit.edu
user: kerberos
pass: kerberos pass

Getting Started

Getting Started requires access to a SSH Client-


Connect to the server :

  • host bmc-pub1.mit.edu
  • user email name
  • pass kerberos password
  • port 22


If you logged in correctly, you should be at the "bash prompt".

There is a default samba password in a file called ".sambaword"

  • type : more .sambaword <enter> - your temporary samba password will appear.
  • type : smbpasswd <enter>
  • at the prompt, enter your temporary password.
  • enter and confirm your new password


You should now be able to access the server from PC and Mac

Biomicro Center Public Storage Server Connection Windows and MAC

Windows

BMC-Pub1 is accessed as a "mapped drive". To do this:

  • Right Click on "my computer"
  • Select "Map Network drive"
  • Enter Folder "\\bmc-pub1.mit.edu\labname"
  • Select "different username"
  • Add your username and password
Macintosh
  • cifs://bmc-pub1.mit.edu/labname
  • HIT the + save
  • select the path
  • click it
  • Connect
  • Confirm : workgroup
  • Name (email)
  • password
  • enter


Biomicro Center Public Storage Server Connection "Command line using an SMB mount"

SMB or Cifs mount from a UNIX System

BMC-Pub1 can accessed as a "mounted drive from a UNIX system". To do this:

  • Please note - the user must be "root" or given "sudo" access to mount a drive"
 Create a mount point on the system
 * Please ssh into the system
 * Move to the "\mnt" on the filesystem
 * Create a directory as a mount point: type   "mkdir bmc-pub1"
  • Make sure the directory is created.
  • Type in "ls-al"
  %/mnt/bmc-pub1 should appear
 The "mount command"
 The mount command requires the location the Windows Share.
 The mount point provides access as this user. It is recommended to delete after use.
 mount -t cifs -o username=bozo,password=clown //bmc-pub1/yoursharename /mnt/bmc-pub1 <enter>
 If there is no error message the command mounted the drive.

There is a command to check the status of all mounted drives. It is known as the "df-h"

 An example might be
 df-h 
 Filesystem                              Size  Used Avail Use% Mounted on
 /dev/mapper/VolGroup00-LogVol00             
                                           72G  2.3G   66G   4% /
                         /dev/hda1         99M  9.0M   85M  10% /boot
                        none              506M     0  506M   0% /dev/shm
                    //bmc-pub1/biomicro  1008G   52G  957G   6% /mnt/bmc-pub1


Now you have the ability to copy / delete files via command line to the /mnt/bmc-pub1 directory as it was a local to the machine.

  To delete or remove the mount point
  At the / location
  Type  umount -f /mnt/bmc-pub1 <enter>
  • check the mount point is gone df -h <enter>"


Biomicro Center Public Storage Server Connection "SCP EXAMPLE"

Command line file copy from system to BMC-PUB1 UNIX System

BMC-Pub1 can accessed as a "mounted drive from a UNIX system". To do this:

  • Please note - the user must be "root" or given "sudo" access to mount a drive"
 Create a mount point on the system
 * Please ssh into the system
 * Move to the "\mnt" on the filesystem
 * Create a directory as a mount point: type   "mkdir bmc-pub1"
  • Make sure the directory is created.
  • Type in "ls-al"
  %/mnt/bmc-pub1 should appear
 The "mount command"
 The mount command requires the location the Windows Share.
 The mount point provides access as this user. It is recommended to delete after use.
 mount -t cifs -o username=bozo,password=clown //bmc-pub1/yoursharename /mnt/bmc-pub1 <enter>
 If there is no error message the command mounted the drive.

There is a command to check the status of all mounted drives. It is known as the "df-h"

 An example might be
 df-h 
 Filesystem                              Size  Used Avail Use% Mounted on
 /dev/mapper/VolGroup00-LogVol00             
                                           72G  2.3G   66G   4% /
                         /dev/hda1         99M  9.0M   85M  10% /boot
                        none              506M     0  506M   0% /dev/shm
                    //bmc-pub1/biomicro  1008G   52G  957G   6% /mnt/bmc-pub1


Now you have the ability to copy / delete files via command line to the /mnt/bmc-pub1 directory as it was a local to the machine.

  To delete or remove the mount point
  At the / location
  Type  umount -f /mnt/bmc-pub1 <enter>
  • check the mount point is gone df -h <enter>"