Setting IPs in linux VMs

Hello.
I'm having the following problem.I want to set the IPs of a linux(centos 6.4) vm but i can't.
I have  a)installed the 3.4 integration services b)used kernel 3.12.5 with hyper-v support.
In both cases i always get in dmesg
hv_utils: KVP: IP injection functionality not available
hv_utils: KVP: Upgrade the KVP daemon
hv_utils: KVP: user-mode registering done.
Moreover i use the following in order to read :
$VM = Get-WmiObject -Namespace 'root\virtualization\v2' -Class 'Msvm_ComputerSystem'  | Where-Object { $_.ElementName -eq "FooBar" }
$VMSettings = $vm.GetRelated('Msvm_VirtualSystemSettingData') | Where-Object { $_.VirtualSystemType -eq 'Microsoft:Hyper-V:System:Realized' }    
$VMNetAdapters = $VMSettings.GetRelated('Msvm_SyntheticEthernetPortSettingData')
$VMNetAdapters
I have also tried  $VMNetAdapters = $VMSettings.GetRelated('Msvm_EmulatedEthernetPortSettingData')  using a legacy card.
The previous code was taken from http://www.ravichaganti.com/blog/?p=2766
In a few words i would like to assign IPs in linux VMs.
Thank you in advance!
ps:I have now seen that 3.5 version of integration services has been released yesterday and it says that it supports static ip injection.So the previous versions didn't support ip injection at all?

Hi tasoss,
I did a little bit of research and unfortunately there are only two options for you:
a) Either upgrade to CentOS 6.5
or
b) Apply the fix yourself.
The following thread further attests to the above suggestions:
https://www.centos.org/forums/viewtopic.php?f=13&t=44118
If you'd like to compile the fix yourself then you should backport the following commits:
1) Drivers: hv: util: Correctly support ws2008R2 and earlier
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/hv/hv_kvp.c?id=3a4916050ba2e0f1d114ef540abdf02b2b173e61
2) Drivers: hv: remove HV_DRV_VERSION
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/hv/hv_kvp.c?id=cfc25993e81f3fa68481d062be634d33184d5eae
3) Drivers: hv: util: Fix a bug in version negotiation code for util services
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/hv/hv_kvp.c?id=6741335bc7294548ac95cb1f4671991ff30da193
Please let me know if you need more information.
Thanks,
Abhishek Gupta, Program Manager, Linux Integration Services

