Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Virtual Server

Vista Tutorial - Hyper-V question

Reply
 
Old 02-10-2009   #1 (permalink)
James
Guest


 
 

Hyper-V question

Lets say I install server 2008 and Hyper-V on a new server. I create a few
VM's in the D:\VMS folder and name them VM1 and VM2. Is there a way to use a
command from the comamnd line to start and stop those vms? Something like
shutvm d:\vms\vm1 or startvm d:\vms\vm2 ? I am just using shutvm
or startvm as examples.


Thanks,

James



My System SpecsSystem Spec
Old 02-10-2009   #2 (permalink)
Charlie Russel - MVP
Guest


 
 

Re: Hyper-V question

Right now, you'd need to write a WMI script. In vbscript or PowerShell. In
the version that is part of Server 2008 R2, we should have native PowerShell
cmdlets for this.

--
Charlie.
http://msmvps.com/blogs/xperts64
http://mvp.support.microsoft.com/profile/charlie.russel

"James" <acidflea@xxxxxx> wrote in message
news:%23dcItY%23iJHA.504@xxxxxx
Quote:

> Lets say I install server 2008 and Hyper-V on a new server. I create a few
> VM's in the D:\VMS folder and name them VM1 and VM2. Is there a way to use
> a command from the comamnd line to start and stop those vms? Something
> like shutvm d:\vms\vm1 or startvm d:\vms\vm2 ? I am just using
> shutvm or startvm as examples.
>
>
> Thanks,
>
> James
>
My System SpecsSystem Spec
Old 02-10-2009   #3 (permalink)
James
Guest


 
 

Re: Hyper-V question

Any good links that might help me out?


"Charlie Russel - MVP" <charlie@xxxxxx> wrote in message
news:OODX5r%23iJHA.1928@xxxxxx
Quote:

> Right now, you'd need to write a WMI script. In vbscript or PowerShell. In
> the version that is part of Server 2008 R2, we should have native
> PowerShell cmdlets for this.
>
> --
> Charlie.
> http://msmvps.com/blogs/xperts64
> http://mvp.support.microsoft.com/profile/charlie.russel
>
> "James" <acidflea@xxxxxx> wrote in message
> news:%23dcItY%23iJHA.504@xxxxxx
Quote:

>> Lets say I install server 2008 and Hyper-V on a new server. I create a
>> few VM's in the D:\VMS folder and name them VM1 and VM2. Is there a way
>> to use a command from the comamnd line to start and stop those vms?
>> Something like shutvm d:\vms\vm1 or startvm d:\vms\vm2 ? I am
>> just using shutvm or startvm as examples.
>>
>>
>> Thanks,
>>
>> James
>>
>

My System SpecsSystem Spec
Old 02-11-2009   #4 (permalink)
Charlie Russel - MVP
Guest


 
 

Re: Hyper-V question

