sambaXP 2023 - SINK Demo 1 #129
phlogistonjohn
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The SINK Team's 2023 sambaXP presentation contains two demonstrations. This year the theme was how SINK projects are more then just for use on Kubernetes and that samba-container images can be used without a Kubernetes cluster.
Our first demo runs a simple standalone container under Podman and systemd, while exporting a CephFS subvolume using the Samba VFS module for Ceph. The idea is to show how the samba-container offers a full range of Samba features while at the same time using the most minimal set of orchestration tools that are enough to manually set up a service that will persist across reboots on a single node.
Video Recording
The original demo recording
Introduction Text
Running a Single Samba Server container instance
The current setup:
A previously configured 3 node Ceph cluster (managed with cephadm).
A Fedora VM preinstalled with podman (and quadlet).
I've also preinstalled smbclient locally for quick testing
and enabled the firewall to permit smb trafic.
Reference Links
SINK:
Podman:
Ceph:
Configuration Files and Commands Used
This demo assumes that cephfs has been created already. We will need an admin (that could be you) to create a client "user" for us called
client.fs
. If you have admin access to your cluster this can be done usingsudo ceph fs authorize cephfs client.fs1 / rw
. See the Ceph docs (linked above) for more details on how to access CephFS.On a ceph (admin) node:
On the node we'll be running our samba-container (smb1):
Create container .tom with the following content:
Create sambaxp.container with the following content:
Continuing on smb1, run:
If all goes well, you'll have a service running and a container visible using
sudo podman ps
.Try connecting to the host over port 445 using smbclient or Windows. Note that you may need to allow port 445 if the host you are using enables a firewall by default.
Beta Was this translation helpful? Give feedback.
All reactions