Inleiding
Dit document beschrijft hoe u een standaardhostgroep opnieuw kunt opbouwen met de juiste host-group-id nadat deze is verwijderd.
Voorwaarden
Vereisten
Er zijn geen specifieke vereisten van toepassing op dit document.
Gebruikte componenten
Dit document is niet beperkt tot specifieke software- en hardware-versies.
De informatie in dit document is gebaseerd op de apparaten in een specifieke laboratoriumomgeving. Alle apparaten die in dit document worden beschreven, hadden een opgeschoonde (standaard)configuratie. Als uw netwerk live is, moet u zorgen dat u de potentiële impact van elke opdracht begrijpt.
Probleem:
Standaard hostgroepen hebben 2-cijferige ID’s (bijvoorbeeld 28, 30) maar door de gebruiker gemaakte hostgroepen hebben 5-cijferige ID’s (bijvoorbeeld 50081). Als een gebruiker een standaardhostgroep verwijdert en deze vervolgens opnieuw creëert als een aangepaste hostgroep, heeft deze een groter ID # en kunnen sommige dingen niet goed werken vanwege dit. De hostclassificatie kan de nieuwe hostgroep bijvoorbeeld niet vinden vanwege de onjuiste ID #. Om dit te verhelpen moet ID # overeenkomen met de standaardwaarde.
Oplossing:
De hostgroep importeren
Importeer een hostgroep met de juiste ID kan het probleem oplossen. U kunt dit vanuit een back-up importeren of de hostgroep vanuit een ander systeem exporteren. Indien nodig maakt u een nieuw domein op het systeem, exporteert u de gewenste hostgroepen en verwijdert u vervolgens het nieuwe domein.
Alternatieve oplossing:
Bewerk het veld host-group id tot de juiste waarde in de host_groups.xml (/lancope/var/smc/config/domain_<DOMAIN_ID>/host-groups.xml) kan ook het probleem corrigeren.
Opmerking: Er kan de noodzaak zijn om de Host Classifier App opnieuw te installeren nadat u de waarde van de host-groep-ID hebt bepaald, zodat het de vaste host-groepen correct kan ophalen.