ONTAP Discussions

unable to rejoin the vserver to domain after renaming vserver

MN90
1,103 Views

When we tried to rejoin the vserver to domain it did not ask for any password or account and we got error output as below:
Error: command failed; Failed to determine if site is a valid default side , Reason : SecD error: no server available

3 REPLIES 3

hmoubara
1,093 Views

Hello @MN90 

 

Can you share the command you using?

Did you change the vserver name or are you referring to the CIFS vserver?

 

Thanks 

 

MN90
1,010 Views

Yes we renamed the vserver first using below command:

vserver rename oldname newname

 

We are trying below command to rejoin it 

vserver cifs modify -vserver "vservername" -domain corp.domain.global -ou OU=SERVER,OU=MISC,OU="abc",OU=PROVIDER,DC=corp,DC="DCname",DC=global -default-site "" -status-admin up -comment ""

hmoubara
987 Views

Hello @MN90 

 

Renaming the data vserver is different then the cifs vserver. The cifs vserver is more like a service for CIFS to enable it within the data vserver.

If you trying to rename the cifs vserver. You will need to bring the cifs vserver status-admin down first, then you will be able to modify its name if needed. Keep in mind that renaming the data vserver using the command mentioned above (vserver rename) does not affect the cifs vserver.

 

So to rename the CIFS vserver:

 

1. Change the status to down:

cluster::> vserver cifs modify -vserver <vserver name> -cifs-vserver <cifs vserver name> -status-admin down

 

2. Change the name of the CIFS vserver:

cluster::>vserver cifs modify -vserver <vserver name> -cifs-vserver <New name for cifs vserver name>

It should prompt you asking for the admin credentials of the domain controller.

 

3.Bring the CIFS vserver back up:

cluster::> vserver cifs modify -vserver <vserver name> -cifs-vserver <New name cifs vserver name> -status-admin up

 

Let me know if this answer your concern.

 

Thanks 

Public