How to display /etc/resolv.conf and other files from the remote host to the vMA host ESX4i

Hi all;

I'm new at VMAs, I put it in place and adds 5 Server esxi 4 and I can list the fines using vifp lists broadcast and works, very well but my problem is I want to interrogate the remote servers for this vMA host for example I need to check the contents of these files

cat /etc/resolv.conf

cat/etc/sysconfig/clock

tail/var/log/vmkernel

Discovered the following

esxcfg-firewall - q and esxcfg-vswif - l

Can someone please help me on how to run these commands or another way on how to get this information above hosts and ESXi 4. I checked the forum, but I don't see anything similair nature! now, either I'm stupid full because it's as simple as drinking water and so no one asked or I am just lucky to ask the right question, so be it, I appreciate your time and effort

Thanks in advance

Esxlinux

So its worth your time through the vMA documentation to understand how to manage your hosts and it's main use case. The operations that you are trying to accomplish cannot be done using vMA... at least in the way that you are hoping for.

See my vMA article and some of the getting started guides.

cat /etc/resolv.conf

You will want to use esxcfg-dns to list the configured DNS servers

cat/etc/sysconfig/clock

This file does not yet exist on ESXi, if you try to set the time on ESXi host, you should use NTP and it is also important to note that single ESXi uses UTC and no other options are available.

tail/var/log/vmkernel

If you need to display the host logs, consider using vi logger on vMA OR configure syslog on your host to send to the centralized syslog server

Regarding the last two commands, they do not apply to an ESXi host and therefore these commands are not available.

There are certainly differences between ESX and ESXi, understand the differences and orders to ask for certain pieces of information is very important. vMA can help with this, but you must understand the use case of vMA and what tools are at your disposal. The best way to start is to take a look at the documentation, to jump it and try to jump in, will just be confusing.

Good luck

=========================================================================

William Lam

VMware vExpert 2009,2010

VMware scripts and resources at: http://www.virtuallyghetto.com/

Twitter: @lamw

repository scripts vGhetto

Introduction to the vMA (tips/tricks)

Getting started with vSphere SDK for Perl

VMware Code Central - Scripts/code samples for developers and administrators

VMware developer community

If you find this information useful, please give points to "correct" or "useful".

Tags: VMware

