VMware Global Community
akumal2
Enthusiast
Enthusiast
Jump to solution

shutdown guest por comandos ?

Hola

Poniendonos encima de una maquina virtual podemos seleccionar shutdown guest. ¿esto por comandos como se hace?

gracias

0 Kudos
1 Solution

Accepted Solutions
jbruelasdgo
Virtuoso
Virtuoso
Jump to solution

el comando es vmware-cmd /vmfs/volumes/pathtoVM/nameoffile.vmx stop

si no se deja vmware-cmd /vmfs/volumes/pathtoVM/nameoffile.vmx stop hard

para un reset vmware-cmd /vmfs/volumes/pathtoVM/nameoffile.vmx reset

espero sea util

saludos

Jose

Jose B Ruelas http://aservir.wordpress.com

View solution in original post

0 Kudos
3 Replies
Samquejo
Commander
Commander
Jump to solution

Buenas

desde la sc con vmware-cmd stop <mv>. Consulta la documentación antes porque hay muchas mas opciones

Si esta respuesta es util, por favor marca su correspondiente notificador.

Gracias/Regards

Si esta u otra respuesta es util, por favor marca su correspondiente notificador. Gracias/Regards
0 Kudos
jbruelasdgo
Virtuoso
Virtuoso
Jump to solution

el comando es vmware-cmd /vmfs/volumes/pathtoVM/nameoffile.vmx stop

si no se deja vmware-cmd /vmfs/volumes/pathtoVM/nameoffile.vmx stop hard

para un reset vmware-cmd /vmfs/volumes/pathtoVM/nameoffile.vmx reset

espero sea util

saludos

Jose

Jose B Ruelas http://aservir.wordpress.com
0 Kudos
xacolabril
Expert
Expert
Jump to solution

Hola Akumal2, al hacer un Shitdown guest lo que haces es ejecutar unos scripts que instala las VMWare Tools en la VM. Si vas a la VM y ejecutar las VMWare Tools (dale doble click al iconito, al lado del reloj), verás que puedes configurar el tipo de script para hacer ciertas tareas, entre ellos el de ShutDown, que si no recuerdo mal es un Visual Basic Script.

Te recomiendo que si quieres parar una VM de forma remota utilices Shutdown.exe de tu XP por ejemplo:

C:\>shutdown.exe /?

Usage: shutdown.exe -i

No args Display this message (same as -?)

-i Display GUI interface, must be the first option

-l Log off (cannot be used with -m option)

-s Shutdown the computer

-r Shutdown and restart the computer

-a Abort a system shutdown

-m
computername Remote computer to shutdown/restart/abort

-t xx Set timeout for shutdown to xx seconds

-c "comment" Shutdown comment (maximum of 127 characters)

-f Forces running applications to close without warning

-d [p]:xx:yy The reason code for the shutdown

u is the user code

p is a planned shutdown code

xx is the major reason code (positive integer less than 256)

yy is the minor reason code (positive integer less than 65536)

Xavier Colomé Abril. VMware Certified Professional VCP3, VCP4 and VCP5. [Si encuentras que esta o cualquier otra respuesta ha sido de utilidad, vótalas. Gracias.] [If you find this or any other information helpful or correct, please consider awarding points. Thank you.]
0 Kudos