Google will help immensely, but a good place to start is always the TechNet
Script Center (http://www.microsoft.com/technet/scr.../hubs/msh.mspx)

They're basic scripts, but usually that's all you need. Also, the Virtual PC
Guy's blog is bound to have stuff. http://blogs.msdn.com/virtual_pc_guy/

--
Charlie.
http://msmvps.com/blogs/xperts64
http://mvp.support.microsoft.com/profile/charlie.russel

"James" <acidflea@xxxxxx> wrote in message
news:%2310xIz%23iJHA.4276@xxxxxx
Quote:

> Any good links that might help me out?
>
>
> "Charlie Russel - MVP" <charlie@xxxxxx> wrote in message
> news:OODX5r%23iJHA.1928@xxxxxx
Quote:

>> Right now, you'd need to write a WMI script. In vbscript or PowerShell.
>> In the version that is part of Server 2008 R2, we should have native
>> PowerShell cmdlets for this.
>>
>> --
>> Charlie.
>> http://msmvps.com/blogs/xperts64
>> http://mvp.support.microsoft.com/profile/charlie.russel
>>
>> "James" <acidflea@xxxxxx> wrote in message
>> news:%23dcItY%23iJHA.504@xxxxxx
Quote:

>>> Lets say I install server 2008 and Hyper-V on a new server. I create a
>>> few VM's in the D:\VMS folder and name them VM1 and VM2. Is there a way
>>> to use a command from the comamnd line to start and stop those vms?
>>> Something like shutvm d:\vms\vm1 or startvm d:\vms\vm2 ? I
>>> am just using shutvm or startvm as examples.
>>>
>>>
>>> Thanks,
>>>
>>> James
>>>
>>
>
>
My System SpecsSystem Spec
Old 02-11-2009   #5 (permalink)
James
Guest


 
 

Re: Hyper-V question

One more question. We are using vmware server and we have to stop each vm to
be able to create a backup image of the vm. Is there the ability to backup a
vm image while it is running when when you are using Hyper-V? I know you can
install a backup client and do a backup but we are talking about backing up
the whole vm image.


"James" <acidflea@xxxxxx> wrote in message
news:%23dcItY%23iJHA.504@xxxxxx
Quote:

> Lets say I install server 2008 and Hyper-V on a new server. I create a few
> VM's in the D:\VMS folder and name them VM1 and VM2. Is there a way to use
> a command from the comamnd line to start and stop those vms? Something
> like shutvm d:\vms\vm1 or startvm d:\vms\vm2 ? I am just using
> shutvm or startvm as examples.
>
>
> Thanks,
>
> James
>

My System SpecsSystem Spec
Old 02-12-2009   #6 (permalink)
Charlie Russel - MVP
Guest


 
 

Re: Hyper-V question

yes, you can using Data Protection Manager. It is VSS aware.

--
Charlie.
http://msmvps.com/blogs/xperts64
http://mvp.support.microsoft.com/profile/charlie.russel

"James" <acidflea@xxxxxx> wrote in message
news:%23qGh4bKjJHA.2516@xxxxxx
Quote:

> One more question. We are using vmware server and we have to stop each vm
> to be able to create a backup image of the vm. Is there the ability to
> backup a vm image while it is running when when you are using Hyper-V? I
> know you can install a backup client and do a backup but we are talking
> about backing up the whole vm image.
>
>
> "James" <acidflea@xxxxxx> wrote in message
> news:%23dcItY%23iJHA.504@xxxxxx
Quote:

>> Lets say I install server 2008 and Hyper-V on a new server. I create a
>> few VM's in the D:\VMS folder and name them VM1 and VM2. Is there a way
>> to use a command from the comamnd line to start and stop those vms?
>> Something like shutvm d:\vms\vm1 or startvm d:\vms\vm2 ? I am
>> just using shutvm or startvm as examples.
>>
>>
>> Thanks,
>>
>> James
>>
>
>
My System SpecsSystem Spec
Old 02-12-2009   #7 (permalink)
Geoff N. Hiten
Guest


 
 

Re: Hyper-V question

Just to clarify, VSS (Volume Shadow Service) is the mechanism Windows uses
to obtain a consistent image on an active volume. Since VSS is Hyper-V
aware, DPM is Hyper-V compatible.

--
Geoff N. Hiten
Principal SQL Infrastructure Consultant
Microsoft SQL Server MVP




"Charlie Russel - MVP" <charlie@xxxxxx> wrote in message
news:OZWYcbOjJHA.5812@xxxxxx
Quote:

> yes, you can using Data Protection Manager. It is VSS aware.
>
> --
> Charlie.
> http://msmvps.com/blogs/xperts64
> http://mvp.support.microsoft.com/profile/charlie.russel
>
> "James" <acidflea@xxxxxx> wrote in message
> news:%23qGh4bKjJHA.2516@xxxxxx
Quote:

>> One more question. We are using vmware server and we have to stop each vm
>> to be able to create a backup image of the vm. Is there the ability to
>> backup a vm image while it is running when when you are using Hyper-V? I
>> know you can install a backup client and do a backup but we are talking
>> about backing up the whole vm image.
>>
>>
>> "James" <acidflea@xxxxxx> wrote in message
>> news:%23dcItY%23iJHA.504@xxxxxx
Quote:

>>> Lets say I install server 2008 and Hyper-V on a new server. I create a
>>> few VM's in the D:\VMS folder and name them VM1 and VM2. Is there a way
>>> to use a command from the comamnd line to start and stop those vms?
>>> Something like shutvm d:\vms\vm1 or startvm d:\vms\vm2 ? I
>>> am just using shutvm or startvm as examples.
>>>
>>>
>>> Thanks,
>>>
>>> James
>>>
>>
>>
>
My System SpecsSystem Spec
Old 02-12-2009   #8 (permalink)
James
Guest


 
 

Re: Hyper-V question

We currently use Arcserve by CA. Would it work using Arcserve?


"Geoff N. Hiten" <SQLCraftsman@xxxxxx> wrote in message
news:OwbqhDVjJHA.500@xxxxxx
Quote:

> Just to clarify, VSS (Volume Shadow Service) is the mechanism Windows uses
> to obtain a consistent image on an active volume. Since VSS is Hyper-V
> aware, DPM is Hyper-V compatible.
>
> --
> Geoff N. Hiten
> Principal SQL Infrastructure Consultant
> Microsoft SQL Server MVP
>
>
>
>
> "Charlie Russel - MVP" <charlie@xxxxxx> wrote in message
> news:OZWYcbOjJHA.5812@xxxxxx
Quote:

>> yes, you can using Data Protection Manager. It is VSS aware.
>>
>> --
>> Charlie.
>> http://msmvps.com/blogs/xperts64
>> http://mvp.support.microsoft.com/profile/charlie.russel
>>
>> "James" <acidflea@xxxxxx> wrote in message
>> news:%23qGh4bKjJHA.2516@xxxxxx
Quote:

>>> One more question. We are using vmware server and we have to stop each
>>> vm to be able to create a backup image of the vm. Is there the ability
>>> to backup a vm image while it is running when when you are using
>>> Hyper-V? I know you can install a backup client and do a backup but we
>>> are talking about backing up the whole vm image.
>>>
>>>
>>> "James" <acidflea@xxxxxx> wrote in message
>>> news:%23dcItY%23iJHA.504@xxxxxx
>>>> Lets say I install server 2008 and Hyper-V on a new server. I create a
>>>> few VM's in the D:\VMS folder and name them VM1 and VM2. Is there a way
>>>> to use a command from the comamnd line to start and stop those vms?
>>>> Something like shutvm d:\vms\vm1 or startvm d:\vms\vm2 ? I
>>>> am just using shutvm or startvm as examples.
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> James
>>>>
>>>
>>>
>>
>

My System SpecsSystem Spec
Old 02-12-2009   #9 (permalink)
Geoff N. Hiten
Guest


 
 

Re: Hyper-V question

According to its published documentation, Arcserv does have the option to
use VSS to back up open files.

--
Geoff N. Hiten
Principal SQL Infrastructure Consultant
Microsoft SQL Server MVP




"James" <acidflea@xxxxxx> wrote in message
news:uIyyQmVjJHA.5588@xxxxxx
Quote:

> We currently use Arcserve by CA. Would it work using Arcserve?
>
>
> "Geoff N. Hiten" <SQLCraftsman@xxxxxx> wrote in message
> news:OwbqhDVjJHA.500@xxxxxx
Quote:

>> Just to clarify, VSS (Volume Shadow Service) is the mechanism Windows
>> uses to obtain a consistent image on an active volume. Since VSS is
>> Hyper-V aware, DPM is Hyper-V compatible.
>>
>> --
>> Geoff N. Hiten
>> Principal SQL Infrastructure Consultant
>> Microsoft SQL Server MVP
>>
>>
>>
>>
>> "Charlie Russel - MVP" <charlie@xxxxxx> wrote in message
>> news:OZWYcbOjJHA.5812@xxxxxx
Quote:

>>> yes, you can using Data Protection Manager. It is VSS aware.
>>>
>>> --
>>> Charlie.
>>> http://msmvps.com/blogs/xperts64
>>> http://mvp.support.microsoft.com/profile/charlie.russel
>>>
>>> "James" <acidflea@xxxxxx> wrote in message
>>> news:%23qGh4bKjJHA.2516@xxxxxx
>>>> One more question. We are using vmware server and we have to stop each
>>>> vm to be able to create a backup image of the vm. Is there the ability
>>>> to backup a vm image while it is running when when you are using
>>>> Hyper-V? I know you can install a backup client and do a backup but we
>>>> are talking about backing up the whole vm image.
>>>>
>>>>
>>>> "James" <acidflea@xxxxxx> wrote in message
>>>> news:%23dcItY%23iJHA.504@xxxxxx
>>>>> Lets say I install server 2008 and Hyper-V on a new server. I create a
>>>>> few VM's in the D:\VMS folder and name them VM1 and VM2. Is there a
>>>>> way to use a command from the comamnd line to start and stop those
>>>>> vms? Something like shutvm d:\vms\vm1 or startvm d:\vms\vm2 ?
>>>>> I am just using shutvm or startvm as examples.
>>>>>
>>>>>
>>>>> Thanks,
>>>>>
>>>>> James
>>>>>
>>>>
>>>>
>>>
>>
>
>
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Hyper-V memory management/pagefile question Virtual Server
Hyper-V standalone vs Hyper-V windows 2008 Core Virtual Server
Cannot manage an Hyper-V on Core from a full installed W2K8 with Hyper-V... Virtual Server
Hyper-V Setup - Networking Question Virtual Server
Hyper-V question Virtual Server


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46