select package_id from apm_packages where package_key = 'acs-kernel' select package_id from apm_packages where package_key = 'acs-admin' select node_id from host_node_map where host = :host