Create a lab with 2 host.

Hello every one,
I recently bought 2 servers on which I installed Hyper-v. These 2 host has both 2 network cards.
I would like to know how to make the virtual machines communicates together on a switch between the hosts without internet.
My objective it's to create a VM with a Firewall software that provide internet (External network) to all vm in all host (Internal network).
Can you help me?

Hi phoenix2025,
Do you mean that you just want to create only one "firewall VM"  to provide internet for all VMs ,right?
"Provide internet" means to use NAT , right ?
If yes , I would  try to configure it with following steps :
First I assume that the hardware is :  Host A,Host B, physical switch A (can access internet through it ), physical switch B (only internal);
Host A with two physical NICs A1,A2 ;
Host B with two physical NICs B1,B2 ;
Configuration : A1,B1 connect to Switch A ; A2,B2 connect to Switch B .
1. In Host A create two external virtual switches : Vswitch A (bound to NIC A1) ,Vswitch B(bound to NIC A2 and uncheck "Allow management operating system to share this network adapter") .
2. In Host B do the same items.
3. In Host A create your "firewall VM" with two virtual NIC ,one connect to Vswitch A , another one (assume its IP is 192.168.1.1/24) connect to  Vswitch B .
4. configure IP in 192.168.1.x/24 subnet for all other VMs in Host A,B .Please do not forget the gateway 192.168.1.1
After this you may achieve your goal .
(If you have only one physical switch ,you may need to use Vlan to force these VM into seperate LAN )
Best Regards
Elton Ji
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place.

