The metabolic pathways for generating glucose to meet the body's glucose needs. Gluconeogenesis in the liver and to some extent in kidney is the major pathway of glucose production; glycogenolysis is another route for generating glucose in these tissues.