Forum Discussion

L_BR's avatar
L_BR
Level 5
8 years ago
Solved

Adding new Media Server to Storage Server via CLI

I'm trying to create and update a Storage Server via CLI. I can do this perfectly fine from the GUI but work is quiet and I'm experimenting more and more with CLI.

I can create the STS just fine using nbdevconfig -creatests etc. It adds the Storage Server.

I then run tpconfig to update the STS with username/password and this also works.

When I try to update the STS using nbdevconfig -updatests I get the following error:

PS E:\Program Files\Veritas\Volmgr\bin> nbdevconfig -updatests -storage_server dd.name.evs -stype DataDomain          -media_server media.name.evs -reason "testing cli"
RDSM has encountered an STS error: getStorageServerInfo
Failed to update storage server dd.name.evs, authentication failed
PS E:\Program Files\Veritas\Volmgr\bin>

After running the tpconfig command, I can add the media servers from GUI just fine so there can't be something wrong with the authentication. Am I missing a command to run?

  • Replying to my own post is dumb but I found the solution.

    perform TPCONFIG on the media server you wish to add and then return to the master server and perform -updatests and it will work.

     

2 Replies

  • Replying to my own post is dumb but I found the solution.

    perform TPCONFIG on the media server you wish to add and then return to the master server and perform -updatests and it will work.

     

    • Nicolai's avatar
      Nicolai
      Moderator

      Not at all since you found and shared the solution :-)