Hello, I use ghost from Symantec to deploy PCs. All is fine expect Maple 10. It need a valid host ID. Each time the pc reboot (pc installed with ghost), the hostid command return a different value. I do the following command hostid >/etc/hostid but the problem is always the same after a reboot. I deleted my NIC with Yast and reinstall it but the host ID is always different. I have the same probleme with 32 PCs who was installed with Ghost. Is it possible to have an unique host ID ? P.S: I am sorry for my poor english :( Fabien
On Wednesday 04 October 2006 15:39, Fabien Chaudier wrote:
Is it possible to have an unique host ID ?
man hostid: NAME hostid - set or print system's host id. SYNTAX hostid [-v] [decimal-id] DESCRIPTION The hostid command prints the current host id number in hexadecimal and both decimal and hexadecimal in paren‐ thesis if the -v option is given. This numeric value is expected to be unique across all hosts and is nor‐ mally set to resemble the host's Internet address. ... You can apparently set the id to whatever you want by calling hostid at startup, but you must ensure that each host has a unique ID. -- ----- stephan@s11n.net http://s11n.net "...pleasure is a grace and is not obedient to the commands of the will." -- Alan W. Watts
Selon stephan beal <stephan@s11n.net>:
On Wednesday 04 October 2006 15:39, Fabien Chaudier wrote:
Is it possible to have an unique host ID ?
man hostid:
NAME hostid - set or print system's host id.
SYNTAX hostid [-v] [decimal-id] DESCRIPTION The hostid command prints the current host id number in hexadecimal and both decimal and hexadecimal in parenâ thesis if the -v option is given. This numeric value is expected to be unique across all hosts and is norâ mally set to resemble the host's Internet address. ...
You can apparently set the id to whatever you want by calling hostid at startup, but you must ensure that each host has a unique ID.
-- ----- stephan@s11n.net http://s11n.net "...pleasure is a grace and is not obedient to the commands of the will." -- Alan W. Watts
I set the id by calling hostid is OK. Each time I reboot 2 time the PC and the host ID is always the same. But when I install Maple 10, at the end of installation I have the message : "Unable to determine the host ID of your system" The Maple install process may be use a different fonction of hostid. If I install SuSE 10.1 with the DVD on the same PC, I don't have the problem to install Maple 10. I used ghost on 32 PC and I don't want to reinstall all PCs with the DVD or via NFS.
Nobody had an idea ? Le mercredi 4 octobre 2006 17:44, Chaudier Fabien a écrit :
Selon stephan beal <stephan@s11n.net>:
On Wednesday 04 October 2006 15:39, Fabien Chaudier wrote:
Is it possible to have an unique host ID ?
man hostid:
NAME hostid - set or print system's host id.
SYNTAX hostid [-v] [decimal-id] DESCRIPTION The hostid command prints the current host id number in hexadecimal and both decimal and hexadecimal in parenâ thesis if the -v option is given. This numeric value is expected to be unique across all hosts and is norâ mally set to resemble the host's Internet address. ...
You can apparently set the id to whatever you want by calling hostid at startup, but you must ensure that each host has a unique ID.
-- ----- stephan@s11n.net http://s11n.net "...pleasure is a grace and is not obedient to the commands of the will." -- Alan W. Watts
I set the id by calling hostid is OK. Each time I reboot 2 time the PC and the host ID is always the same. But when I install Maple 10, at the end of installation I have the message : "Unable to determine the host ID of your system" The Maple install process may be use a different fonction of hostid.
If I install SuSE 10.1 with the DVD on the same PC, I don't have the problem to install Maple 10. I used ghost on 32 PC and I don't want to reinstall all PCs with the DVD or via NFS.
-- Fabien Chaudier INSA - Département Biosciences 11 avenue Jean Capelle 69621 Villeurbanne Cedex Tél. : (33)04 72 43 89 96 Fax. : (33)04 72 43 85 11
On Thursday 05 October 2006 12:17, Fabien Chaudier wrote:
Nobody had an idea ?
Hi Fabien, I didn't respond because I didn't have an answer for you. But I *did* have an "idea"... could be right... could be wrong... so no guarantee, of course. But my first reaction was maybe the Maple 10 installer is relying on something other than hostid. Could it be that using hostid causes problems during remote installations? Is it possible the installer is actually looking for a physical file and not finding it in the location that it expects? Just an idea, but that's what you inquired about this time around. ;-) Good luck! Carl
Just out of curiosity, what use does the hostid have? Paul
On Thursday 05 October 2006 16:18, Paul Abrahams wrote:
Just out of curiosity, what use does the hostid have?
My guess: the systems that Fabien works on at the moment run an application ("Maple 10") which requires each client to have a unique Host ID, like a digital serial number. 'man hostid' :-) regards, Carl
I trie to install Maple 10 on PCs who are installed with ghost. I have no problem to install Maple 10 if I install a fresh Suse 10.1 with the DVD Use ghost was not a good idea. But it's a good soft to deploy many Pcs. Le jeudi 5 octobre 2006 22:32, Carl Hartung a écrit :
On Thursday 05 October 2006 16:18, Paul Abrahams wrote:
Just out of curiosity, what use does the hostid have?
My guess: the systems that Fabien works on at the moment run an application ("Maple 10") which requires each client to have a unique Host ID, like a digital serial number. 'man hostid' :-)
regards,
Carl
On Thursday 05 October 2006 16:49, Fabien Chaudier wrote:
I trie to install Maple 10 on PCs who are installed with ghost. I have no problem to install Maple 10 if I install a fresh Suse 10.1 with the DVD Use ghost was not a good idea. But it's a good soft to deploy many Pcs.
Hi Fabien, Maybe there is a setting in Ghost needed for it to generate a unique Host ID? If you don't have the documentation, here are some links: Norton Ghost 2003 Product Guides: http://www.symantec.com/techsupp/home_homeoffice/products/ghost/ghost_2003/m... Symantec Ghost 8.0 Product Guides: http://www.symantec.com/techsupp/enterprise/products/symghost/symghost_8/man... Good luck! Carl
Thanks Carl for the documentation. I don't find nothing speaking about host id :( Le jeudi 5 octobre 2006 23:04, Carl Hartung a écrit :
On Thursday 05 October 2006 16:49, Fabien Chaudier wrote:
I trie to install Maple 10 on PCs who are installed with ghost. I have no problem to install Maple 10 if I install a fresh Suse 10.1 with the DVD Use ghost was not a good idea. But it's a good soft to deploy many Pcs.
Hi Fabien,
Maybe there is a setting in Ghost needed for it to generate a unique Host ID?
If you don't have the documentation, here are some links:
Norton Ghost 2003 Product Guides: http://www.symantec.com/techsupp/home_homeoffice/products/ghost/ghost_2003/ manuals.html
Symantec Ghost 8.0 Product Guides: http://www.symantec.com/techsupp/enterprise/products/symghost/symghost_8/ma nuals.html
Good luck!
Carl
With hwinfo --all i can see all information about the hardware. Is it possible to find a command like hwinfo --reset-all ? May be... Le jeudi 5 octobre 2006 23:04, Carl Hartung a écrit :
On Thursday 05 October 2006 16:49, Fabien Chaudier wrote:
I trie to install Maple 10 on PCs who are installed with ghost. I have no problem to install Maple 10 if I install a fresh Suse 10.1 with the DVD Use ghost was not a good idea. But it's a good soft to deploy many Pcs.
Hi Fabien,
Maybe there is a setting in Ghost needed for it to generate a unique Host ID?
If you don't have the documentation, here are some links:
Norton Ghost 2003 Product Guides: http://www.symantec.com/techsupp/home_homeoffice/products/ghost/ghost_2003/ manuals.html
Symantec Ghost 8.0 Product Guides: http://www.symantec.com/techsupp/enterprise/products/symghost/symghost_8/ma nuals.html
Good luck!
Carl
On Thursday 05 October 2006 17:39, Fabien Chaudier wrote:
With hwinfo --all i can see all information about the hardware. Is it possible to find a command like hwinfo --reset-all ? May be...
Fabien, You need to check for a difference between the "SUSE install" and the Ghosted install in the file /etc/hostid Also, there are actually three commands pertaining to hostid: sethostid gethostid hostid (all require superuser permissions) Each has a man page, too. ;-) Again, my first action would be to inspect what difference exists between the /etc/hostid file created during the SUSE install and the Ghosted installations. I think I've run out of ideas, now. :-) Good luck! Carl
With the "SuSE install" /etc/hostid does not exist I know hostid but how calculate the numeric value ? Le vendredi 6 octobre 2006 00:16, Carl Hartung a écrit :
Fabien,
You need to check for a difference between the "SUSE install" and the Ghosted install in the file /etc/hostid
Also, there are actually three commands pertaining to hostid:
sethostid gethostid hostid (all require superuser permissions)
Each has a man page, too. ;-)
Again, my first action would be to inspect what difference exists between the /etc/hostid file created during the SUSE install and the Ghosted installations.
I think I've run out of ideas, now. :-)
Good luck!
Carl
On Thursday 05 October 2006 18:30, Fabien Chaudier wrote:
With the "SuSE install" /etc/hostid does not exist I know hostid but how calculate the numeric value ?
If you're in Paris, Fabien, send me a ticket and I'll come do it for you! ;-) Let me make sure I understand this: The 'original SUSE' (note it is all caps, now) installation does *not* produce an /etc/hostid file, but Maple 10 installs happily on the system. The Ghost install /does?/ create an /etc/hostid file and Maple 10 will /not?/ install happily on the system? Am I understanding this correctly? Carl
On Thursday 05 October 2006 18:30, Fabien Chaudier wrote:
With the "SuSE install" /etc/hostid does not exist I know hostid but how calculate the numeric value ?
If you're in Paris, Fabien, send me a ticket and I'll come do it for you! ;-) I live in Lyon Let me make sure I understand this:
The 'original SUSE' (note it is all caps, now) installation does *not* produce an /etc/hostid file, but Maple 10 installs happily on the system.
Le vendredi 6 octobre 2006 00:52, Carl Hartung a écrit : the 'original suse does not produce an /etc/hostid file and Maple 10 installs happily on the system
The Ghost install /does?/ create an /etc/hostid file and Maple 10 will /not?/ install happily on the system?
The Ghost install does not create an /etc/hostid file and with or without this file Maple 10 will not install on the system
Am I understanding this correctly?
Carl
On Thursday 05 October 2006 19:13, Fabien Chaudier wrote:
the 'original suse does not produce an /etc/hostid file and Maple 10 installs happily on the system
The Ghost install does not create an /etc/hostid file and with or without this file Maple 10 will not install on the system
I noticed your earlier comment and question:
With hwinfo --all i can see all information about the hardware. Is it possible to find a command like hwinfo --reset-all ?
I can think of one situation that might prompt a question like this. Are these systems built using /exactly/ the same hardware? Or are they just somewhat similar, like a group of same brand but different model number PC's with new (identical make/model) drives added ? Please explain why you would want to "reset all" hardware? Along the same vein, after writing the Ghost image, are these systems booting normally or are they spitting out any errors? regards, Carl
On Friday 06 October 2006 00:16, Carl Hartung wrote:
Also, there are actually three commands pertaining to hostid:
sethostid gethostid hostid (all require superuser permissions)
Each has a man page, too. ;-)
The get/sethostid are C-level calls, not applications. man sethostid NAME gethostid, sethostid - get or set the unique identifier of the current host SYNOPSIS #include <unistd.h> long gethostid(void); int sethostid(long hostid); -- ----- stephan@s11n.net http://s11n.net "...pleasure is a grace and is not obedient to the commands of the will." -- Alan W. Watts
On Friday 06 October 2006 17:12, stephan beal wrote:
The get/sethostid are C-level calls, not applications.
man sethostid
NAME gethostid, sethostid - get or set the unique identifier of the current host
SYNOPSIS #include <unistd.h> long gethostid(void); int sethostid(long hostid);
*That'll* teach me to scroll down and read the 'fine print' next time... how embarrassing! Thanks, Stephan. Carl
Paul Abrahams wrote:
Just out of curiosity, what use does the hostid have?
It was originally *THE* hardware ID for a machine. Globally unique, hardwired into the machine. MAC addresses have largely taken over this function now nearly every machine has a network interface. It was used for any purpose in the system that required a unique address. This included various software packages that wanted to lock licences to particular machines. Over time, it became possible to change hostids, because it can simplify replacing a failed machine, for example, in the same way it became possible to change MAC addresses. It's use by the system has gone away, so it's now just used by some dinosoar software licensing systems. Some include their own programs to generate a suitable ID. Cheers, Dave
For example, i have the following adresse 134.214.141.188 Now, in hexa is 86.d6.8d.bc The host ID is : 0xd686bc8d I tried to explain : From the left, the fourth byte is permuted with the third byte From the right, the first byte is permuted with the second byte The name of the NIC of all ghosted pcs had eth1 or eth2. Maple ask eth0 I modify /etc/udev/rules.d/30-net_persistent_names.rules to have eth0 Now I can install Maple 10 !!! Thank in all people who help me. Sorry for my english Le vendredi 6 octobre 2006 12:15, Dave Howorth a écrit :
Paul Abrahams wrote:
Just out of curiosity, what use does the hostid have?
It was originally *THE* hardware ID for a machine. Globally unique, hardwired into the machine. MAC addresses have largely taken over this function now nearly every machine has a network interface.
It was used for any purpose in the system that required a unique address. This included various software packages that wanted to lock licences to particular machines.
Over time, it became possible to change hostids, because it can simplify replacing a failed machine, for example, in the same way it became possible to change MAC addresses.
It's use by the system has gone away, so it's now just used by some dinosoar software licensing systems. Some include their own programs to generate a suitable ID.
Cheers, Dave
-- Fabien Chaudier INSA - Département Biosciences 11 avenue Jean Capelle 69621 Villeurbanne Cedex Tél. : (33)04 72 43 89 96 Fax. : (33)04 72 43 85 11
participants (6)
-
Carl Hartung
-
Chaudier Fabien
-
Dave Howorth
-
Fabien Chaudier
-
Paul Abrahams
-
stephan beal