Unsolved
This post is more than 5 years old
1 Rookie
•
16 Posts
0
8969
August 13th, 2014 07:00
NetWorker Server Migration
Hi
I need to migrate NetWorker Server to new host. The problem is that during this migration the server name also changes. For example at the moment NetWorker Server name is networker.example.com and after the migration it will be backup.example.com. I have followed the EMC procedure how to do it, but after I renamed the OS name to correct one the NetWorker server did not start and I saw error NetWorker Name changed could not start. So do you have any suggestions how to do that?
0 events found
No Events found!


ble1
6 Operator
•
14.4K Posts
•
56.2K Points
0
August 13th, 2014 17:00
Did you use "name to be" in alias field before renaming it?
crazyrov
6 Operator
•
1.3K Posts
1
August 13th, 2014 22:00
The problem is that in the client configuration you do not have any clint instance of the new name and thus your service wont come up. So as H already suggested add the new name in the aliases of the client configuration of the old name. Since you mentioned an FQDN i am assuming your server is on Windows. so follow the below procedure.
- open notepad and put the following into it and save as C:\add_alias.txt
. type: nsr client; name: oldname
update aliases: new_name;new_name.domain.com
- then with all the NetWorker services down run the following command (assuming NetWorker is installed in C:\Program Files)
> nsradmin -d "C:\Program Files\EMC NetWorker\nsr\res\nsrdb" -i C:\add_alias.txt
- try starting the services now.
MR-Datafox
1 Rookie
•
16 Posts
0
August 17th, 2014 13:00
Hi
I didn't use aliases, but I created the client before I renamed the server.
First I restored bootstrap to new server, then created new client with the same client id as the old server was. After that I tried to rename the OS, but then the NetWorker server did not started.
I used SolVe Desktop procedure for migration.
ble1
6 Operator
•
14.4K Posts
•
56.2K Points
0
August 17th, 2014 13:00
Renaming server client is always done in 3 steps where you need to create one temporary name in between old and new name - this is very well documented and KB article exists on this subject.
crazyrov
6 Operator
•
1.3K Posts
0
August 18th, 2014 02:00
Can you summarize the steps that you followed.
MR-Datafox
1 Rookie
•
16 Posts
0
August 18th, 2014 11:00
I will copy the steps from the procedure.
Renamed the NetWorker server from tempserver to target.emc.com To rename the NetWorker server:
f933b670-00000004-4e8bbf37-4e8bbf36-00010c00-99693f29
Found client: temp (server name),client id : xxxxxxxxx
Specify this client id or leave the client id blank. Otherwise the client name must first be renamed.
Renaming client source to target.emc.com.
Re-apply if this is desired.
Task 7: Rename the NetWorker server from tempserver to target.emc.com
Since the current operating system name is tempserver, the NetWorker server target.emc.com should also be renamed at the operating system level.
To rename a NetWorker server from tempserver to target.emc.com:
drivers
Task 8: Change the computer name
To change the computer name:
Task 9: Configure the NetWorker server with the new name
Consider the following before configuring the NetWorker server:
As a workaround, copy the index directory from the source NetWorker server before you bring the NetWorker configuration to the new server.
As a workaround, populate the … /drivers/etc/hosts file with all of the NetWorker clients that are configured in the Console.
To populate the … /drivers/etc/hosts file with all of the NetWorker clients that are configured in the Console:
net stop nsrexecd
C:\Program Files\Legato\nsr\res.R file to the following:
C:\Program Files\Legato\nsr\res
C:\Program Files\Legato\nsr\bin\nsrd.exe
By default, the res directory is under nsr. For example:
C:\Program Files\Legato\nsr\res\nsrdb
nsradmin –d C:\Program Files\Legato\nsr\res\nsrdb
create type:NSR client;name:target.emc.com
y
quit
net start nsrd
and now I get error that NetWorker Server cannot start.
crazyrov
6 Operator
•
1.3K Posts
0
August 19th, 2014 00:00
Did you rename the target server to a temporary name as mentioned in step Step 2. , FYI, it is referring to the hostname of the server and not the client instance name in NetWorker.
MR-Datafox
1 Rookie
•
16 Posts
0
August 19th, 2014 08:00
Yes I renamed the server to temporary name.
crazyrov
6 Operator
•
1.3K Posts
1
August 19th, 2014 08:00
please get the output of the following commands:
>cd "C:\Program Files\Legato\nsr\res"
> nsradmin -d nsrdb
nsradmin> . type: nsr client; name: old name
nsradmin> print
nsradmin> . type: nsr client; name: new name
nsradmin> print
MR-Datafox
1 Rookie
•
16 Posts
0
August 21st, 2014 02:00
The query with new name is empty.
nsradmin> . type: nsr client; name:target.emc.com
Current query set
nsradmin> print
No resources found for query:
name: target.emc.com;
type: nsr client;
if I create the client
nsradmin> create type:NSR client;name:target.emc.com
type: NSR client;
name: target.emc.com;
Create? y
created resource id 1.0.44.10.0.0.0.0.24.183.245.83.192.168.114.191(1)
nsradmin> . type: nsr client; name: target.emc.com
Current query set
nsradmin> print
type: NSR client;
name: target.emc.com;
and if I then close the database and then open it again the query is empty again.
The query with old name:
Current query set
type: NSR client;
aliases: source.emc.com;
application information: ;
archive services: Disabled;
archive users: ;
backup command: ;
backup config: ;
Backup renamed directories: Disabled;
backup type: ;
Block based backup: No;
browse policy: 2 Years;
Checkpoint enabled: Disabled;
Checkpoint granularity: Directory;
Client direct: Enabled;
client OS type: Windows NT Server on Intel;
the output is very long
crazyrov
6 Operator
•
1.3K Posts
0
August 21st, 2014 12:00
If you had done this right, there should be no client instance with the original name. as it should have been upated to the new name by assigning the client id of the source to the destination name when your backup server was re-named with the temporary intermediate name.
MR-Datafox
1 Rookie
•
16 Posts
0
August 25th, 2014 06:00
Yes, I know that but something went wrong. May be the problem is that the old is Windows 2003 Server and the new is Windows 2012 Server. Old server was upgraded from 7.6 but to new I installed NetWorker 8.1 and the NetWorker folders are in new location.
crazyrov
6 Operator
•
1.3K Posts
1
August 25th, 2014 08:00
Nope, that is not it. The resource database wont get changed.
I would suggest you to rename you back server to the original name and re-do the migration progress all over again.
MR-Datafox
1 Rookie
•
16 Posts
0
August 26th, 2014 13:00
I can try to do the procedure again. Do you think I should now use Alias file that you suggested?
crazyrov
6 Operator
•
1.3K Posts
0
August 27th, 2014 07:00
I believe it is better to go to the procedure of renaming the servers to a temporary hostname as it will ensure all your previous backups will be accessible and properly related.