CEPH for Windows
- Download Software
- Ceph - https://cloudbase.it/ceph-for-windows/ - Dokany - https://github.com/dokan-dev/dokany/releases - NSSM - https://nssm.cc/download
- Configure CEPH
- Copy Base configuration from website to c:\ProgramData\Ceph\ceph.conf - https://docs.ceph.com/en/reef/install/windows-basic-config/ - I had to make the following changes: - Uncomment both uid and guid under the \[client] Section - set both uid and guid to 0 (ie root)
- 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 - nssm install - Application Tab - Path: Location of ceph_connect.bat - Startup Director: autofilled - Service Name: CEPH Connect - Details - 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 - 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