Be very careful with which magnesium media you use. Many people used dolomite in the past but there is a drawback to using dolomite. A calcium reactor dossolves aragonite media which leaves an effluent which is a combination of ca and alkalinity in equal proportions to what reef inhabitants utilize. Meaning, with a calcium reactor your ca/alk balance won't get out of wack (and will actually stay quite equally aligned) unless you have some sort of major precipitation event or add an addative that contains one or the other. Calcium reactors add ca and alk in equal proportions the same way that kalk does. When using dolomite in a calcium reactor to maintain mag levels you'll get a release of magnesium, however, you'll also get a significant release of alkalinity in addition. This will leave you with an ever increasing alkalinity if you keep your ca and mag levels steady or (in reverse) if you keep your alk levels steady your ca will decrease with time. The rate and severity at which this occurs is dependant on the effluent rate, ca/alk/mag consumption rate of your tank, and any other supplements you provide which also contain ca, alk, or mag.
No worries, there's a solution. There is a magnesium media on the market which doesn't release large amounts of alkalinity and will keep your params in alignment when used in addition to common aragonite media in a ca reactor.
The only place I have found it is at Zeovit USA.
ZEOMag*::*Zeovit Media & Misc.*::*ZEOvit USA
There may very well be other suppliers with the same product but I'm just not aware of them. I've used this product for over a year to maintain my mag levels and it's worked wonderfully with no imbalance of ca, alk, or mag (if used in the appropriate amount in relation to the tanks consumption rate). The rule of thumb is 10-15% zeo mag to 85 or 90% aragonite media.
Boomer on RC is an expert on geology/chemistry and can help you with further details if you have any questions on dolomite vs zeomag media (which is really "activated" dolomite).
Here's a thread in which he explained the details to me. It took me a while to comprehend the chemistry but Boomer is a great guy and eventually put it in plain terms that I was able to comprehend.
Reef Central Online Community - Dolomite in a ca reactor
Jeremy