Vacuums carry the risk of electrical discharge on the server components, as for how, I am not sufficient enough at explaining something that a simple google won’t do better.
I few links I found googling that may explain it better than I would: https://www.reddit.com/r/sysadmin/comments/6974b1/how_close_can_vacuum_get_to_server_rack/dh493a1/
What you would probably want is an ESD safe vacuum cleaner, Or just get one that is grounded with a decently long hose and avoid contact with the server equipment
I vacuum the intake side of my rack equipment and floor (carpet!) in the data center every year. I use a DeWalt cordless shop vac.
Never had trouble with ESD.
I’m not sure about other folks server rooms, but all of my servers and network equipment are enclosed in metal chassis provided by the manufacturer and are bolted into grounded racks. There’s no exposed circuits on anything for ESD to even jump to.