In regard to: [Networker] changing client name?, Sid Shapiro said (at...:
Hello,
Some of my clients have moved from one sub-domain to another. Is there a
way to change the name on the server (7.4.2) without losing the indexes
and data associated with the client, yet only have the new, correct fqdn
in place?
Yes, it's covered in a knowledgebase article (I don't have the article
handy).
The procedure is (roughly)
- make a note of the client id. You will need to do
View->Diagnostic Mode
in the NetWorker Administrator to see the client id (it's on Globals 1 of
2 tab) or use mminfo to get that info:
mminfo -q client=your_client_name -r clientid
- delete the client using nsradmin or the GUI. The client indexes will
remain.
- at this point, we normally shut down the NetWorker server software,
though I'm fairly certain that's not required.
- rename the client index directory to be the correct name, e.g.
cd /nsr/index
mv oldclient.yourdomain.com newclient.yourdomain.com
- start up NetWorker, if you were paranoid and shut the software down
- create the client using the new name BUT being certain to fill in
the client ID from the old client. You will likely have to do
a View->Diagnostic Mode before you try create the client, to have
the option of specifying the client id.
That should be it.
Tim
--
Tim Mooney Tim.Mooney AT ndsu DOT
edu
Enterprise Computing & Infrastructure 701-231-1076 (Voice)
Room 242-J6, IACC Building 701-231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164
To sign off this list, send email to listserv AT listserv.temple DOT edu and type
"signoff networker" in the body of the email. Please write to networker-request
AT listserv.temple DOT edu if you have any problems with this list. You can access the
archives at http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
|