Military planners across Europe and Asia are stepping up preparations amid fears that the world is edging toward a wider conflict.