When I was first tested for Vitamin D status 2 years ago my hemoglobin was averaging 7. I tried different supplements but had reactions to all of them (headaches, bruising, etc). So I bought an old sun lamp on eBay and a vitamin D meter which gives you the equivalent of vitamin D in units from the UV light.
I only do 10 minutes with the lamp per day since you don't want to get enough to tan, just enough to stimulate vitamin D production. With my lamp that translates into 3000 units of D per exposure. My blood count started rising and stays around 9-10 now, but only if I do the sun lamp every day. If I miss several days the count starts going down. My immune profile also improved dramatically and the cancer I had in my kidney started shrinking.
I am a firm believer in Vitamin D therapy, either supplements or reasonable UV exposure. Tanning beds are not a good way to get UV, but the older lamps with a large bulb have a broad spectrum of UV and work fine. Where I live there is not adequate UV from sunlight from October through April. My meter tells me exactly how much I'm getting from outside light, too, but it's much less predictable than using a lamp.
Jan