Similar Messages

  • Setting Classpath in linux

    Hi !! Can anyone help me in setting classpath in linux to run servlets/? I tried using this command..but didnt work
    export CLASSPATH="$CLASSPATH:/usr/share/tomcat5/server/lib/servlets-common.jar"
    Thanks
    Nive

    in ur autoexec.bat file write the following
    set PATH=C:\jdk1.5.0_04\bin;%PATH%
    set JAVA_HOME=C:\jdk1.5.0_04
    set
    CLASSPATH=.;C:\jakarta-tomcat-5.5.9\common\lib\servlet
    -api.jar;C:\jakarta-tomcat-5.5.9\common\lib\jsp-api.ja
    r;C:\Servlets+JSP;..;..\..;C:\jakarta-struts-1.2.4\lib
    \struts.jarThis response is meaningless. Principally because the OP specifically mentioned the use of LINUX. Not Windows.
    I've taken the advice of other forum users by avoiding a system level classpath variable. I define the classpath each time I compile and run. Working on Linux I tend to use command line argument files ( http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/javac.html#commandlineargfile ) which eliminates the need to redefine the classpath each time I compile or run my classes and apps. But others may do things differently.
    Here is a website you might want to check out which pertains to setting the classpath on Solaris and Linux.
    http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/classpath.html

  • 10g Release 2 (10.2.0.4) Patch Set 3 for Linux x86 is available

    For all those who were in need of some bug fixing, maybe it has been patched in 10g Release 2 (10.2.0.4) Patch Set 3 for Linux x86, which is now available for download.

    Hello Srini, thanks for your answer.
    I haven´t Oracle Dataguard, I have a disk replication with other supplier, for this reason, I need to know the files that will be modified, because if the patch modifies a file that I haven´t on replication, I will have problems.
    Thanks again.

  • Can't configure IPS Banner via VMS 2.3

    The 5.x sensor's allows you to set a login banner with the "banner login" command on the CLI. This fills some legal obligations, but I have not found a way to set this via VMS so that I can push this out to all my sensors in one update. Please tell me VMS can do this. I do not want to configure each sensor by hand, and then have to re-import them all.

    That page is part of a usefull set of pages describing how to configure the IPS Sensors using the CLI. In fact, a page from the same family discribes the CLI banner command: http://www.cisco.com/en/US/products/hw/vpndevc/ps4077/products_configuration_guide_chapter09186a008055df70.html#wp1030697
    What I was asking is how to push this configuration from VMS 2.3, so I can set this option at a group level and push it out to 200 sensors in one shot.

  • How to set path in linux?

    Hi,
    I tried to compile a form in linux.
    I use the following command:
    export LD_LIBRARY_PATH=/u0/oracle/prodora/8.0.6/lib
    f60gen module=/u0/oracle/prodappl/ar/11.5.0/forms/US/TESTFORM.fmb USERID=apps/****
    An fmx is generated. But during compile it also give the following message:
    FRM-18108: Failed to load the following objects.
    Source Module:TEMPLATE.fmb
    Source Object: FRAME_HORZ_LINE
    Source Module:TEMPLATE.fmb
    Source Object: FRAME_RECT
    Source Module:APPSTAND
    Source Object: STANDARD_PC_AND_VA
    Source Module:APPSTAND
    Source Object: STANDARD_TOOLBAR
    Source Module:APPSTAND
    Source Object: STANDARD_CALENDAR
    I suppose it because it cannot found template.fmb and appstand.fmb.
    How do I include the path to this files? For example the path is this: /u0/oracle/prodappl/ar/11.5.0/forms/US
    Can I add it using the "export LD_LIBRARY_PATH" command?
    What is the syntax for multiple path for the "export LD_LIBRARY_PATH"?
    I cannot execute it one after the other as it seems the later overwrite the former.
    Thank you
    Jim

    I do:
    export FORMS_PATH=/u01/app/oracle/product/apps/your_source Will it overwrite any path in the FORMS_PATH, or will it add into it? Or is it not permanent?
    this is not permanent solution,your just setting path.
    Refer metalink note
    What is Difference between the Forms_path and the working directory? [ID 551511.1
    Edited by: Amigo on Dec 22, 2010 1:20 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Set classpath in linux

    if u dont mind plz explain the steps of how to set java classpath in linux.?

    The same way you do it in windows, except that you use ":" instead of ";" to seperate the paths.
    Although you can set a environment variable (CLASSPATH), it is usually best to just provide the classpath explicitely in each command:
    javac -cp <myclasspath> com/foo/Bar.java
    java -cp <myclasspath> com.foo.Bar

  • Unable to set focus for Linux / X-Windows ($$$ for fix...)

    It appears whenever a modal window is opened on Linux X-Windows the focus is stolen from the window and you CANNOT use the keyboard to return to the form - let alone set the focus on the textbox.
    This is not just for my modal forms but for something as fundamental as JOptionPane or simple code like this:
    JFileChooser chooser = new JFileChooser();
    if (chooser.showOpenDialog(parentComponent) == JFileChooser.APPROVE_OPTION) {
    From trolling through posts I can see no answers which is really sad for Linux good for Microsoft I guess. How can we deploy on Linux if you are forced to get carpal tunnel clicking on every form with the mouse ?
    I would be willing to pay some consulting dollars to get this resolved.
    Greg

    Hm, I've developed quite a bit for X11 and linux, but I never noticed that effect. Can you post a SSCCE that reproduces the issue, just to be sure it is not a side-effect from your code?
    It this is a persistent problem, you might want to make your dialog re-request the focus programmatically:
    myDialog.setVisible(true);
    SwingUtilities.invokeLater(new Runnable() {
      public void run(){
        myDialog.requestFocus();
    }See if this does anything. If not, the problem is most likely not coming from swing.

  • Optimising Postgres performance in Linux VMs

    What is the optimal deployment for high-performance Postgres databases on an Ubuntu Linux VM - beyond standard A-series and D-series basic configurations?
    This will be useful to many of our research users particularly.
    Thanks,
     Kenji Takeda (Microsoft Research)
    Kenji Microsoft Research Connections http://research.microsoft.com/collaboration/

    Hi,
    On these new D-series sizes, the temporary drive (/mnt or
    /mnt/resource on Linux) are local SSDs. This high-speed local disk is best used for workloads that replicate across multiple instances, like MongoDB, or can leverage this high I/O disk for a local and temporary
    cache. (Note, these drives are not guaranteed to be persistent. Thus, while physical hardware failure is rare, when it occurs, the data on this disk may be lost, unlike your OS disk and any attached durable disks that are persisted in Azure Storage.) The D-series sizes
    offer an optimal configuration for running workloads that require increased processing power and faster local disk I/O than A-series sizes.
    In addition, you can group two or more virtual machines in an Availability Set to provide redundancy as it ensures that during either a planned or unplanned maintenance event, at least one virtual machine will be available and meet the 99.95% Azure
    SLA.
    Best regards,
    Susie
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • RAC 10g on Linux VMs problems with smp

    I'm following Vincent Chan's article "Install Oracle RAC 10g on Oracle Enterprise Linux Using VMware Server" in order to get up to speed on Oracle RAC on Linux. I've had good success so far but it appears that when the kernel was created it was created as smp even though I only had processor count set to 1. I went on to choose the oracleasm-2.6.9-42.0.0.1EL driver for UP kernel not realizing I had an smp kernel. Now that I'm trying to create ASM disks I get the following message:
    Writing Oracle ASM library driver configuration: [ OK ]
    Loading module "oracleasm": Unable to load module "oracleasm"
    [FAILED]
    I'm assuming this problem is due to the wrong asm driver being installed.
    So my question is, since I truly have a single processor virtual machine, should I try to rebuild the kernel as UP? Or should I try to re-install the smp version of oracleasm and keep the kernal as smp with 1 processor?
    Additional info:
    # rpm -qa | grep asm
    ibmasm-3.0-7
    oracleasm-support-2.0.3-2
    oracleasmlib-2.0.2-1
    oracleasm-2.6.9-42.0.0.0.1.EL-2.0.3-2
    # uname -r
    2.6.9-42.0.0.0.1.ELsmp

    Hi Frits,
    I had the same problem but could not find the right rpm.
    Can you give the URL?
    My problem:
    [root@rac2 ~]# /etc/init.d/oracleasm configure
    Configuring the Oracle ASM library driver.
    This will configure the on-boot properties of the Oracle ASM library
    driver. The following questions will determine whether the driver is
    loaded on boot and what permissions it will have. The current values
    will be shown in brackets ('[]'). Hitting <ENTER> without typing an
    answer will keep that current value. Ctrl-C will abort.
    Default user to own the driver interface []: oracle
    Default group to own the driver interface []: dba
    Start Oracle ASM library driver on boot (y/n) [n]: y
    Fix permissions of Oracle ASM disks on boot (y/n) [y]: y
    Writing Oracle ASM library driver configuration: [  OK  ]
    Loading module "oracleasm": Unable to load module "oracleasm"
    [FAILED]
    [root@rac2 cmshare]# uname -r
    2.6.9-42.0.0.0.1.ELsmp
    [root@rac2 cmshare]# rpm -qa | grep oracleasm
    oracleasmlib-2.0.2-1
    oracleasm-support-2.0.3-2
    oracleasm-2.6.9-42.0.0.0.1.EL-2.0.3-2
    Regards,
    Chungmen

  • How to set . orainv in linux for oracle 11g

    I am using Oracle Enterprize Linux and have installed 11g. Every time when I restart my PC, I have to set . oraenv to open sqlplus. Could you please tell me whether it is possible to set . oraenv so that I don't have to set it everytime I login.

    here is one example of using bash_profile.
    http://www.idevelopment.info/data/Oracle/DBA_tips/support_data/Install9iOnRedhat80/.bash_profile
    --MM                                                                                                                                                                                                                                                                                                           

  • IPS Management with VMS

    Hello,
    I need an info for the following points.
    Can i manage the IDS 4215 & 4240 wth IPS 5.0 with VMS 2.2 or higher version if available.
    regards
    Vijay Tandon

    VMS has 2 management tools that deal with the IDS/IPS sensors:
    Security Monitor for monitoring the alerts,
    and IDS MC for configuring the sensors.
    Upon initial release Security Monitor will be able to monitor the 5.0 sensors, but will monitor them the same as it does for 4.1 sensors. In other words Security Monitor will not have the new fields that are added to the alert in 5.0.
    Security Monitor will be updated in a future release to handle the new format for 5.0 alerts with the new fields.
    Upon initial release IDS MC will not be able to configure a 5.0 sensor. 5.0 sensors will have to be configured using CLI or IDM on the sensor itself.
    IDS MC support for configuring 5.0 sensors is being added in a future IDS MC release.
    Marco

  • What are the advantages of using Hyper-V's synthetic drivers with Linux VMs?

    We are moving our virtualization platform from Citrix's XenServer to Hyper-V on Windows Server 2008 R2. As part of this project I need to migrate, in one form or another, some Debian Linux servers over to Hyper-V. I have successfully built a Debian-based
    server on our new Hyper-V platform and I'm beginning to test it.
    Debian 6 (Squeeze) uses the 2.6.32 kernel which includes the Hyper-V synthetic drivers, but it is not considered a supported operating guest operating system by Microsoft. I'm a little hesitant in trying to use them unless there's a compelling reason to,
    as other folks have had trouble
    What advantages do the Hyper-V synthetic drivers offer over the emulated drivers?
    For those of you who have experience with the Xen hypervisor, is using the synthetic drivers analgous to para-virtualizing a guest operating system?
    Are then any noteworthy dangers or drawbacks of NOT using the synthetic drivers?
    Why should I bother to either a) deal with the reported instability of the Hyper-V drivers currently in the kernel, b) try to build a newer kernel, or c) try to make the Virtual Machine Additions work with a distribution
    they weren't designed for when everything seems to "just work"?

    The synthetic drivers 'talk' more directly to the actual hardware, bypassing most of the hypervisor (for common data operations). This dramatically cuts down on the hypervisor overhead related to most network activity.
    If your server doesn't communicate much on the network, or if your hardware is well undercommitted, you should be fine with the emulated drivers. There's definitely a performance penalty for doing this however.

  • Looking for advice on setting up drives for VMs on Hyper-V

    Hardware - Xeon E3 server, 16GB ram, 256Gb SSD, and 7 3-4 TB drives
    Hyper-V core 2012 R2 installed on the SSD - did not take much space
    Goal: To setup 2 VMs, one Windows Server Essentials 2012 R2 (use=home server) using a majority of the space, and hopefully backup space too, and a separate VM for Ubuntu LAMP server for learning.
    I have a separate machine with Windows 8.1 Pro, remote desktop to the Hyper-V computer is working as is Hyper-V Manager.
    I have 7 HDDs, right now all in one storage pool.  That might have been a mistake, as some of those drives are supposedly for server backup.
    Questions:
    Should I plan on installing WSE 2012 R2 to the SSD? 
    Should I create one giant drive from the storage pool, or separate drives for the VM uses.  I guess I am not sure whether to create one giant storage space, and then create multiple VDHX drives as needed for the VMs.   Can WSE 2012 backup
    to a Virtual Drive?
    For instance should I create one 1TB storage space, format it, give it a letter, and then create the VM for the Ubuntu LAMP install?
    Create another storage space for the data for the WSE, and another for Backup space for WSE?
    Any suggestions will be appreciated.
    Thanks, Ross

    Hi Ross, 
    I think you can either install WSE 2012 R2 either to the SSD or to a Virtual Drive created on the top of a storage space. 
    If you create one giant drive from a storage space, and then create multiple VDHX drives as needed for the VMs, then the disks are called Pass-Through Disks. If you create multiple separate Virtual disks for the VM uses, then the disks are called Fixed Disks. 
    You could refer to the threads below to know the difference between the two disks:
    Windows Server 2012 Hyper-V. VHD or Pass-through Disk?
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/7db96291-bd07-485a-936a-837f5bce529a/windows-server-2012-hyperv-vhd-or-passthrough-disk?forum=winserverhyperv
    Need better understanding between fixed and pass-through disks
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/66004c40-8458-4d53-a073-d6f4061ae23b/need-better-understanding-between-fixed-and-passthrough-disks?forum=winserverhyperv
    And we don't need to create another storage space for the data for the WSE, and another storage space for Backup space for WSE. Then can use the drives in the same storage space.
    Regards, 
    Mandy
    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.

  • The Azure team has released the Azure Diagnostics extension for Linux VMs

    You can now ingest Syslog data into OMS from Azure Linux VMsThe Azure team has released the Azure Diagnostics extension for Linux VMsIf you use Azure Diagnostics, Operations Management Suite can ingest syslog data from storage accounts configured to store your diagnostics data. As of the publication of this blog post, OMS can ingest all logs routed through syslog or RsyslogD.
    To enable this functionality, follow the steps below:1. Enable Azure Diagnostics for your Linux machines2. In the Classic Azure Portal find your Operational Insights workspace.Note: If you can’t find your OMS workspace here, it means you haven’t linked your workspace to your Azure Subscription – follow the steps to link workspaces here
    This topic first appeared in the Spiceworks Community

    The scripts you need for Linux will be posted on OTN soon.

  • Cant set env. on linux

    hi,
    i try to set j2ee.home="/opt/sun/appserver" but it gave me an error messange
    "-bash: j2ee.home=/opt/sun/appserver/: No such file or directory"
    but if i change "j2ee.home" to "j2ee_home", it works.
    any idea how to set j2ee.home="/opt/sun/appserver" so i can play around with the Duke's Bank example.
    thx

    solved ..
    my bad...pls delete

Maybe you are looking for

  • Type of a field in select query

    i have a query like this: SELECT SINGLE (lwa_mat_attr-zattribute)             FROM mara             INTO lv_value            WHERE matnr = <fs>-matnr. can anyone tell me what would be the type of lv_value. because i have got a dump in the type declar

  • How to activate script debugging in Adobe Livecycle designer

    Friends, I would like to know how to activate script debugging in the Adobe Livecycle designer. I need to debug the scripts written in the script editor. Thanks and Regards.

  • Where to find  iOS 4.2.1 for 2nd generation - games are not opening on daughters ipod

    My daughter's ipod touch 2nd generation only has a 3.x.x software on it.   Lately she has not be able to open some of her games.    It looks like I might need to install update iOS 4.2.1 however, in iTunes the only update I see is the iOS 5.x.x which

  • Export .. to shared buffer ...

    I try to use this command but I don't understand something in the example of the Help. (F1 on shared buffer). (the bold) TABLES INDX. TYPES: BEGIN OF ITAB3_TYPE,           CONT(4),        END OF ITAB3_TYPE. DATA: INDXKEY LIKE INDX-SRTFD VALUE 'KEYVAL

  • Sum by and drill down

    hi, there are 3 levels in a dimension (grand total level , market and sub market) due to the complicated setting in RPD, I cannot use the normal method to GET "grand total" of a table. I found that I need to use "SUM(value BY market)" in the column f