Do not create datasets on passive node

Ticket:	#4450
(cherry picked from commit c85901fb5228c89369d0c5d1bb458c1687c3557b)