This paper proposes a new leader–follower-based consensus vibration controller to actively suppress unwanted oscillations in distributed-parameter flexible structures. Actuation and sensing is performed via piezoelectric layers in a collocated sense. The actuator/sensor patches for the vibration control system are considered to collaborate in a network, and follow a virtual leader which is accessible to all agents. Hence, a vibration controller law is defined, to remove disagreement between agents and force the agents to follow the virtual leader. The proposed approach is an observer-based design, in which an optimal consensus state estimator is initially designed. Stability of the closed-loop system is investigated and the optimality conditions of the system are derived. Although the designed vibration controller could be implemented for suppression tasks in different distributed-parameter systems, a flexible clamped-clamped beam is used here for equation derivation and numerical performance verification. According to the results, the optimal observer estimates the system states in a finite time, as expected, and the vibration controller suppresses unwanted oscillations, either in resonant or arbitrary form, to a much lower level; while the disagreement between agents converges to zero. Additionally, suppression performance and robustness of the controller to failure in control system elements is investigated in comparison with a conventional positive position feedback controller, and its superiority is illustrated and discussed.