CEPH for Windows: Difference between revisions

From Computer Science Wiki
Jump to navigation Jump to search
Miket (talk | contribs)
Created page with "# 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..."
 
Miket (talk | contribs)
No edit summary
Line 1: Line 1:
# Download Software
== 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
* Ceph - https://cloudbase.it/ceph-for-windows/
- create a blank text file called keyring in c:\ProgramData\Ceph\ Directory
* Dokany - https://github.com/dokan-dev/dokany/releases
- Copy your secret from api.cs.vt.edu to this file
* NSSM - https://nssm.cc/download
- make sure there isn't an extension, or that it matches what is in the configuration file


# Create Batch File
== Configure CEPH ==
- 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%
* 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)


# Configure NSSM Service
== Create Keyring ==
- 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
* create a blank text file called keyring in c:\ProgramData\Ceph\ Directory
- Make sure you have access to stash.cs.vt.edu
* Copy your secret from api.cs.vt.edu to this file
- ping should work
* make sure there isn't an extension, or that it matches what is in the configuration file
- if ping doesn't work make sure you are added to the firewall
 
- Access Denied when trying to access the files
== Create Batch File ==
- make sure your uid and guid match 0 in ceph.conf
 
* 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

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