YaST provides an easy way to activate or deactivate the SMT service. To activate SMT with YaST, follow these steps:
Open the Customer Center Access tab of the SMT Configuration.
Check the Enable Subscription Management Tool service (SMT) option.
NOTE:If not already configured, organization credentials should be configured before activating SMT. For more information about how to set organization credentials with YaST, see Setting NU Credentials with YaST.
Click Finish to apply the changes and leave the SMT Configuration.
To deactivate SMT with YaST, follow these steps:
Open the Customer Center Access tab of the SMT Configuration.
Uncheck the Enable Subscription Management Tool service (SMT) option.
Click Finish to apply the changes and leave the SMT Configuration.
When activating SMT, the following important operations are performed by YaST:
The Apache configuration is changed by creating symbolic links in the /etc/apache2/conf.d/ directory. Links to the /etc/smt.d/nu_server.conf and /etc/smt.d/smt_mod_perl.conf files are created there.
The Apache Web server is started (or reloaded if already running).
The MySQL server is started (or reloaded if already running). The SMT user and all necessary tables in the database are created as needed.
The schema of the SMT database is checked. If the database schema is outdated, the SMT database is upgraded to conform to the current schema.
Cron is adjusted by creating a symbolic link in the /etc/cron.d/ directory. A link to the /etc/smt.d/novell.com-smt file is created there.
When deactivating SMT, the following important operations are performed by YaST:
Symbolic links created upon SMT activation in the /etc/apache2/conf.d/ and /etc/cron.d/ directories are deleted.
The Cron daemon, the Apache server and the MySQL database daemon are reloaded. Neither Apache nor MySQL are stopped, because they may be used for other purposes than the SMT service.