WHEREIS

############# 스토리지 추가 할당



[root@xenq3-1 1]# xe host-list

uuid ( RO)                : 88fbfd41-3cdf-4c77-a849-b4da9b3ba5e3

          name-label ( RW): ????-xenq3-1, int??????

    name-description ( RW): 2016/01/19, int??????, ??????, ??????





[root@xenq3-1 1]# xe sr-create host-uuid=88fbfd41-3cdf-4c77-a849-b4da9b3ba5e3 content-type=user name-label="Local Storage2" device-config:device=/dev/sdb type=lvm

8c2ecdcd-07f1-d087-2337-6e265cb2e73e





[root@xenq3-1 1]# xe sr-list

uuid ( RO)                : 33ae907f-c27e-8bad-a950-828c6d301c1b

          name-label ( RW): Removable storage

    name-description ( RW): 

                host ( RO): ????-xenq3-1, int??????

                type ( RO): udev

        content-type ( RO): disk



uuid ( RO)                : b1dc55e4-cb58-f8af-e59a-84a1db0666ff

          name-label ( RW): DVD drives

    name-description ( RW): Physical DVD drives

                host ( RO): ????-xenq3-1, int??????

                type ( RO): udev

        content-type ( RO): iso

uuid ( RO)                : 25a14ca4-540d-220f-d367-ce0a95c2c003

          name-label ( RW): XenServer Tools

    name-description ( RW): XenServer Tools ISOs

                host ( RO): ????-xenq3-1, int??????

                type ( RO): iso

        content-type ( RO): iso



uuid ( RO)                : d7032ca3-8f74-d44c-0554-1c879a9654e2

          name-label ( RW): Local storage

    name-description ( RW): 

                host ( RO): ????-xenq3-1, int??????

                type ( RO): lvm

        content-type ( RO): user



uuid ( RO)                : 8c2ecdcd-07f1-d087-2337-6e265cb2e73e

          name-label ( RW): Local Storage2

    name-description ( RW): 

                host ( RO): ????-xenq3-1, int??????

                type ( RO): lvm

        content-type ( RO): user












########### VM 스토리지 copy






[root@xenq3-1 /]# xe vm-list

uuid ( RO)           : 27f84331-fab6-23c8-4033-048eb16a5583

     name-label ( RW): intmobileweb1

    power-state ( RO): running



uuid ( RO)           : 8946ad6c-2f91-a0f2-8b5c-850e88a4fa6d

     name-label ( RW): intmobilefile1

    power-state ( RO): halted



uuid ( RO)           : 5c545522-90b4-48dd-9bcd-a59d049d0ed7

     name-label ( RW): Control domain on host: xenserver-siaiebmv

    power-state ( RO): running






[root@xenq3-1 /]# xe vm-copy vm="intmobilefile1" sr-uuid=8c2ecdcd-07f1-d087-2337-6e265cb2e73e new-name-label="intmobilefile1" 

8ba3cd2c-19cf-8baf-1046-323e395dbf92

[root@xenq3-1 /]# xe vm-copy vm="intmobilefile1" sr-uuid=8c2ecdcd-07f1-d087-2337-6e265cb2e73e new-name-label="intmobilefile1" 

8f37c263-0f7c-7f89-266d-59d04773bcac

[root@xenq3-1 /]# xe vm-copy vm="intmobileweb1" sr-uuid=8c2ecdcd-07f1-d087-2337-6e265cb2e73e new-name-label="intmobileweb1" 

You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running.  The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.

vm: 27f84331-fab6-23c8-4033-048eb16a5583 (intmobileweb1)

expected: halted

actual: running

[root@xenq3-1 /]# xe vm-copy vm="intmobileweb1" sr-uuid=8c2ecdcd-07f1-d087-2337-6e265cb2e73e new-name-label="intmobileweb1" 

'VM & Container > Xen' 카테고리의 다른 글

xen 7 버전 LVM 구성 시  (0) 2017.03.07
xen 6.0.2 LVM 구성  (0) 2016.12.20
nfs lib 제거  (0) 2016.08.10
xen nfs iso lib 제거  (0) 2016.06.09
xen 서버 매니지먼트 인터페이스 변경  (0) 2015.12.21

이 글을 공유합시다

facebook twitter kakaoTalk kakaostory naver band
loading