[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
re[2]: Clusterwide pids
Let us summarize a bit:
-most people agrees we need unique CPID even if the process is something we
know is not going to migrate as init.
-that CPID will be node number + local pid
- We don't want to recompile userspace apps so we do our own system calls,
which maybe :
* getcpid to get the ¿64bits? with the standard getpid returning the low 32
bits of the CPID
* getnode(pid) with 0 if process if local , nonzero otherwise.
Then we have a question left: ¿How we manage to get unique CPIDs ?
What number node a machine must have, ¿read it from /etc? ¿read it a la HDLC?
i have missed something?
--
Jordi
Student of Spain
Linux-cluster: generic cluster infrastructure for Linux
Archive: http://mail.nl.linux.org/linux-cluster/