Ireland defended 154 to deny India in the closest possible margin as two debutants combined for five wickets in the greatest result in Irish cricket history.