There are two options:

1) Rename the volume names to match what vdisk1 and vdisk2 expects. For
this you need to use remove-vdsdev followed by add-vdsdev to remove the
volumes from primary-vds0 first and then add them back with the new volume
names.

2) Another alternative is to modify the volumes vdisk1 and vdisk2 should
bind to. You can use set-vdisk volume=<vol-name> to change them.

Ranen
===

Jayanthi krishnamurthy wrote:
> Thanks Eric and Octave. 
>
> I was able to dump the config and import it. But I could not bind the domain.
>
> sunlic1-ldom # ldm bind-domain nysunlic1
> No matching volume vol1-nysunlic1 for vds server with name primary-vds0
> Unable to bind client vdisk1
> No matching volume vol2-nysunlic1 for vds server with name primary-vds0
> Unable to bind client vdisk2
> sunlic1-ldom # 
> sunlic1-ldom # pwd  
> /
> sunlic1-ldom # cd /opt
> sunlic1-ldom # more jayanthi.xml
> <?xml version="1.0"?>
> <LDM_interface version="1.0">
>   <data version="2.0">
>     <ldom>
>       <ldom_info>
>         <ldom_name>nysunlic1</ldom_name>
>       </ldom_info>
>       <cpu>
>         <number>56</number>
>       </cpu>
>       <memory>
>         <size>4108M</size>
>       </memory>
>       <network>
>         <vnet_name>vnet0</vnet_name>
>         <service_name>primary-vsw0</service_name>
>       </network>
>       <network>
>         <vnet_name>vnet1</vnet_name>
>         <service_name>primary-vsw1</service_name>
>       </network>
>       <disk>
>         <vdisk_name>vdisk1</vdisk_name>
>         <service_name>primary-vds0</service_name>
>         <vol_name>vol1-nysunlic1</vol_name>
>       </disk>
>       <disk>
>         <vdisk_name>vdisk2</vdisk_name>
>         <service_name>primary-vds0</service_name>
>         <vol_name>vol2-nysunlic1</vol_name>
>       </disk>
>       <var>
>         <name>auto-boot?</name>
>         <value>false</value>
>       </var>
>       <var>
>         <name>boot-device</name>
>         <value>pri_os sec_os</value>
>       </var>
>       <var>
>         <name>keyboard-layout</name>
>         <value>US-English</value>
>       </var>
>       <var>
>         <name>local-mac-address?</name>
>         <value>true</value>
>       </var>
>       <var>
>         <name>nvramrc</name>
>         <value>devalias pri_os /virtual-devices at 100/channel-devices at 
> 200/disk at 0:a
> devalias sec_os /virtual-devices at 100/channel-devices at 200/disk at 1:a
> devalias BLP1_200812112217_up27.3d /virtual-devices at 100/channel-devices at 
> 200/disk at 0
> devalias BLP1_200901042258_up23.3d /virtual-devices at 100/channel-devices at 
> 200/disk at 0:a</va
> lue>
>       </var>
>       <var>
>         <name>use-nvramrc?</name>
>         <value>true</value>
>       </var>
>     </ldom>
>   </data>
> </LDM_interface>
> sunlic1-ldom # 
> sunlic1-ldom # 
> sunlic1-ldom # 
> sunlic1-ldom # 
> sunlic1-ldom # pwd
> /opt
> sunlic1-ldom # ldm list-bindings | more
> NAME             STATE    FLAGS   CONS    VCPU  MEMORY   UTIL  UPTIME
> primary          active   -n-cv   SP      8     1G       4.5%  11m
>
> MAC
>     00:21:28:05:3b:6c
>
> VCPU
>     VID    PID    UTIL STRAND
>     0      0       14%   100%
>     1      1      2.8%   100%
>     2      2      1.9%   100%
>     3      3      0.7%   100%
>     4      4       11%   100%
>     5      5      3.2%   100%
>     6      6      1.4%   100%
>     7      7      0.6%   100%
>
> MAU
>     CPUSET
>     (0, 1, 2, 3, 4, 5, 6, 7)
>
> MEMORY
>     RA               PA               SIZE            
>     0xe000000        0xe000000        1G
>
> VARIABLES
>     auto-boot?=false
>     boot-device=/pci at 400/pci at 0/pci at 8/scsi at 0/disk at 0,0:a disk net
>     keyboard-layout=US-English
>     local-mac-address?=true
>     nvramrc=devalias net /pci at 500/pci at 0/pci at 8/network at 0
> ." ChassisSerialNumber BEL083337V " cr
> devalias BLP1_200901042222_up104.5d /pci at 400/pci at 0/pci at 8/scsi at 
> 0/disk at 0,0
>     security-mode=none
>     security-password=
>
> IO
>     DEVICE           PSEUDONYM        OPTIONS
>     pci at 400          pci_0           
>     pci at 500          pci_1           
>
> VDS
>     NAME             VOLUME         OPTIONS          DEVICE
>     primary-vds0     vol1-sunlic1-new                  
> /export1/sunlic1-bootdisk1
>                      vol2-sunlic1-new                  
> /export2/sunlic1-bootdisk2
>
> VCC
>     NAME             PORT-RANGE
>     primary-vcc0     5000-5100
>
> VSW
>     NAME             MAC               NET-DEV   DEVICE     MODE
>     primary-vsw0     00:14:4f:f8:ce:4b nxge4     switch at 0   prog,promisc
>     primary-vsw1     00:14:4f:f9:dd:61 nxge5     switch at 1   prog,promisc
>     primary-vsw2     00:14:4f:fb:d5:f0 nxge6     switch at 2   prog,promisc
>     primary-vsw3     00:14:4f:f9:47:8c nxge7     switch at 3   prog,promisc
>
> VCONS
>     NAME             SERVICE                     PORT
>     SP
>
> ------------------------------------------------------------------------------
> NAME             STATE    FLAGS   CONS    VCPU  MEMORY   UTIL  UPTIME
> nysunlic1        inactive -----           56    4108M          
>
> VARIABLES
>     auto-boot?=false
>     boot-device=pri_os sec_os
>     keyboard-layout=US-English
>     local-mac-address?=true
>     nvramrc=devalias pri_os /virtual-devices at 100/channel-devices at 
> 200/disk at 0:a
> devalias sec_os /virtual-devices at 100/channel-devices at 200/disk at 1:a
> devalias BLP1_200812112217_up27.3d /virtual-devices at 100/channel-devices at 
> 200/disk at 0
> devalias BLP1_200901042258_up23.3d /virtual-devices at 100/channel-devices at 
> 200/disk at 0:a
>     use-nvramrc?=true
>
> NETWORK
>     NAME             SERVICE                     DEVICE     MAC
>     vnet0            primary-vsw0                network at 0  
> 00:14:4f:fa:0a:56
>     NAME             SERVICE                     DEVICE     MAC
>     vnet1            primary-vsw1                network at 1  
> 00:14:4f:fb:53:31
>
> DISK
>     NAME             VOLUME                      TOUT DEVICE  SERVER          
>     vdisk1           vol1-nysunlic1 at primary-vds0      disk at 0 
>     vdisk2           vol2-nysunlic1 at primary-vds0      disk at 1 
>
> VCONS
>     NAME             SERVICE                     PORT
>     nysunlic1        primary-vcc0                      
>
> sunlic1-ldom # 
> sunlic1-ldom # 
>
> I can the see the  primary-vds0   with the old name. Could you please let me 
> know how to change it? Can I remove the vds and re-create it? Could you 
> please let me know.
>
> Thanks Again!
> Jayanthi
>   


Reply via email to