<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _get_host_switches(self, host_id):
 """Get switch IPs from configured host mapping. This method is used to extract switch information from transactions where VNIC_TYPE is normal. Information is extracted from ini file which is stored in _nexus_switches. :param host_id: host_name from transaction :returns: list of all switches :returns: list of only switches which are active """


        all_switches = set()
        active_switches = set()

        try:
            host_list = nxos_db.get_host_mappings(host_id)
            for mapping in host_list:
                all_switches.add(mapping.switch_ip)
                if self.is_switch_active(mapping.switch_ip):
                    active_switches.add(mapping.switch_ip)
        except excep.NexusHostMappingNotFound:
            pass

        return list(all_switches), list(active_switches)