BioMicroCenter:BMCPub: Difference between revisions

From OpenWetWare
Jump to navigationJump to search
No edit summary
Line 78: Line 78:
== Getting Started ==
== Getting Started ==
Getting Started requires access to a SSH Client-
Getting Started requires access to a SSH Client-
* SecureSSH is available here : ftp://metalab.unc.edu/pub/packages/security/ssh/SSHSecureShellClient-3.2.9.exe
* SecureSSH is available here : http://18.79.4.105/
<br>
<br>
SSH-Command-line&TransferClient_installer
Connect to the server :
Connect to the server :
*host bmc-pub1.mit.edu
*host bmc-pub1.mit.edu

Revision as of 11:00, 6 July 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-


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

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

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.