Skip on passive node and use proper method to get dataset setttings

Ticket:	#5399
(cherry picked from commit 1470063ee85e3a25c0cbf379fd6f1c4458f16bd2)