How to know Suse servers are registered or not?

HI,

i have some set of suse servers with different versions. How can i know from commandline that these systems are registred on suse to get updates.

Rehards,
Ben

On 08/03/17 05:54, bntech4u wrote:
[color=blue]

i have some set of suse servers with different versions. How can i know
from commandline that these systems are registred on suse to get
updates.[/color]

I note from the web view of the forums that you tagged your post as
“SLES Other”. Please can you therefore let us know which version(s) and
release(s) of SUSE Linux Enterprise Server (SLES) your systems are
running as the answer may vary depending on your answer.

HTH.

Simon
SUSE Knowledge Partner


If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below. Thanks.

There’s probably a better way, but you can see which repositories are
subscribed using zypper:

zypper lr -u

I suppose technically that may only show if you have ever had repositories
setup from something that required registration, and those could be
expired now, but you are not asking about that part which is all handled
with sales folks or the SUSE Customer Center (SCC) I believe.

I just ran suse_register on a registered system and it returned without
asking me to register again, rather than asking me to register as it did
the first time I ran it, so that may be a good way to tell as well

sudo /usr/bin/suse_register


Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below…

HI

i just checked those are

SLES12 and SLES 11 SP4

regards,
Ben

On 08/03/17 11:34, bntech4u wrote:
[color=blue]

i just checked those are

SLES12 and SLES 11 SP4[/color]

For SLES11 you can check the file
/var/cache/SuseRegister/lastzmdconfig.cache .

For SLES12 you can run “SUSEConnect --status-text”.

HTH.

Simon
SUSE Knowledge Partner


If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below. Thanks.