Re: Determining whether RHEL4 is registered?
Alfred Hovdestad <[email protected]>
| Newsgroups | gmane.linux.redhat.rhn.user |
|---|---|
| Message-ID | <[email protected]> |
The file name is /etc/sysconfig/rhn/systemid The XML attribute is system_id If the /etc/sysconfig/rhn/systemid file exists then there is/was a system registered with that system_id. As I said, we had several servers that were registered multiple times. We also had several systems that were cloned from an installed system, so they all shared one system_id. When we found these, we simply re-registered the systems so they each had a unique system_id. Alfred Timothy Kallinis wrote: > On Wed, 7 Nov 2007, Alfred Hovdestad wrote: > > > If /etc/sysconfig/rhn/systemid exists then the system is registered > otherwise it is not. Do you think this is sufficient? Also is the > filename systemid or system_id? I don't have any registered systems at > the moment, so I can't confirm this. > > Regards, > > Timothy Kallinis >