Serbia will host five-time champion Spain in the last eight of the World Group on April 7-9, 2017.
Nole and Viktor both won on the opening day to give Serbia a 2-0 lead over Russia going into Saturday’s doubles.
Viktor Troicki will open the first round for Serbia against Karen Kachanov before Novak faces Daniil Medvedev on Day 1.
The defending champion passed a tough first-round assignment with a 6-1, 7-6, 6-2 victory over Spaniard Fernando Verdasco (ATP #40).
The defending champion overcame a slow opening to beat German Jan-Lennard Struff 7-6 (1), 6-3 in one hour and 27 minutes.
Nole began his quest for a third US Open title with a 6-3, 5-7, 6-2, 6-1 victory over Jerzy Janowicz at Flushing Meadows on Monday night.
Nole suffered a tough 6-7 (4), 6-7 (2) defeat to Juan Martin del Potro at the Rio Olympics on Sunday evening.
The Serbian duo won their opening round match 6-2, 6-2 against Croatian combination of Marin Cilic and Marin Draganja.
The top seed opened his Wimbledon title defence campaign with a straight-sets victory over British wildcard James Ward.
Nole began his Roland Garros 2016 campaign on Tuesday, defeating world no.95 Yen-Hsun Lu 6-4, 6-1, 6-1.