Configuring the SA SUSE Manager Importer

To run SA SUSE Manager Importer with a default configuration file, you have to create a configuration file at

/etc/opt/opsware/sles_import/suse_manager.conf.

A configuration file template is available at /etc/opt/opsware/sles_import/suse_manager.conf-sample.

To create a configuration file:

  1. Copy the sample configuration file to suse_manager.conf
    cp /etc/opt/opsware/sles_import/suse_manager.conf-sample /etc/opt/opsware/sles_import/suse_manager.conf

  2. Provide write permission to the Suse_manager.conf file:
    chmod u+w /etc/opt/opsware/sles_import/suse_manager.conf
  3. Edit the /etc/opt/opsware/sles_import/suse_manager.conf file:
    1. In the host option, provide the hostname/IP address of your SUSE Manager Server.

      Note If you have a custom port you can append ':<port number>’ to the IP address or hostname. If port number is not provided, the importer uses the default HTTPS port which is 443.

    2. In the user and pass options, provide the user name and password of your SUSE Manager Server.
    3. Provide values to the opsware_user and opsware_password fields for configuring the SA credentials.
    4. In the channel option, you can list the channels you want to import. If you are unsure what values are valid, you can save the configuration file and run the following command:

      /opt/opsware/sles_import/bin/suse_manager_import --show_labels

      At this stage, the importer can access SA and your SUSE Manager to determine the default supported labels. Later, you can come back and fill the channels option with valid values.

      Channel labels can also be specified in the command line, provided that all required options (that is SUSE Manager hostname, user and password) are defined in the configuration file. If no label is provided in the command line or in the configuration file, then all default supported parent channels will be imported.