How to introduce a new SMB SR path to a already existing SR with same SR-UUID in xenserver

How to introduce a new SMB SR path to a already existing SR with same SR-UUID in xenserver

book

Article ID: CTX216997

calendar_today

Updated On:

Description

Sometimes we may need to change the IP of the SMB share where VHD files are stored. This article will help in changing the SR parameters without changing the UUID of the Storage repository


Instructions


1. Unplug the existing PBD's with the storage using below command

 # xe pbd-list sr-uuid=<SMB_SR-UUID>
 # xe pbd-unplug uuid=<PBD-UUID>

 
Do it for all the PBD's

2. Destroy all the PBD's listed in step 1

 #xe pbd-destroy uuid=<PBD-UUID>

3. Create new PBD's for all hosts using below command.

#xe pbd-create sr-uuid=<SR-UUID> host-uuid=<HOST-UUID> device-config:server=\\\\<Server-name/ip>\\<path> device-config:username=<Server ip>\\<username> device-config:password=<password>

4. Try re-attaching the SR through xencenter and give the details of server, path and the username/password.

 

Issue/Introduction

This article tells about the procedure of introducing a new SMB path to a existing SR with the same SR-UUID