Similar Questions

  • I lost the ability to drag-and - drop files from the finder to dreamweaver

    I've recently updated to OSX Maverick and I lost the ability to drag and drop files into dreamweaver.

    Is there a setting that I know that restores this functionality?

    Thank you

    Hello joyridebs & Mike,

    This seems to be due to changes in the Mavericks. A bug was noted for the workflow broken in Dreamweaver.

    Please follow the workaround by inserting objects from the panel insert until the bug is fixed.

    Kind regards

    Yalpi Shiva Prasad

  • How to get only latest date and other columns in the table

    Hello
    Table
     
       id          name        date
      123        a             2/3/2010
      124        b            15/2/2010
      125        c             1/1/2010
      123        a             12/4/2010
      125        c             17/2/2010
    
     
    It's a table, id, name, date here is the composite key.
    I want to select id, name, and date so that date (e.g., 123 date 04/12/2010 be selected for the id) is selected for each id and each id and name should be selected once.
    So, what will be its application?
    Thank you
    select
       id,
       name,
       date
    from
    (
       select
          id,
          name,
          date,
          max(date) over (partition by id, name) as max_date
       from your_table
    )
    where date = max_date;
    

    Would do assuming you do not have duplicates (all 3 columns) in the table.

  • How to remove 'other' files from the HD drive? They take place 82 Gig of HD player!

    How can I clean the ' other folders than ae picking up 82 Gig of storage HD drive?

    The following can help:

    OS x: what is 'other' space about this Mac? -Apple Support

    What is 'Other' and what I can do about it?

  • Clean logs and unwanted files from the EBS Apps and DB level

    Hi DBAs,


    I have R12 (2 nodes apps) instance with RAC (2 knots) on RHEL5.2. As application and database generate logs files, alerts and dumps in order to clean the junk files, must run the task after a period of time.

    Please tell me what need the directories/files to clean up for the applications and the RAC database after a regular interval. I don't know of these purges request, cleaning session etc. but the removal of physical content servers.

    Thank you
    -Samar-

    Samar,

    In addition to the Oracle documentation (I think you know the link), you can reference the following documents to him.

    Note: 228913.1 - Systemwide Tuning with STATSPACK reports
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=228913.1

    Note: 394937.1 - package (STATSPACK) statistical Guide
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=394937.1

    Note: 232443.1 - how to identify the resource intensive SQL for Tuning
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=232443.1

    Note: 94224.1 - FAQ - Statspack complete reference
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=94224.1

    Note: 405073.1 - read with INSTANCE CPU of the statspack report
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=405073.1

    Note: 754639.1 - how to read the buffer Cache Advisory Section in AWR and Statspack reports
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=754639.1

    Kind regards
    Hussein

  • New hard drive. can I copy the old emails and local files from the old hard drive

    I installed a larger hard drive in my laptop. I still have the old hdd. Both run on Windows 8. How can I copy all the information like e-mail, files, etc. the old hdd to the new HDD. It is in Thunderbird. Please can someone help me?

    Article has step by step instructions.

    Where are you stuck?

  • Hyperion 11.1.2.3 Applications and log files from the server

    Hello

    I use the Hyperion 11.1.2.3 Applications. version and currently the Essbase application logs are configured to generate in Essbase server. Please could you let me know if I can configure the Essbase applications to generate applications and Essbase logs to another server in files.

    Thank you

    Michel K

    You can change the location of the log with a setting of essbase.cfg

    DEFAULTLOGLOCATION

    If you want to change the location of the ODL files, then you need to change the logging.xml file in bin to essbase.

    See you soon

    John

  • In Adobe Flash CS6, I have a blue box appearing around lines drawn with the line tool (and other tools like the brush etc.). I can't understand how to disable.

    In Adobe Flash CS6, I have a blue box appearing around lines drawn with the line tool (and other tools like the brush etc.). Whenever I try to use a tool, a blue box appears around the line and I have to double click on it to handle, which opens just this line in a screen finery semi where all other objects are semi-gris in the background. I can handle this line in this screen, but nothing else at this point I could do 5 minutes ago. For example, I can no longer reach the 2 lines drawn by the tool online together. For some reason, it started randomly (probably due to an accidental combination) and I just can't put it to what it was. I inserted a video showing if all goes well I mean. Any help would be appreciated.

    Object drawing mode. Simply disable it in the tools Panel, or by using the default keyboard shortcut, which is J.

  • How can I get the history, SID and other details of the accounts of users deleted in Windows XP, 7 and 8?

    Original title: deleted user accounts.

    Hi guys,.

    I want to know the activities of a user whose account has been deleted. How can I get the history, SID and other details of the accounts of users deleted in Windows XP, 7 and 8?

    Hello

    Thanks for posting in the Microsoft Community.

    There is no newspaper available for the activities of the user. There are just a few activities of windows and the error logs is stored in Windows.

    Hope this information helps.

    If you need help to resolve any issues related to Windows, please reply and we will be happy to help you.

  • Add search in /etc/resolv.conf

    Hi all

    I understand /etc/resolv.conf gets crushed whenever the system reboots. Where can I configure search for mondomaine.fr so that it gets added to the /etc/resolv.conf automatically?

    Thanks in advance

    Christian

    I found the problem:

    In the configuration of the interface, I had 2 DNS entries separated by a comma. This syntax is incorrect, it should have been two different lines with an address each. Due to this error, the file has not been read in its entirety and the search line in /etc/resolv.conf never put.

    Thank you

    Christian

  • How can I fix a black and white screen on the air from my iPad? I rebooted it and ran the last updated IOS 9.2 on it. It is stuck and won't return to the color. All other functions work except this.

    How can I fix a black and white screen on the air from my iPad? I rebooted it and ran the last updated IOS 9.2 on it. It is stuck and won't return to the color. All other functions work except this.

    Have you checked the settings > General > accessibility > greyscale > power off.

    If this does not work ty settings > General > accessibility > zoom > on. Triple, tap the screen with three fingers. Tap choose filter. Click None. Triple, tap the screen to get rid of the menu zoom. If you have enabled greyscale in zoom you can disable it in zoom.

  • How to monitor my cpu heat and other items on my desktop HP Pavilion p6210f

    How to monitor my cpu heat and other items on my desktop HP Pavilion p6210f

    Lawrence123456,

    The applications are numerous, but I use:

    http://www.cpuid.com/downloads/HWMonitor/1.19-Setup.exe

    http://www.cpuid.com/downloads/CPU-z/1.60.1-Setup-en.exe

    http://www.cpuid.com/downloads/PC-Wizard/2012.2.0-Setup.exe

  • bought a new Imac 21 and want to know how to put in place and transfer files from old imac

    I just bought an imac 21 "new operating system El Capitan. I would like to plug in and start but would like to migrate some files from my old imac under Snow Leopard 10.6.8. I'm new to this procedure and would like to help to do this. I watched a few videos, but not sure what to do on the withdrawal of some things from the old imac before you start. Delete files from the finder, I'm not sure about the emails, contacts and all that sort of thing. Could someone suggest a good tutorial to help me.

    Thank you

    Get an external drive, you can connect to your old computer via the USB port. Clone the old disk on the external drive:

    Clone using disk utility Restore Option

    1. open utility disk from the Applications\utilitaires folder.

    2. Select the destination volume in the list on the left.

    3. click on the tab restore in the main window of THE.

    4. Select the destination volume in the left list and then drag

    him the Destination entry field.

    5. Select the volume of the source of the list on the left and drag it to

    the Source field.

    6. check understood you, and then click Restore.

    Destination means that the external backup drive. Source means that the boot disk internal.

    You now have a backup of the old computer. Move the external drive to a USB port on the computer where you are restoring files at your leisure, manually. If you want to migrate your account to full user (folder), etc., then you can use the Migration Wizard to migrate the data from the external hard drive.

    How to use the Migration Assistant to transfer files from another Mac

    Migrating data from an other Mac OS X Manually

    How to use the Migration Assistant to transfer files from another Mac


  • How to display on my screen 2 different applications at the same time?

    How to display on my screen 2 different applications at the same time?

    Hello

    The best place to ask would be the forums for answers corresponding to your version of Windows.

    Answers - Windows Forums
    http://answers.Microsoft.com/en-us/Windows

    =====================

    If you have Windows 7 with Aero - click with the right button on the taskbar at the bottom of the screen and click on 'show windows '.
    Side by Side.

    For all versions of Windows:

    You could also reduce less than full screen using the small box to the left of the red X at the top right
    and then resizing windows as you want.

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • Computer does not start up___Can I download this file from the Microsoft Web site. I put the XP CD in and it starts downloading files but it asks what windows installation I want to and don't gives me one option other than press "Enter" to abandon.

    My laptop does not start at the top. It indicates that the following file is missing or damaged WINDOWS\SYSTEM32\CONFIG\SYSTEM.

    Download this file from the Microsoft Web site. I put the XP CD in and it starts downloading files but it asks what windows installation I want to and don't gives me one option other than press "Enter" to abandon.

    See if anything here helps-

    How to recover a corrupted registry that prevents Windows XP startup
    http://support.Microsoft.com/kb/307545

    Install and use the Recovery Console in Windows XP
    http://support.Microsoft.com/kb/307654

    See also

    How to Troubleshoot Registry Corruption issues
    http://support.Microsoft.com/kb/822705

    How to fix a missing or corrupt Windows\System32\Config\System file
    http://xphelpandsupport.MVPs.org/how_do_i_repair_a_missing_or_cor1.htm

    TaurArian [MVP] 2005-2010 - Update Services

Maybe you are looking for

  • Skype said mobile call?

    my friends have tried to send me video calls, but when they do he said mobile call, I don't have a mobile device that is able to use Skype only my computer

  • Delivery Manager stopped working message is displayed while I use my player account in sky

    When I use my sky player account is to be the message Delivery Manager has stopped working displayed.i contacted the holder of technique of player sky who inform me that the problem is due to Microsoft Silverlight.The only solution so far is to unins

  • Open windows do not maximize to desktop

    I have a Windows 7 problem that when I have a few windows open for different programs minimized on the task bar and I'm trying to maximize their even once, they will not maximize.  Sometimes they seem to maximize on the right side of the desktop, and

  • Adobe software - cd missing.

    Hello. I have a little problem. I need to install the new system in my pc, but my lack of cd LR somewere. CD has been included in one of my samsung nx camera. Is it possible to get my LR4.4 of Adobe, or I have to buy a new one? I have the original LR

  • is bindElementAction to multiple symbols?

    I am very new on board animate and jquery, so maybe that's a stupid question but I can't understand the syntax to include multiple objects in a 'bindElementAction '.For example, if I want to add a 'click' to a single object, the generated code is Sym