If instead your question isn't pool related. and you want to know how mining software that does solo mining, avoids the problem of generating the same work, when you run two solo miners, then you need to ask that in the "Mining Software" section here:
https://bitcointalk.org/index.php?board=42.0