A working example on how to delete LCFG profiles, either when disposing of equipment or converting a DICE machine to self-managed. Replace "briggitenau" with your machine name.

Remove any mac locks

Firstly, make sure to remove any mac lock from any of the network switch files. Search on the relevant site (edge, atnet, bayesnet)

[algaida]carol: rfe -xf edge/briggitenau

Delete the profile, and archive it

[algaida]carol: rfe -xD lcfg/briggitenau

This deletes the master file, and copies its RCS file into an archive. (The rfe -xd script deletes a profile temporarily, such that the next attempt to view the file will reinstate it!)

Delete the IP address

Do this step last. Remove the machine from the dns:

[algaida]carol: rfe -xf dns/briggitenau
>>> IPv4 results for zone "inf" <<<
129.215.212.258 briggitenau
>>> IPv6 results for zone "inf6" <<<
subnet 212: %slaac briggitenau

(search for all instances of the host in inf, inf6, etc.)

[algaida]carol: rfe dns/briggitenau

(delete instance; save; quit...)

[algaida]carol: rfe dns6/briggitenau

-- CarolDow - 23 Sep 2019

-- GrahamDutton - 07 Jan 2020

Topic revision: r3 - 07 Jan 2020 - 15:03:19 - GrahamDutton
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
This Wiki uses Cookies