CEPH for Windows: Difference between revisions

From Computer Science Wiki
Jump to navigation Jump to search
Miket (talk | contribs)
No edit summary
Miket (talk | contribs)
Line 26: Line 26:
** make sure the extension is shown as .bat and not .bat.txt
** make sure the extension is shown as .bat and not .bat.txt


ceph_connect.bat
<pre> ceph_connect.bat
  @echo off
  @echo off
  set ceph_name=mike_test
  set ceph_name=mike_test
  set ceph_directory=/mike_test
  set ceph_directory=/mike_test
   
   
  ceph-dokan.exe -l x --id %ceph_name% --root_path %ceph_directory%
  ceph-dokan.exe -l x --id %ceph_name% --root_path %ceph_directory%
</pre>


== Configure NSSM Service ==
== Configure NSSM Service ==

Revision as of 11:49, 6 August 2025

Download Software

Configure CEPH

Create Keyring

  • create a blank text file called keyring in c:\ProgramData\Ceph\ Directory
  • Copy your secret from api.cs.vt.edu to this file
  • make sure there isn't an extension, or that it matches what is in the configuration file

Create Batch File

  • Create a blank text file and add the contents listed below.
    • Change the variables to match the name and directory provided to you by the techstaff team.
  • Save the textfile as ceph_connect.bat
    • make sure the extension is shown as .bat and not .bat.txt
 ceph_connect.bat
 @echo off
 set ceph_name=mike_test
 set ceph_directory=/mike_test
 
 ceph-dokan.exe -l x --id %ceph_name% --root_path %ceph_directory%

Configure NSSM Service

  • download NSSM
  • Copy the appropriate version for your OS to a folder within your path
  • run nssm install
  • Application Tab
    • Path: Location of ceph_connect.bat
    • Startup Directory: autofilled
  • Service Name: CEPH Connect
  • Details Tab
    • Display Name: CEPH Connect
    • Description: Connects System to the CEPH Storage Server

Troubleshooting

  • Make sure you have access to stash.cs.vt.edu
    • ping should work [ping stash.cs.vt.edu]
    • if ping doesn't work make sure you are added to the firewall
  • Access Denied when trying to access the files
    • make sure your uid and guid match 0 in ceph.conf