The chemical reactions and pathways resulting in the formation of rhamnogalacturonan II, a low molecular mass (5 - 10KDa) pectic polysaccharide, conserved in the primary walls of dicotyledenous and monocotyledenous plants and gymnosperms.