Of course Dooku knew Sidious and Palpatine were the same person. That was the whole point.
And isn't the point of this thread.
What was being asked, is whether or not Palpatine planned Dooku's death by Anakin's hand.
The blatant answer is, yes. Dooku didn't even see it coming, as shown by the look on his face when Palps says "Kill him".