Dynamics of a harmonic oscillator coupled with a Glauber amplifier