A chamberlain is an officer in charge of managing a household. In many countries there are ceremonial posts associated with the household of the sovereign. (source)