Bartholin's gland. The Bartholin's glands (also called Bartholin glands or greater vestibular glands) are two pea sized compound racemose glands located slightly posterior and to the left and right of the opening of the vagina. They secrete mucus to lubricate the vagina and are homologous to bulbourethral glands in males.