THE VIDEO

THE SYNOPSIS

In this video, we bang our heads against the wall repeatedly with respect to SQL Server Integration Services. I spend a lot more time than I want to but we do get a mostly-functional product mostly working.

THE COMMANDS

Following are the command line operations I used throughout the video.

sudo apt-get install -y mssql-server-is


sudo /opt/ssis/bin/ssis-conf setup


sudo apt-get install -y vim
vi .bashrc
# Add this to the bottom of .bashrc:
export PATH=/opt/ssis/bin:$PATH

source ~/.bashrc
echo $PATH


sudo apt-get -y install openssh-server


cd ~
mkdir ssis


# NOTE: change IP address to your IP or server name
ssh testo@172.20.148.159


# The following should run in Windows, assuming this is where your SSIS project was.
D:
cd D:\SourceCode\Simple SSIS Project\Simple SSIS Project
scp .\Package.dtsx testo@172.20.148.159:/home/testo/ssis/


# Run the following on the Linux machine
cd ~/ssis
dtexec /F Package.dtsx /DE SSISPackage


dtexec /F Package.dtsx /DE SSISPackage | tee Package_log.txt
less Package_log.txt


# Run the following on Windows:
scp .\BadPackage.dtsx testo@172.20.148.159:/home/testo/ssis/


#Run the following on Linux:
dtexec /F BadPackage.dtsx /DE SSISPackage


vi DailyETL.sh
# The following is the contents of DailyETL.sh:
/opt/ssis/bin/dtexec /F /home/testo/ssis/Package.dtsx /DE SSISPackage >> /home/testo/ssis/cron_output.txt 2>& 1


chmod +x DailyETL.sh
crontab -e
# The following is what you'd add to the crontab file. Use the correct time!
17 8 * * * /home/testo/ssis/DailyETL.sh 2>&1 | logger -t DailyETL


grep DailyETL /var/log/syslog

LINKS AND ADDITIONAL INFORMATION

All of these videos are on behalf of Catallaxy Services, LLC, my consulting company where I help customers on problems all across the data platform space.

One thought on “Video: SQL Server Integration Services on Linux

Leave a comment