Question:
Does it get lit before YT or on the 2nd night?
Answer:
Hello,
There is controversy if it may be it on Yom Tov itself or not, nowadays we have 48 hour candles, which can be lit before Yom Tov, even if the Yahrzeit is on the second day. This is the preferred thing to do.
Best wishes
Sources:
Biur Halacha 514 -5 D:H Ner shel batala.