Similar Messages

  • Creating folder dynamically with host command or any solution?

    I am working on storing BFILES against thier record. I need to know that how can i perform following tasks if i use host command or any other way if i can do this.
    1.     As there can be many categories agaist which i need to store files, first i need a separate folder for each category, I am looking for some solution that whenever any user creats new category then against that categoy a folder must be auto created.
    2.     when i insert records against any category then files should be stored in their specific directory.
    I hope It will clear to readers that whta i am looking for.
    I am using forms 10.1.2.3, on XP SP-3, WEBUTIL CONFIGURED.
    Regards
    Naveed

    I already made the changes in webutil file, but if you can please tell that does it Support UNC path,
    I changed webutil.cfg as follow
    transfer.appsrv.write.1=c:\temp,\\sermachine\test
    transfer.appsrv.read.1=c:\temp,\\sermachine\test
    but when i run the form i got following error,
    WUC-8: Server side logging was requested but no log file was specified - logging is disables
    Now i don't know that what should I change to work it with on UNC path.
    Thanks in Advance.
    Edited by: 853604 on Aug 18, 2011 10:41 AM

  • I have created my site with Muse and have uploaded to an external ftp hosting, now my secure log in will not work because I am not using BC. Is there a way to create a secure log in that will work with out being forced to use BC?

    I have created my site with Muse and have uploaded to an external ftp hosting, now my secure log in will not work because I am not using BC. Is there a way to create a secure log in that will work with out being forced to use BC?

    Hi
    Secure Zone login feature will only work if you host your website with Business catalyst.
    Please take a look to this as an alternative
    Password Protect Pages Widget for Adobe Muse
    Also, check this thread,
    Re: Can I create a login/password protection in Muse for a HTML5 page or two?

  • I have created a PDF with mp3 audio clips, the file works on PC's with audio playback (WIndows 7, 8 ) however the audio does not play when hosted on a website or an ipad/tablet computer or smart phone when used with PDF reader

    I have created a PDF with mp3 audio clips, the file works on PC's with audio playback (WIndows 7, 8 ) however the audio does not play when hosted on a website or an ipad/tablet computer or smart phone when used with PDF reader

    adobe42135678 wrote:
    the audio does not play when hosted on a website...
    When viewing in what browser?

  • I created a website with iWeb but use GoDady for hosting it rather than MobileMe. The images on my Gallery page do not show at all on the external domain but they DO show when seen on MobileMe. Has anyone encountered this problem before? Many thanks!

    Hello al!
    I created a website with iWeb but use GoDady for hosting it rather than MobileMe. The images on my Gallery page do not show at all on the external domain but they DO show when seen on MobileMe. Has anyone encountered this problem before? Many thanks!

    Just create a new page (or use the existing photo page) on your external site and use html to add an iframe sized to the page and link it to the mobilme gallery page. Works for me just fine when showing my gallery from a yahoo site.
    like this
    <iframe scrolling="off" allowTransparency="true" frameborder="0" scrolling="yes" style="width:100%;height:100%;border:none" src="http://gallery.me.com/your_account_name"></iframe>

  • I created a website with iWeb and can't remember who is the web hosting service. How can I find it.

    I created a website with iWeb and now I have forgotten what web host I signed up with.  How can I find out? The website is still working.

    Hi,
    Do you have a link to that Website?

  • I created a form with Single Choice fields, 4 days with times listed. But, I want the user to only be able to choose one time, and the time chosen to be unavailable for other users. How do I do this?

    I created a form with Single Choice fields, 4 days with times listed. But, I want the user to only be able to choose one time, and the time chosen to be unavailable for other users. How do I do this? I have 4 blocks of Single Choice fields in order for the summary page to give me each day in the final report. But, I need the user to be able to make a selection of any day and time and that apointment to no longer be available to future users when they log in. Plus, when the user clicks on the time, they are unable to change their mind and choose another time. Here's the link if you want to see what I'm talking about: 2015-2016 Workload Apportionment Review

    I'm afraid not.    It's not rocket science but you need to do some coding. 
    You'll need to find a script (php) and save it to your local site folder.  Then reference the script in your form's action attribute like so.
         <form action="path/form-to-email-script.php" >
    The input fields in your HTML form need to exactly match the script variables. 
    I'm  assuming you're hosted on a Linux server which uses PHP code.  Linux servers are also case sensitive, so upper case names are not the same as lower case names.  It's usually best to use all lower case names in your form and script to avoid confusion.
    Related Links:
    Formm@ailer PHP from DB Masters
    http://dbmasters.net/index.php?id=4
    Tectite
    http://www.tectite.com/formmailpage.php
    If this is all a bit beyond your skill set, look at:
    Wufoo.com (on-line form service)
    http://wufoo.com/
    Nancy O.

  • How can I create a solution with Livecycle

    I work for a high school and we have about 12 pdfs that we need parents to read/scroll through, then 10 (different) pages that we want them to print, complete and return to the school.  Finally, we want them to see a "Thank you, you have done all you have to do" type screen.  We want to make it as user friendly as possible so I was thinking...
    Reading pages, 1 at a time with next at bottom.
    Click next and it takes them on.  When they get to printing pages 1 print button prints all pages we need them to print. Click next, and it takes them to optional print pages.
    Click next and it says, thank you.
    How can I make this happen if I already have all the pdfs?
    Help please.
    John Dent
    [email protected]

    Thank you soo much.  A few questions?
    They weren't created in designer but could I just import all of them?
    How do "build the structure" for the naviagtion?
    Where/how do you add the script.
    Thanks again,
    John Dent
    Date: Fri, 30 Jul 2010 07:01:08 -0600
    From: [email protected]
    To: [email protected]
    Subject: How can I create a solution with Livecycle
    I assume that all of these PDFs were created in Designer. If so you can add any buttons that you want to appear on every page (Next, Previous) onto the Master page then there is script you can add to the buttons to actual move the pages (xfa.host.pageDown() and xfa.host.pageUp()). The Prin button can be added to the specific page and you can pass the page numbers that you want to print as a parameter to the print command. Lastly when you get to the last page and the click Complete you can display a messageBox with your Thank you message.
    Hope that helps
    Paul
    >

  • Error creating OIM schema with RCU 11.1.1.3.3 (RCU-6135)

    Hello!
    I'm trying to install Oracle Access & Identity Management 11g on Windows Server 2003 32bit machine
    As main guide I use the article from onlineappsdba.com ( [this one|http://onlineappsdba.com/index.php/2010/08/05/oracleidm-11g-step-by-installation-of-oam-oim-oaam-oapm-oin-111130-part-i-load-schema/print/] )
    I have installed Oracle Database 11.2.0.1.0
    After that I try to create required schemas using RCU 11.1.1.3.3 and constantly get failed on creating OIM schema with error RCU-6135:Error while trying to execute Java action..
    All other schemas were created successfully.
    I've checked oim.log and there were no sql errors.
    In the rcu.log I found next messages:
    2011-04-08 17:19:28.921 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.task.ActualTask::run: Executing Task: Oracle Identity Manager
    2011-04-08 17:19:28.921 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.action.JavaAction::perform: JavaAction command=oracle.ias.version.SchemaVersionUtil:utilCreateRegistryEntry
    2011-04-08 17:19:28.921 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.action.JavaAction::perform: JavaAction method=utilCreateRegistryEntry
    2011-04-08 17:19:28.921 NOTIFICATION rcu: oracle.sysman.assistants.common.dbutil.jdbc.JDBCEngine::connect: Connecting to database: user:sys, role:SYSDBA, connectString:(description=(address=(host=sso)(protocol=tcp)(port=1521))(connect_data=(service_name=RED)(server=dedicated)))
    2011-04-08 17:19:29.328 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.action.JDBCAction::perform: m_bean.getResetSession() = false
    2011-04-08 17:19:29.328 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.action.JDBCAction::perform: m_bean.getConnectAsOwner() = false
    2011-04-08 17:19:29.328 NOTIFICATION rcu: oracle.sysman.assistants.common.dbutil.jdbc.JDBCEngine::connect: Connecting to database: user:sys, role:SYSDBA, connectString:(description=(address=(host=sso)(protocol=tcp)(port=1521))(connect_data=(service_name=RED)(server=dedicated)))
    2011-04-08 17:19:29.343 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.action.JDBCAction::perform: current user=sys
    2011-04-08 17:19:29.343 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.action.JDBCAction::perform: Performing JDBCScript Action Command: Z:\Oracle\fusion\3\ofm_rcu_win32_11.1.1.3.3_disk1_1of1\rcuHome\/rcu/integration//oim/sql/oim_user.sql CMDLINE Parameters Length: 5
    2011-04-08 17:19:29.343 NOTIFICATION rcu: oracle.sysman.assistants.common.dbutil.jdbc.JDBCEngine::parseNexecuteScript: ParseNexecute Script: Z:\Oracle\fusion\3\ofm_rcu_win32_11.1.1.3.3_disk1_1of1\rcuHome\/rcu/integration//oim/sql/oim_user.sql
    2011-04-08 17:19:29.625 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.action.JDBCAction::perform: **** Sql script DONE****
    2011-04-08 17:19:29.625 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.task.AbstractCompTask::execute: ValidIf result was false. Skipping Action: Z:\Oracle\fusion\3\ofm_rcu_win32_11.1.1.3.3_disk1_1of1\rcuHome\/rcu/integration//oim/sql/param.sql
    2011-04-08 17:19:29.625 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.action.SQLPlusAction::perform: paramString = 'DEV2_OIM'
    2011-04-08 17:19:35.796 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.action.SQLPlusAction::perform: **** Sql script DONE****
    2011-04-08 17:19:35.828 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.action.SQLPlusAction::perform: paramString = 'DEV2_OIM' 'DEV2_OIM_LOB'
    2011-04-08 17:19:35.828 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.action.SQLPlusAction::perform: m_bean.getResetSession() = false
    2011-04-08 17:19:35.828 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.action.SQLPlusAction::perform: m_bean.getConnectAsOwner() = false
    2011-04-08 17:20:30.796 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.action.SQLPlusAction::perform: **** Sql script DONE****
    2011-04-08 17:20:30.796 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.action.JDBCAction::perform: m_bean.getResetSession() = false
    2011-04-08 17:20:30.796 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.action.JDBCAction::perform: m_bean.getConnectAsOwner() = false
    2011-04-08 17:20:30.796 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.action.JDBCAction::perform: current user=sys
    2011-04-08 17:20:30.796 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.action.JDBCAction::perform: Performing JDBCScript Action Command: Z:\Oracle\fusion\3\ofm_rcu_win32_11.1.1.3.3_disk1_1of1\rcuHome\/rcu/integration//oim/sql/update_oim_user.sql CMDLINE Parameters Length: 1
    2011-04-08 17:20:30.796 NOTIFICATION rcu: oracle.sysman.assistants.common.dbutil.jdbc.JDBCEngine::parseNexecuteScript: ParseNexecute Script: Z:\Oracle\fusion\3\ofm_rcu_win32_11.1.1.3.3_disk1_1of1\rcuHome\/rcu/integration//oim/sql/update_oim_user.sql
    2011-04-08 17:20:30.812 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.action.JDBCAction::perform: **** Sql script DONE****
    2011-04-08 17:20:30.812 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.action.JavaAction::perform: JavaAction command=Z:\Oracle\fusion\3\ofm_rcu_win32_11.1.1.3.3_disk1_1of1\rcuHome\/rcu/integration//oim/iam_rcu_comp/lib/seedSchedulerData.jar:oracle.iam.scheduler.seed.SeedSchedulerData:loadSchedulerData
    2011-04-08 17:20:30.812 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.action.JavaAction::perform: jarPath=Z:\Oracle\fusion\3\ofm_rcu_win32_11.1.1.3.3_disk1_1of1\rcuHome\/rcu/integration//oim/iam_rcu_comp/lib/seedSchedulerData.jar
    2011-04-08 17:20:30.843 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.action.JavaAction::perform: JavaAction method=loadSchedulerData
    2011-04-08 17:20:30.875 INCIDENT_ERROR rcu: oracle.sysman.assistants.rcu.backend.action.JavaAction::perform: Failed to execute method: Excepton:
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.sysman.assistants.rcu.backend.action.JavaAction.perform(JavaAction.java:328)
         at oracle.sysman.assistants.rcu.backend.task.AbstractCompTask.execute(AbstractCompTask.java:243)
         at oracle.sysman.assistants.rcu.backend.task.ActualTask.run(TaskRunner.java:306)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.NullPointerException
         at oracle.iam.scheduler.seed.SeedSchedulerData.startSeeding(SeedSchedulerData.java:516)
         at oracle.iam.scheduler.seed.SeedSchedulerData.loadSchedulerData(SeedSchedulerData.java:107)
         ... 8 more
    2011-04-08 17:20:30.984 ERROR rcu: oracle.sysman.assistants.rcu.backend.task.ActualTask::run: RCU Operation Failed
    oracle.sysman.assistants.common.task.TaskExecutionException: RCU-6135:Error while trying to execute Java action.
         at oracle.sysman.assistants.rcu.backend.task.AbstractCompTask.execute(AbstractCompTask.java:300)
         at oracle.sysman.assistants.rcu.backend.task.ActualTask.run(TaskRunner.java:306)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: oracle.sysman.assistants.common.task.ActionFailedException: RCU-6135:Error while trying to execute Java action.
         at oracle.sysman.assistants.rcu.backend.action.JavaAction.perform(JavaAction.java:350)
         at oracle.sysman.assistants.rcu.backend.task.AbstractCompTask.execute(AbstractCompTask.java:243)
         ... 2 more
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.sysman.assistants.rcu.backend.action.JavaAction.perform(JavaAction.java:328)
         ... 3 more
    Caused by: java.lang.NullPointerException
         at oracle.iam.scheduler.seed.SeedSchedulerData.startSeeding(SeedSchedulerData.java:516)
         at oracle.iam.scheduler.seed.SeedSchedulerData.loadSchedulerData(SeedSchedulerData.java:107)
         ... 8 more
    2011-04-08 17:20:30.984 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.task.ActualTask::run: Executing Task: Execute post create operations
    2011-04-08 17:20:30.984 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.task.CustomCompManager::getActionList: CustomCompManager.getActionList: CUSTOM_COMP_POSTLOAD_CLEANUP
    2011-04-08 17:20:30.984 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.task.ActualTask::run: Execution time for Execute post create operations : 0 milliseconds
    2011-04-08 18:32:57.031 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.RCUModel::executeTasks: Failed to write checkpoint at:Z:\Oracle\fusion\3\ofm_rcu_win32_11.1.1.3.3_disk1_1of1\rcuHome\/rcu/log\RCUCheckpointObj
    2011-04-08 18:32:57.031 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.RCUModel::executeTasks: Writing checkpoint at:C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\1\\logdir.2011-04-08_17-13\RCUCheckpointObj
    2011-04-08 18:32:57.046 NOTIFICATION rcu: oracle.sysman.assistants.rcu.ui.InteractiveRCUModel::showCompletionMessage: Repository Creation Utility: Create - Completion Summary
    Database details:
    Host Name               : sso
    Port                    : 1521
    Service Name               : RED
    Connected As               : sys
    Prefix for (prefixable) Schema Owners : DEV2
    RCU Logfile               : C:\Documents and Settings\Administrator\Local Settings\Temp\1\logdir.2011-04-08_17-13\rcu.log
    RCU Checkpoint Object               : C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\1\\logdir.2011-04-08_17-13\RCUCheckpointObj
    Component schemas created:
    Component               Status     Logfile          
    Metadata Services          Success     C:\Documents and Settings\Administrator\Local Settings\Temp\1\logdir.2011-04-08_17-13\mds.log
    Audit Services          Success     C:\Documents and Settings\Administrator\Local Settings\Temp\1\logdir.2011-04-08_17-13\iau.log
    Oracle Identity Manager          Failed     C:\Documents and Settings\Administrator\Local Settings\Temp\1\logdir.2011-04-08_17-13\oim.log
    Oracle Access Manager          Success     C:\Documents and Settings\Administrator\Local Settings\Temp\1\logdir.2011-04-08_17-13\oam.log
    Oracle Adaptive Access Manager          Success     C:\Documents and Settings\Administrator\Local Settings\Temp\1\logdir.2011-04-08_17-13\oaam.log
    Oracle Adaptive Access Manager(Partition Support)          Success     C:\Documents and Settings\Administrator\Local Settings\Temp\1\logdir.2011-04-08_17-13\oaam_partn.log
    Authorization Policy Manager          Success     C:\Documents and Settings\Administrator\Local Settings\Temp\1\logdir.2011-04-08_17-13\apm.log
    SOA Infrastructure          Success     C:\Documents and Settings\Administrator\Local Settings\Temp\1\logdir.2011-04-08_17-13\soainfra.log
    User Messaging Service          Success     C:\Documents and Settings\Administrator\Local Settings\Temp\1\logdir.2011-04-08_17-13\orasdpm.log
    I've searched through the OTN and Internet but did not found any solution.
    Please help me.
    Any advises will be appreciated.

    I've tried to run RCU 11.1.1.3.3 on Ubuntu 32-bit and OIM schema creation failed again but with another error RCU-1636 Failed to start PL/SQL engine.
    After that I found RCU 11.1.1.4, downladed it and this version created all schemas successfully.
    Hope all other components will be ok with new version of RCU

  • How to create a form with DW CS3?

    Hi all,
    I want to create a form to gather email, address information on a website. Question, can I do that using
    DW CS3? and what else do I need in order to do that? I know there is more to it than just creating a form
    with fields, that there is programing behind it. I use 1 and 1.com for my hosting.
    Any help would be greatly appreciated.

    You'll need a form to email processing script.  Ask your host if they provide one you can use.  If not and your server supports PHP, I highly recommend this one from DB Masters.  It is safe, secure and with good spam prevention built in.
    http://dbmasters.net/index.php?id=4
    Other options:
    Forms to Go from BeboSoft
    Wufoo
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • FTP Issue with Host name

    Hi All,
       When i tried to send the file to other FTP server with host name i am getting below error.
      Error when getting an FTP connection from connection pool: com.sap.aii.af.lib.util.concurrent.ResourcePoolException: Unable to create new pooled 
       resource: UnknownHostException: ftp.kms.telnet.vector.com.
    But i am able to send the file successfully using IP address.
    Can anyone pls suggest if any additional settings needs to be done in file adapter.
    Or any other setting needs to be taken care.
    Please advise.
    Thannks,
    Swetha

    Hi,
    Basis people are not aware of adding in host file, for that reason i am asking input here.
    My XI ssytem runs on OS level i.e on AS400.
    Basis team tried to reach host file by mapping into server, but they are unable to find host file. Do i need to ask OS level expert to add entry in host file.
    For my knowledge, can you pleae give me the path of host file at OS level if you have any idea.
    Please advise
    Thanks,
    Swetha

  • [SOLVED] Qemu with host networking space.

    Hello, I'm trying to lunch Qemu with host networking, so the VM's can talk to each other, what I did so far is creating the following bridges ( Actually virt-manager did that for me ):
    br0, virbr0 -> virbr0-nic ( the interface )
    and have the following network interfaces:
    br0, lo, virbr0, wlp1s0
    What I think I'm missing is something on the code... I'm lunching with:
    qemu-system-x86 -kernel kernel -cpu host -m 2024 -hda image.image
    I did review the following manuals
    https://wiki.archlinux.org/index.php/QE … networking
    https://wiki.archlinux.org/index.php/Network_bridge
    I'm missing the right command, thanks.
    Last edited by abdullah (2015-02-06 18:00:11)

    abdullah wrote:
    Well, still trying, here is the code that I'm using right now:
    ./start.sh
    #!/bin/bash
    bridge=br0
    tap=$(sudo tunctl -u $(whoami) -b)
    sudo ip link set $tap up
    sleep 1s
    sudo brctl addif $bridge $tap
    qemu-system ..... etc \
    -net nic,vlan0,model=virtio,macaddr=00:16:35:AF:94:4B \
    -net nic,vlan=0,ifname=$tap,script=no,downscript=no
    sudo brctl delif $bridge $tap
    sudo ip link set $tap down
    sudo tunctl -d $tap
    which the reff was in https://activedoc.opensuse.org/book/ope … h-qemu-kvm
    any help please?
    Sorry if I am late to the party... but here's how I do this with bridged networking.
    Let's assume that I have 2 guests, an ArchLinux and Window 7. These are the start scripts:
    : cat start-arch.sh
    #!/bin/bash
    vm_dir="/export/scratch/VMs"
    scripts_dir="${vm_dir}/scripts"
    . ${scripts_dir}/macaddr-gen.sh
    # Generate a random MAC address
    gen_macaddr mac
    # Start the emulator
    qemu-system-x86_64 -enable-kvm -smp 2 \
    -net bridge,br=br0 -net nic,macaddr=${mac},model=virtio \
    -drive file="${vm_dir}/arch-x86_64-1",if=virtio -nographic
    : cat start-win7.sh
    #!/bin/bash
    vm_dir="/export/scratch/VMs"
    scripts_dir="${vm_dir}/scripts"
    . ${scripts_dir}/macaddr-gen.sh
    # Generate a random MAC address
    gen_macaddr mac
    # Start the emulator
    qemu-system-x86_64 -enable-kvm -m 3G -smp 2 \
    -net bridge,br=br0 -net nic,macaddr=${mac},model=virtio \
    -drive file="${vm_dir}/win7-x86_64-1",if=virtio \
    -usbdevice tablet -vga qxl -spice port=5930,disable-ticketing
    : cat macaddr-gen.sh
    #!/bin/bash
    # Generate a random MAC address
    gen_macaddr() {
    local str i macaddr _mac=$1
    str=$(cat /dev/random | tr -cd '[:xdigit:]' | head -c 12 | \
    tr '[:upper:]' '[:lower:]')
    i=0
    macaddr=""
    while [ $i -lt 6 ]; do
    macaddr=${macaddr}${str:0:2}":"
    str=${str:2}
    let i=i+1
    done
    eval $_mac=\${macaddr%:}
    : cat /etc/qemu/bridge.conf
    allow br0
    Note, that the MAC addresses of virtualized NICs in the VMs must be different. If you now do
    : ./start-arch.sh &
    : ./start-win7.sh
    Assuming that you have already set up  a bridge br0, qemu will create several tap? interfaces and insert them into that bridge (using the qemu-bridge-helper suid binary), and you'll have a virtual LAN rooted at br0.
    EDIT: Added a slightly faster random MAC generator and comments.
    Last edited by Leonid.I (2015-02-09 20:13:50)

  • Creating a form with a skip pattern (skip logic)

    Hello - Using LifeCycle Designer 7.0
    I am creating a form with a simple: Yes/No radio button for one field(quesiton).  I would like to have the form skip to a later field(question) if they answer 'No'.  Can this be coded somehow in FormCalc?
    Is there a way to easily put skip logic (not tab) in a form (Survey).
    Thanks for your time/help.

    You can use the setFocus methos to move the cursor to the field that you want..
    Place it in the click event of the radiobutton.
    In FormCalc:
    if(radioButton1.rawValue == 1) then
         $host.setFocus("<FIELDNAME>");
    endif
    In Java Script:
    if(radioButton1.rawValue == 1)
         xfa.host.setFocus("<FIELDNAME>");
    Thanks
    Srini

  • AdvancedDataGrid - create Array (cfquery) with children for hierarchical data set

    I'm trying to create an AdvancedDataGrid with a hierarchical
    data set as shown below. The problem that I am having is how to
    call the data from a ColdFusion remote call and not an
    ArrayCollection inside of the Flex app (as below). I'm guessing
    that the problem is with the CFC that I've created which builds an
    array with children. I assume that the structure of the children is
    the issue. Any thoughts?
    Flex App without Remoting:
    http://livedocs.adobe.com/labs/flex3/html/help.html?content=advdatagrid_10.html
    <?xml version="1.0"?>
    <!-- dpcontrols/adg/GroupADGChartRenderer.mxml -->
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml">
    <mx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
    [Bindable]
    private var dpHierarchy:ArrayCollection= new
    ArrayCollection([
    {name:"Barbara Jennings", region: "Arizona", total:70,
    children:[
    {detail:[{amount:5}]}]},
    {name:"Dana Binn", region: "Arizona", total:130, children:[
    {detail:[{amount:15}]}]},
    {name:"Joe Smith", region: "California", total:229,
    children:[
    {detail:[{amount:26}]}]},
    {name:"Alice Treu", region: "California", total:230,
    children:[
    {detail:[{amount:159}]}
    ]]>
    </mx:Script>
    <mx:AdvancedDataGrid id="myADG"
    width="100%" height="100%"
    variableRowHeight="true">
    <mx:dataProvider>
    <mx:HierarchicalData source="{dpHierarchy}"/>
    </mx:dataProvider>
    <mx:columns>
    <mx:AdvancedDataGridColumn dataField="name"
    headerText="Name"/>
    <mx:AdvancedDataGridColumn dataField="total"
    headerText="Total"/>
    </mx:columns>
    <mx:rendererProviders>
    <mx:AdvancedDataGridRendererProvider
    dataField="detail"
    renderer="myComponents.ChartRenderer"
    columnIndex="0"
    columnSpan="0"/>
    </mx:rendererProviders>
    </mx:AdvancedDataGrid>
    </mx:Application>
    CFC - where I am trying to create an Array to send back to
    the Flex App
    <cfset aPackages = ArrayNew(1)>
    <cfset aDetails = ArrayNew(1)>
    <cfloop query="getPackages">
    <cfset i = getPackages.CurrentRow>
    <cfset aPackages
    = StructNew()>
    <cfset aPackages['name'] = name >
    <cfset aPackages
    ['region'] = region >
    <cfset aPackages['total'] = total >
    <cfset aDetails
    = StructNew()>
    <cfset aDetails['amount'] = amount >
    <cfset aPackages
    ['children'] = aDetails >
    </cfloop>
    <cfreturn aPackages>

    I had similar problems attempting to create an Array of
    Arrays in a CFC, so I created two differents scripts - one in CF
    and one in Flex - to build Hierarchical Data from a query result.
    The script in CF builds an Hierarchical XML document which is then
    easily accepted as HIerarchical Data in Flex. The script in Flex
    loops over the query Object that is returned as an Array
    Collection. It took me so long to create the XML script, and I now
    regret it, since it is not easy to maintain and keep dynamic.
    However, it only took me a short while to build this ActionScript
    logic, which I quite like now (though it is not [
    yet ] dynamic, and currently only handles two levels of
    Hierarchy):
    (this is the main part of my WebService result handler)....
    // Create a new Array Collection to store the Hierarchical
    Data from the WebService Result
    var categories:ArrayCollection = new ArrayCollection();
    // Create an Object variable to store the parent-level
    objects
    var category:Object;
    // Create an Object variable to store the child-level
    objects
    var subCategory:Object;
    // Loop through each Object in the WebService Result
    for each (var object:Object in results)
    // Create a new Array Collection as a copy of the Array
    Collection of Hierarchical Data
    var thisCategory:ArrayCollection = new
    ArrayCollection(categories.toArray());
    // Create a new instance of the Filter Function Class
    var filterFunction:FilterFunction = new FilterFunction();
    // Create Filter on the Array Collection to return only
    those records with the specified Category Name
    thisCategory.filterFunction =
    filterFunction.NameValueFilter("NAMETXT", object["CATNAMETXT"]);
    // Refresh the Array Collection to apply the Filter
    thisCategory.refresh();
    // If the Array Collection has records, the Category Name
    exists, so use the one Object in the Collection to add Children to
    if (thisCategory.length)
    category = thisCategory.getItemAt(0);
    // If the Array Collection has no records, the Category Name
    does not exist, so create a new Object
    else
    // Create a new parent-level Object
    category = new Object();
    // Create and set the Name property of the parent-level
    Object
    category["NAMETXT"] = object["CATNAMETXT"];
    // Create a Children property as a new Array
    category["children"] = new Array();
    // Add the parent-level Object to the Array Collection
    categories.addItem(category);
    // Create a new child-level Object as a copy of the Object
    in the WebService Result
    subCategory = object;
    // Create and set the Name property of the child-level
    Object
    subCategory["NAMETXT"] = object["SUBCATNAMETXT"];
    // Add the child-level Object to the Array of Children on
    the parent-level Object
    category["children"].push(subCategory);
    // Convert the Array Collection to a Hierarchical Data
    Object and use it as the Data Provider for the Advanced Data Grid
    advancedDataGrid.dataProvider = new
    HierarchicalData(categories);

  • Can not create new DB with DBCA ora-12560

    My OS is Windows XP. Oracle version is 10.2.0.3.
    Try to create an instance with dbca. I got ora-12560 error when coping database files.
    So I try to create DB instance manually.
    When I run
    set ORACLE_SID=tcbom
    D:\oracle\product\10.2.0\db_1\bin\oradim.exe -new -sid TCBOM -startmode manual -spfile
    I got the following error.
    Instance created.
    DIM-00019: create service error
    O/S-Error: (OS 1053) The service did not respond to the start or control request in a timely fashion.
    Could you pls tell how to solve this issue?

    ipconfig -all
    Windows IP Configuration
    Host Name . . . . . . . . . . . . : sha
    Primary Dns Suffix . . . . . . . : net.plm.eds.com
    Node Type . . . . . . . . . . . . : Hybrid
    IP Routing Enabled. . . . . . . . : Yes
    WINS Proxy Enabled. . . . . . . . : No
    DNS Suffix Search List. . . . . . : net.plm.eds.com
    ugs.com
    sdrc.com
    Ethernet adapter VMware Network Adapter VMnet1:
    Connection-specific DNS Suffix . : net.plm.eds.com
    Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet1
    Physical Address. . . . . . . . . :
    Dhcp Enabled. . . . . . . . . . . : No
    IP Address. . . . . . . . . . . . : 192.168.222.1
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . :
    Ethernet adapter Local Area Connection:
    Connection-specific DNS Suffix . : net.plm.eds.com
    Description . . . . . . . . . . . : Broadcom NetXtreme 57xx Gigabit Controller
    Physical Address. . . . . . . . . :
    Dhcp Enabled. . . . . . . . . . . : Yes
    Autoconfiguration Enabled . . . . : Yes
    IP Address. . . . . . . . . . . . : 121.77.119.228
    Subnet Mask . . . . . . . . . . . : 255.255.252.0
    Default Gateway . . . . . . . . . : 121.77.116.1
    DHCP Server . . . . . . . . . . . : 10.100.113.43
    DNS Servers . . . . . . . . . . . : 219.233.241.166
    211.167.97.67
    211.167.97.68
    Lease Obtained. . . . . . . . . . : 2009年4月6日 12:50:03
    Lease Expires . . . . . . . . . . : 2009年4月7日 12:08:14
    Ethernet adapter Wireless Network Connection:
    Media State . . . . . . . . . . . : Media disconnected
    Description . . . . . . . . . . . : Dell 无线 1490 双频段 WLAN Mini-Card
    Physical Address. . . . . . . . . :
    Ethernet adapter {87DAF85D-AF14-4A7D-992B-D6A928CC3565}:
    Connection-specific DNS Suffix . : net.plm.eds.com
    Description . . . . . . . . . . . : Nortel IPSECSHM Adapter - Packet Scheduler Miniport
    Physical Address. . . . . . . . . :
    Dhcp Enabled. . . . . . . . . . . : No
    IP Address. . . . . . . . . . . . : 0.0.0.0
    Subnet Mask . . . . . . . . . . . : 0.0.0.0
    Default Gateway . . . . . . . . . :
    listener.ora
    # listener.ora Network Configuration File: D:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER10G =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = sha.net.plm.eds.com)(PORT = 1521))
    )

Maybe you are looking for

  • Talking to two devices, at the same time.

    Hi, I wonder you could help me with my solution. I'm using GPIB to talk to two devices. I need to reset and align one device A and control the device B. The process A can take up to 2 minutes. The process B is to cool off the DUT to demanded temperat

  • ITunes Library File Not Valid!  What the Heck?

    I have 11,500 songs in my music library and am running iTunes 7.0.2. My iTunes Library file from time-to-time becomes corrupted, on probably at least a weekly basis. I have no idea what's causing this. Here's the typical scenario ... iTunes works fin

  • Printing upside down

    Hi guys.  I've got an HP LaserJet 600 M603.  It has started printing pages with the data upside down.  Instead of picking the page up from the tray after printing, and the start of the page being at the top, it's placing the start of the page and inf

  • How do I set my printer to print on odd sized paper? HP Officejet Pro 8000

    I need to print on a 8.5 x 4.5 sheet on pre-cut paper, is this possible?

  • Read data from 3 tables in sender JDBC Adapter

    Hi All, I doing a scenario JDBC to IDOC I need to read 3 tables of ORACLE.  how JDBC sender adapter will retrieve data from more than 3 ORACLE tables and also i need to update control status fields of these tables. Please provide me the syntax for th