Rename directories, machines and disk files on my store of data, better practice?

Hello!

I'll have a go at cleaning our SAN. We have created a standard name and now I want to bury all the old sins...

So, what is VMware supported for the following scenarios and best practices:

Question 1

How to rename the directories on our SAN?

My idea:

1. turn off the virtual computer

2. remove the inventory

3 Rename the file (mv?) on my SAN

4 browse datastore in VC and rightclick add to the inventory

5 start the virtual machine

Question 2

How to rename my files (vmdk and flat files) disk, disks in the system (C :) and the data on the disks (D :)?

My idea:

1. turn off the virtual computer

2. remove VM disk

3 Rename the file with vmkfstool (VMware KB)

4. Add the disk to the virtual machine

5 start the virtual machine

Cordially Jens

shootking wrote:

. I would prefer a method with the virtual machine is stopped, rename and configure, then restart the virtual machine. With minimal impact on the machine and the SAN...

As indicated, you have a few options, which you have linked in the article above, which does with vmkfstools.  However, in my opinion, if you can take the time to stop a migration off line is the simplest and most effective way.  You can probably do two at a time without impact to your environment.  sVMotion is I/O intensive, so if you going that route, to just after hours or a guest at a time.

Tags: VMware

Similar Questions

  • CPU, RAM and disk, file system information for the data, logs, temp, Archive for database

    Hello gurus,

    How can we see what size of CPU and RAM for the database? According to the previous steps of this great site, I could able to do
    SQL> show parameter sga_max_size
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    sga_max_size                         big integer 800M
    SQL> exit
    Therefore, the size of the RAM for the database to which I have connected
    rootd2n3v5# ioscan -kfn |grep -i processor
    processor    0  13/120         processor CLAIMED     PROCESSOR    Processor
    processor    1  13/121         processor CLAIMED     PROCESSOR    Processor
    processor    2  13/122         processor CLAIMED     PROCESSOR    Processor
    processor    3  13/123         processor CLAIMED     PROCESSOR    Processor
    rootd2n3v5#
    The one above was the command give the OS level that I don't know what information he gives and what database, since there are 12 databases on this server.

    How can I get the CPU information?

    And where can I find information for information of system data files, logs, temp, Archive?
    <div class="jive-quote">select * from v$version</div>
    BANNER                                                           
    ---------------------------------------------------------------- 
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi 
    PL/SQL Release 10.2.0.5.0 - Production                           
    CORE     10.2.0.5.0     Production                                         
    TNS for HPUX: Version 10.2.0.5.0 - Production                    
    NLSRTL Version 10.2.0.5.0 - Production

    Ask the system administrator if the database server is a physical machine, if it is hardware partitioned or created under a virtual machine Manager? Check the operating system utilities. On AIX uname to identify if you are on an LPAR.

    In Oracle, you can query the parameter $ v to cpu_count to see how many cpu Oracle says he sees.

    HTH - Mark D Powell.

  • REALLY stupid question about virtual machines and disks of cancellations.

    I'm a bit hesitant to ask this question because it might make me look stupid, but...

    When I'm done using Virtual PC and a virtual machine running Windows XP Pro with Vista 64 Home Premium because the host os, often I did not any significant changes to the hard disk of the virtual machine.

    What I save gets saved to a network share on my server for files and printing from Win98 and saved on a flash drive.

    Assuming that I do no configuration changes or anything else I want to keep, is there a reason barely stopping properly when I 'cancellations discs' enabled?

    Any reason, I can not save time by pressing the 'X' button and choose 'disable and remove changes '?

    I am aware of patches, but took me to inform me of the patches, and I can get patches when it's convenient for me and I always validate changes when I install the patches. I'm not using it for anything other than my classes of the school of the evening for the time being, so it is not much of a value of protection on the virtual machine, and I used to write papers on the host operating system. I just use the virtual machine to play with the admin tools in an environment where I can easily fix it a massive screw-up without spending hours to reinstall Windows.

    Hey SlickRCBD,.

    Not a stupid question at all! :)

    It's very well hit the X when you have activated the disks of cancellations. And corruption or problems with the active virtual machine will be resolved when using the drive to cancel it.

    Cody C
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Time machine and old files

    I run two external drives for Time Machine.

    An external HD to store the files got somehow deleted.  He had a lot of old customer files.

    Time Machine only allows me to look at the files around the age of 2 months.

    Is it possible to recover?

    Is there a way to keep old files?

    Taz - d wrote:

    I run two external drives for Time Machine.

    An external HD to store the files got somehow deleted.  He had a lot of old customer files.

    Time Machine only allows me to look at the files around the age of 2 months.

    Is it possible to recover?

    Is there a way to keep old files?

    Do you mean the file exist in Time Machine - or that they were on a non-time drive machine.

    Time machine is not for permanent backup of the files you want to delete from your hard drive - daily backups are consolidated/cleaned in weekly backups - so if you had a file in the middle of the week - then deleted before the end of the week - time machine will not it also on the weekend date, the file did not exist on the hard disk.

  • Why is Clip Zip rename my folders and music files?

    Original Windows folder:

    Billboard Greatest Christmas Hits (1935-1954)

    Name of the Zip clip:

    09100000_Billboard more great Christmas

    This occurs intermittently in many places.

    1 copy the files and songs (mp3) directly on the device using Windows Explorer in Windows 7 Pro.

    2. check the folders and songs appear as they should (using Windows Explorer).

    3 unplug the unit and let it cool off.

    4 browse music on the device, and Note Renaming wandering some songs and records.

    5. reconnect the device to the computer via the USB port.

    6. check with the Windows Explorer that stray names are there as previously played on the device, and NOT what I put there.

    How to stop?

    It is a Zip Sansa Clip 8 GB with a SanDisk 32 GB microSDHC Mobile extra card and using Windows 7 Pro.

    Turn the player in MSC mode. It is in the Control Panel, USB mode.

  • When I go to install Windows 10 the blue window appears and then nothing more - the store of data error code 0 x 80070057

    Original title: when I go to install Windows 10 the blue window appears and then nothing

    When I update my system to Windows 7 home premium Windows 10 blue box appears and then noting. I tried Windows update troubleshooting and RC Datastore error code 0 x 80070057. Any help with this would be great. Thank you

    Hello

    Thanks for posting your query in Microsoft Community.

    I understand you are trying to install Windows 10 and nothing happens and I'll be happy to answer your query. I appreciate your efforts to try to solve your problem and help you with the following additional steps that will help you diagnose and fix the problem.

    Method 1: Error code 0 x 80070057, thank you suggest follow the steps described in the following link and check if the problem persists.

    Difficulty errors Windows Update corruption as 0 x 80070002 and 0 x 80070057

    Important: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base: How do I back up and restore the registry in Windows

    Method 2: If method 1 does not work, try to follow all the steps in the following link and get the fixed number. These steps also include when you rename a file, called pending. XML as a method 11, which will prevent your system from the error: «failed to Setup updates windows.» Changes in return ".

    Cannot install updates in Windows Vista, Windows 7, Windows Server 2008 and Windows Server 2008 R2

    Important: Running chkdsk on the drive if bad sectors are found on the disk hard when chkdsk attempts to repair this area if all available on which data can be lost.

    Note: Please restart all the Windows update services that were stopped during the troubleshooting as indicated in the link above.

    Try the following steps and after return your results for further assistance, we will be happy to help you.

  • Deleting files from the store of data using vSphere SDK

    Hello

    I'm doing a backup script that is supposed to clone a machine once every day.

    The steps that I'm trying to achieve is to first delete the old copy of my clone (this because vCenter won't replace the files). So I want to clone again and he unsubscribe vcenter because we do not want it displayed in our inventory.

    I got in regards to cloning and unsubscribing, but deleting files seems to be a bit more complicated.

    I tried a few approaches, I tried to vmdkManagement.pl that is not quite what I wanted (also tried change it without the desired result).

    I tried to figure out how to write my own script to delete, but the API is out of my reach as to understand how the neccessery objects correctly.

    Can someone help me with an excerpt from script (between Util::connect and Util::disconnect) or another approach to this issue?

    I must mention the data store is a NFS share and VMware seems to lock the files that prevents me to run a scheduled task to delete or using methods of perl (rmtree or untie) to delete files.

    Best regards

    Fredrik Eriksson

    1. you must use 'in the filename parameter.

    2 If you use vcenter you datacenter parameter specified in the function DeleteDatastoreFile

    #!/usr/bin/perl -w
    use strict;
    use warnings;
    use VMware::VILib;
    use VMware::VIRuntime;
    
    my %opts = (
       filename => {
          type => "=s",
          help => "filename to delete",
          required => 0
       }
    );
    
    Opts::add_options(%opts);
    Opts::parse();
    Opts::validate();
    Util::connect();
    
    my $filename = Opts::get_option('filename');
    
    my $fm = Vim::get_view(mo_ref => Vim::get_service_content()->fileManager);
    my $datacenter = Vim::find_entity_view(view_type => 'Datacenter');
    
    eval {
       $fm->DeleteDatastoreFile(name => $filename, datacenter => $datacenter);
    };
    if($@) {
       print("An error occured\n".($@->fault_string));
    }
    Util::disconnect();
    

    Command line

    ./script --server vcenter --username admin --password password --filename "[storage] vm-folder/vmware-10.log"
    
  • Reports on virtual machines and their records

    I want to create a report on all my virtual machines and disks attached to each.  My preference would be to have the information in a .csv, so I can work with it in Excel.  What I've done so far has proved frustrating as I find it hard to combine the two.

    What I tried:

    1 VI Toolkit - I know I can run the command 'Get - VM' and "Get-hard drive" to get everything I need, but the combination of the two is beyond my current abilities of PowerShell.

    2 Report.ps1 of alanrenouf - gives a lot of information, but nowhere close to what I need.  I considered trying to modify this script, but I thought that it would take more time than learning how to make #1.

    3 OpenXMPowerTools - get this utility approach work still takes hours without result, more work than it's worth

    I have a few scripts (VBscript) skills, it is just their transfer in the new PowerShell environment for me I have difficulties with that.  I'm picturing extract names VM of the command Get - VM and then providing them to the hard disk-Get command and write VM name and output in the .csv file.

    Any help you can provide me with would be greatly appreciated to learn PowerShell.

    Thank you

    Joey

    Did you watch his pretty good RVtools and maybe gives you options of export or copied data and import it with excellent that.  Its very nice ESX administration tool.

    If you found this information useful, please consider awarding points to 'Correct' or 'useful '. Thank you!!!

    Kind regards

    Stefan Nguyen

    VMware vExpert 2009

    iGeek Systems Inc.

    VMware, Citrix, Microsoft Consultant

  • How to list the VMs and blue file associated by cluster

    I tried to figure out how to get the list of virtual machines on a particular cluster of ESX and their associated blue records.  I tried to change some of the scripts I found that all virtual machines and their files... but can't seem to get them to identify to a cluster.

    Someone has something that I could try?

    There are indeed a few scripts that give the railways blue folder for virtual machines.

    It is an adapted version of one of my scripts that does state on the virtual machines for a specific cluster.

    $report = @()
    $cluster = 
    
    Get-Cluster $cluster | Get-VM | Get-View | % {
    
         $current = Get-View $_.Parent
         $path = $_.Name
         do {
              $parent = $current
              if($parent.Name -ne "vm"){$path = $parent.Name + "\" + $path}
              $current = Get-View $current.Parent
         } while ($current.Parent -ne $null)
    
         $row = "" | select ClusterName, VMName, Path
         $row.ClusterName = $cluster
         $row.VMName = $_.Name
         $row.Path = $path
         $report += $row
    }
    
    $report
    

    If you want to see the list in the 'blue' folder_name order, you can change the last line

    $report | Sort-Object -Property Path
    
  • deploy multiple virtual machines using vmdk and SID file

    Hello

    Need to know if I am correct or miss me something... I deploy many virtual machines using method.

    1. remove the vmdk files a XP.

    2. create new folders and copy the vmdk into this folder.

    3. create virtual machines using existing vmdk files.

    4 rename the computer and join it to the domain.

    My question is, my VMDK files are an existing xp VM (no longer exist), what is the status of the deployed virtual machines? they still have the same SID or it is changed? I managed to join to the domain, but do not want surprises in the future.

    Note:

    I had another option, could have all these automated with new SID using PowerCLi, unfortunately, osCustomization has default, I can't event run the get-OsCustomization command, it keeps failing.

    Thank you.

    Yes, Windows writes the SID on disk (virtual disk for virtual machines) or physical disk for physical machines.  The guest operating system has no idea on the vmx file.

    Dave

    VMware communities user moderator

    Now available - vSphere Quick Start Guide

    You have a system or a PCI with VMDirectPath?  Submit your specifications to Officieux VMDirectPath HCL.

  • Disk utility does not not what Time Machine backup connected / file Vault question?

    Hi all

    I'm on Mac OSX El Capitan 10.11.3 (15 d 21) on a Macbook Pro 8.2 (early 2011)

    Previously, when File Vault was not activated I've been able to backup on my external drive for Time Machine (1 TB store Transcend jet) and the drive was visible when opening disk utility no problem...

    Now since I have encrypted my first Macintosh HD using File Vault, my disk utility program will not load when my Time Machine (unencrypted) external backup disk is connected, and I can not back up by using the application Time Machine (the player is simply not visible).

    When my external drive for Time Machine is not connected, my disk utility opens very well and I can see my Macintosh HD all external USB drives.

    I tried to re-boot, I tried to disconnect all external devices, I tried to connect the Time Machine drive with two USB ports and I tried to open the first disk utility, and then connect the external drive for Time Machine without success.

    Anyone else have experience with this problem or something similar? Any help and advice would be greatly appreciated.

    Thank you very much!

    Connect your Time Machine backup disk

    Open a Terminal

    Diskutil type: list

    Paste the results

    Should look like this screenshot.

  • I get an error "the disk hard virtual parent is in a saved state. Discard the saved state or stop the virtual machine and try again. "during the installation of XP mode.

    I have Win7 Pro SP1 x 64.  I downloaded WindowsXPMode_en - us.exe (from Microsoft downloads) and run it.  The installation seems to work OK (I've specified a different location for the parent virtual hard disk file).  Then, installation happening and I provide the information requested (name of user and password for the XP Mode), updates Windows and OK to the issue of sharing.  The installation program then reports the following error:

    The disk hard virtual parent is in a saved state.  Discard the saved state or stop the virtual machine and try again.

    I get the error even if I try manually configure XP Mode (use the Setup Wizard).  I downloaded the installer XPMode (3 times) and reinstalled several times, always with the same result.  If it helps, I can't locate anywhere .vsv file.

    Any idea what's going on?

    Original title: XP Mode Setup error

    Hi smithnr10,

     

     

    You must post your question in the TechNet forums because it caters to an audience of it professionals.

    To do this, you must consult the link-

    http://social.technet.Microsoft.com/forums/en-us/w7itprovirt/threads

     

    Hope this helps!

  • Deleted virtual disk file and data store, just want to boot OS now.

    So I had a VM win7, and I added a virtual disk on a new data store.

    The new drive came out fine on windows as a new drive, and I was able to format etc.

    Now I basically unplugged all the system and booted Linux instead of ESX and ran all over the disk on which was my data store.

    Then I started in vmware and saw that the Windows VM was in a State of 'suspended' and if I try to take it back, he complains the missing disk file.

    "

    Reason: The system cannot find the specified file.
    Cannot open disk ' / vmfs/volumes/504e6c8a-b20d8bfd-1768-001e674dda97/win7/win7_1.vmdk' or one of the snapshot disks it depends on.
    VMware ESX can not find the virtual disk "/ vmfs/volumes/504e6c8a-b20d8bfd-1768-001e674dda97/win7/win7_1.vmdk". Check that the path is valid and try again.

    "

    But it does not successfully. I tried to change the settings to remove the ' disk hard 2 "of its devices, but which is disabled since I assume that the virtual machine is suspended."»

    I don't like on the virtual disk or any data on this subject, I have need to be in windows - I want to just start in

    Is it possible to get out of this State without having to remove the entire virtual machine and re - install windows?

    Thank you!

    > and started instead of ESX Linux and ran all over the disk on which was my data store.

    Sorry - that "ran the disk" mean exactly?

    to get rid of the suspended state - delete the VMS, as well as all the VMS file references in the vmx file

  • Connect physical hard disks to the virtual machine (and leave the data intact)

    Hello

    I'm looking to virtualize a SOHO headless server, that I use mainly for secure file storage.

    Currently, the system runs Linux installed on a small disc and has two drives 1.5 TB, used exclusively for data, in a cluster of ZFS mirroring. (I use the ZFS-fuse Linux-based application).

    I want virtualization for two reasons. One is to make administration easier and safer - avoid having to connect a keyboard and the physical monitor to the box from time to time. The other is that the machine is a bit more powerful to handle the load, and I'm hoping to make it work on other, more challenging tasks.

    Now, there is a catch. These discs are as highly important. I mean the data on them. What I need is to convert the current Linux system to a virtual machine, or re - install Linux on a virtual machine (don't like that), then connect the physical disks to the virtual machine as if they were actually connected.

    I certainly don't want to vmware touches those disks somehow.

    I've read the documentation, but I'm a noob when it comes to server virtualization and system engineering and don't quite understand if this is possible or not. These discs are not a SAN, they are physically connected to the server, I want to install vSphere on. (Of course, I'll log out when I run the setup of vSphere. But I need plug them again later, and they need to be sure that vmware will leave them alone and pass them to the virtual machine transparent.)

    Sigmoid wrote:

    Oh yes, the cluster mirrored ZFS. It is essentially a software RAID type thingie.

    http://en.Wikipedia.org/wiki/ZFS

    A material, or the point of view of virtualization, it appears two hard drives with a single huge partition on each that is not transparent to anyone, except the implementation of ZFS.

    OK, means that you can break the RAID, connect the drives to different host and configure RAID once again, right?

    Let's do it this way

    1. We will need a disc player more for VM, cause on flash, we install ESXi
    2. I will share ZFS :-), all you need to do with that before you install ESXi
    3. make the BACKUP!
    4. Disconnect the data host drives
    5. install ESXi 4.1 U1 free version on flash
    6. Download the site VMware vSphere client
    7. Connect the VM disk to ESXi
    8. customer help create the virtual machine and install the OS on it
    9. stop the virtual machine and esxi
    10. connect DATA drives to the ESXi host
    11. begin to ESXi
    12. See how to add RDM on youtube, after client use, change first hardware VM--> add a new hard disk--> choose Raw Device Mapping--> (physical or virtual) mode--> store it with folder VM - FACT
    13. Start the virtual machine, now your VM should see both drives, with good data course :-)

    I have just made this procedure (add ROW with data in Linux VM) on ubuntu VM, works well

  • Could not start the virtual machine: "the specified file is not a virtual disk.

    Hi, I have a problem from a guest vm-workstation.

    Details below - I've done some reading here for some other "the file specified."

    is

    not a virtual disk' messages and I suspect that I am out of luck

    but I have

    wanted to ask just in case there was something miss me

    Here I tried to gather records / logs that other threads

    mentioned - I

    Welcome to all the tips on the revival of the guest, or a

    pointer to a how-to on recovering the files of a given snapshot.

    Thank you

    John

    Summary:

    VMware workstation: 7.0.1 build 227600

    host of os: Vista sp2, 64-bit

    (16 GB of ram)

    guest operating system: sles10 sp2 64-bit (4 GB ram)

    the virtual machine folder:

    drive eSATA (samsung 320, blacx attachment)

    symptom: guest vm

    does not start: says "the specified file is not a virtual disk.

    history: this particular comments works fine; I've done about 30 shots

    during the last 2 months.  The guest is not a copy - even if she did start life as a full-clone

    another linux-client with or without an operating system installed.  In any case, I've used it to very good

    effect for 2 months now.

    So last night I wanted to power off of the host, while I lived my usual steps:

    (1) stop my os of burst (# shutdown - h now)

    (2) even worksation vmware (file - & gt; exit)

    (3) stop start vista (not "suspend" but the real stop turn off the power).

    (4) visa bluescreened.  Now she is doing this every so often, so I thought that it would be

    a big deal.

    (5) this morning I tried to turn on the virtual machine and I got the 'not a virtual disk' error.

    My best guess at this point is the bluescreen stopped some write cache to be

    flushed to disk.  The funny thing is, after the previous bluescreens 3 or 4, the

    Comments to restart without a hitch.

    shrug In any case, just to be weave, I disabled write Vista for outside cache

    device (set to security policy / deletion in Device Manager).  Seems smarter to

    an external device.

    Spare part

    Attached is a file cant_start.zip (191KO) containing:

    dircontents.txt - directory of the client's file listing
    sles10_sp2. NVRAM
    sles10_sp2.vmsd
    sles10_sp2.vmx
    sles10_sp2.vmxf
    VMware.log - other requests asked for *.log files, so I thought
    VMware - 0.log - I should send him these as well.
    VMware - 1.log
    VMware - 2.log
    \ui-logs - 2 IU-logs from C:\Users\jgreve\AppData\Local\Temp\vmware-jgreve
    \vmdk_files - subdirectory of *.vmdk files, light, & can be useful
    -end-

    I checked the VMDK and newspapers - and the VMDK all look great.

    Last departure also seems to succeed?

    As it seems that instant 36 is not used so far - I was just going to throw it away and try again.

    To do this, you would change the line vmx file

    scsi0:0. FileName = 'suse11.2_x64 - cl1 - 000036.vmdk.

    TO

    scsi0:0. FileName = 'suse11.2_x64 - cl1 - 000035.vmdk.

    and then try to restart the virtual machine. If that works then remove all the

    suse11.2_x64 - cl1 - 000036-* files

    ___________________________________

    VMX-settings- Workstation FAQ -[MOA-liveCD | http://sanbarrow.com/moa241.html]- VM-infirmary

Maybe you are looking for