BioMicroCenter:BMCPub

From OpenWetWare
Jump to navigationJump to search

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. Off campus VPN required.
  • 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.

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.

  • 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.



VPN ACCESS REQUIRED OFF CAMPUS

Getting Started via SSH Windows

There are two ways to access the server.

  • SSH - which uses your MIT username and password.
  • SAMBA -a preconfigure password is created and must be changed by you.

Getting Started requires access to a SSH Client-


  • -Click on the link - SSH-Command-line & TransferClient_installer


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".

NOW change the SAMBA PASSWORD: There is a preconfigured 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 your PC.

Getting Started via SSH Macintosh

Use your Terminal application: Applications: Utilities: Terminal

If you will be using it frequently, you may want to drag its icon to your "dock" so you can start it from there in the future

Connect to the server :

  • type in -- ssh yourkerberosname@bmc-pub1.mit.edu:
  • add key ? YES
  • pass kerberos password <enter>
  • you are now logged in -
  • type in : ls -al <enter> to see a list of your directory


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


Follow the direction below to map a drive

Folder Structure

Once you have logged via SSH - above - and taken ownership of your "SAMBA" access account you are ready to mapp a WINDOWS share to your account space.

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 Path Macintosh Path Permissions
/data/biomicro \\bmc-pub1.mit.edu\biomicro smb://bmc-pub1.mit.edu/biomicro Access limited to members of the lab/group
/data/biomicro/public \\bmc-pub1\biomicropublic smb://bmc-pub1.mit.edu/biomicropublic Public directory to allow filesharing between groups
/data/biomicro/user/homedirs \\bmc-pub1\homes smb://bmc-pub1/homes Private access to home directory of user
data/biomicro/user/username Unix access

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

You too can do a command line copy of a "file or folder" using SSH. It is known as SCP. Required:

 *User account on the system
 *Knowing beforehand the location you have the permissions to access.

Reference: http://www.hypexr.org/linux_scp_help.php Provides many examples.

This example we will copy a file:

  • SSH into a remote system other than BMC-PUB1"
 Move into the directory of the file you wish to copy via ssh
 * Type in "ls -al" to view the contents of the directory. 
 * scp nameoffile username@host:/locationofremotecopy
 * scp mit-krb-config-1.0-3.noarch.rpm sgoldman@bmc-pub1.mit.edu:/data/biomicro
 *The authenticity of host 'bmc-pub1.mit.edu (18.79.4.104)' can't be established.
  RSA key fingerprint is 15:e5:de:a3:dc:8a:02:38:bb:a9:61:7b:c4:63:d0:42.
  Are you sure you want to continue connecting (yes/no)? yes
  Warning: Permanently added 'bmc-pub1.mit.edu,18.79.4.104' (RSA) to the list of known hosts.
  sgoldman@bmc-pub1.mit.edu's password: <enter your password on the remote system>
  *mit-krb-config-1.0-3.noarch.rpm               100% 4433     4.3KB/s   00:00  <transfer>

File copied.