April 10th, 2019

BSD

SLES Registration Cleanup

SUSEConnect --de-register
SUSEConnect --cleanup
rm -f /etc/SUSEConnect
rm -rf /etc/zypp/credentials.d/*
rm -rf /etc/zypp/repos.d/*
rm -f /etc/zypp/services.d/*

wget http://192.168.1.12/repo/tools/clientSetup4SMT.sh

./clientSetup4SMT.sh https://192.168.1.12/center/regsvc

zypper lr
zypper -n update -t patch
zypper update -t patch
reboot

NOTE: If using SLES11SP1 YaST, make registration URL: https://smt11/center/regsvc & http://smt11/smt.crt
BSD

SMT restart

Restart SMT
1.Restart the smt server by entering "rcsmt restart" into the root shell. This will also restart the http server apache on SMT 11/10, so that apache uses the new certificate.

NOTE: on SMT 12 SP1/2/3 servers run

systemctl restart smt.service

and

systemctl restart apache2