Oracle数据库数据恢复、性能优化

找回密码
注册
搜索
热搜: 活动 交友 discuz
发新帖

2135

积分

502

好友

184

主题
1#
发表于 2012-5-9 13:14:52 | 查看: 2545| 回复: 0
How to Export VirtualBox Host Templates Within Virtual Desktop Infrastructure 3.0
Applies to:
Oracle Virtual Desktop Infrastructure - Version: 3.0 to 3.0 - Release: 3.0 to 3.0
Information in this document applies to any platform.
Goal
Following procedure describes the procedure to manually export VirtualBox host templates within Virtual Desktop Infrastructure (VDI) version 3.0.

Note: This functionality was formally added to the product with the 3.1 release.  Administrators of any subsequent releases of VDI should use the built-in export functionality for the fastest, and smoothest user experience.

Solution
To export VirtualBox hosts from Virtual Desktop Infrastructure:

1. Convert template to a Desktop:

    As an administrator, launch the VDI Admin Console
    Select the Pools tab.
    Select the desired pool.
    Select the desired host template.
    Copy to desktop.

Note! It is good administrative practice to duplicate the template first, and work with the copy so that you do not disturb cloning in a production system.

2. Start the desktop machine (or template). This step is needed to display the template in the output of the VBoxManage list command.

    Within the VDI Admin Console,
    Select the Pools tab,
    Select the desired Pool,
    select the desired virtual machine, and Start it.


3. Tell the iSCSI initiator to accept static iSCSI connections:

    /usr/sbin/iscsiadm modify discovery --static enable


4. Identify the IQN of the iSCSI target.

The easiest way to do this is to look at the VM as it is registered on the VirtualBox hosts.

    /usr/bin/VBoxManage list vms

It will show also the IQN and the host of the connected LUN


5. Mount the LUN into your Solaris VBox host:

    /usr/sbin/iscsiadm add static-config IQN,IP

Note: Record the virtual machine's unique IP, not the hostname.



6. List the new target

    /usr/sbin/iscsiadm list target -S

The last line contains the important output, for example:

OS Device Name: /dev/rdsk/c1t600144F04A97EBB50000144FEDF91800d0s2


7. Make a row copy of the content.  The following command demonstrates the syntax, and will need to be updated with values from the reader's environment.

    /usr/bin/dd if=/dev/rdsk/c1t600144F04A97EBB50000144FEDF91800d0p0 of=/var/tmp/test.out

    Note: It is necessary to replace the 's2' displayed at the end of the raw disk name with 'p0.'


8. Convert the raw file into a VDI file.   The following command demonstrates the syntax, and will need to be updated with values from the reader's environment.

    # /usr/bin/VBoxManage convertdd /var/tmp/test.out \\
      /var/tmp/Ubuntu-test.vdi


9. Umount the LUN mounted in step 5.

    /usr/sbin/iscsiadm remove static-config IQN,IP
下载专业ORACLE数据库恢复工具PRM-DUL  For Oracle http://www.parnassusdata.com/zh-hans/emergency-services

如果自己搞不定可以找诗檀软件专业ORACLE数据库修复团队成员帮您恢复!

诗檀软件专业数据库修复团队

服务热线 : 13764045638  QQ: 47079569   
您需要登录后才可以回帖 登录 | 注册

QQ|手机版|Archiver|Oracle数据库数据恢复、性能优化

GMT+8, 2024-11-15 14:46 , Processed in 0.048411 second(s), 22 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

回顶部
TEL/電話+86 13764045638
Email service@parnassusdata.com
QQ 47079569