While the ham is cooking, mix the cherry preserves, merlot, and Dr. Pepper in a blender and blend until the cherries are not chunky. Be carefull as the Dr. Pepper will foam up when blended. Put the mixture in a small sauce pot, add 2 Tbsp brown sugar and black pepper, and stir over medium-low heat until reduced at least by half, or until syrupy.