SMB
File sharing ..
Workshop - SMB/CIFS
The Server Message Block (SMB) protocol is a network file sharing protocol that allows applications on a computer to read and write to files and to request services from server programs in a computer network. The SMB protocol can be used on top of its TCP/IP protocol or other network protocols
Objective of this workshop is to:
install & configure a basic Samba server.
share user home directories as well as provide read-write anonymous access to selected directory.


Please ensure you have completed the following setup: SMB
Log into your Docker Desktop to check that the SMB Docker container is up and running.

Let's test SMB server ..

SMB Shared Folders
Let's check we have some sample data in our container/shared folder.
In the Docker Desktop UI click on the workshop-server-smb.

Click on Files > scroll down to shared folder - expand to see mounted volumes.

Lets connect to a data source using SMB VFS in Pentaho Data Integration.
Select the following OS.
Start Pentaho Data Integration.
x
x
Start Pentaho Data Integration.
Create a New Transformation.
Drag & drop the Text file input step onto the canvas.
Click on the 'View' tab.
Highlight 'VFS Connections' and select 'New'.

Configure with the following details:

Click 'Test'.

Create the following transformation:

Double-click on Text file input > File tab
Click on Browse and ensure you select:
VFS Connections > SMB > Pentaho/design-tools/data-integration/samples/transformations/files/sales_data.csv
Add the path.

Click on Content tab & configure with the following settings:

Click on Fields tab & click on 'Get Fields'

Preview the rows.

Click OK.
x
Last updated
Was this helpful?
