HG02 said..
Personally id add some biocide and the rin the motor so the diesel and avvitve run through the fuel system and if possible concect a fresh water hose the the cooling inlet and run the motor on the hard once a month
Oil and crank bearings can corode just sitting idle ive seen a gen set on stand by for a year or so that vibration from the main generator brinals the crank bearings
Tried to write this on my phone which seems to have a problem with my large fingers
Ok
I would think of running the motor maybe once a month and connect the cooling system to a main pressure hose .
Crank shaft bearings can show up with surface imperfections just sitting on the crank journals over a period of time even if you could just rotate the motor a few revolutions every mont wouold be far better than it sitting there in the same position over two years
Id mix in some biocide in the fuel and then remove most of your fuel from the tank and use it the bacterial growth only occurs in the fuel not a empty tank.
and seal up any engine openings ( inlet and exhaust openings also plug your cooling system inlet ) if you are not going to turn the motor over or start it