Difference between revisions of "VMware ESXI notater"

From Teknologisk videncenter
Jump to: navigation, search
m (New page: == SSH access == * '''BEMÆRK:'''SSH access til ESXI er ikke supporteret af VMWARE * <CRTL>-<ALT>-<F1> på konsol *skriv '''unsupported''' (Echoes ikke tilbage) *Tast '''root''' password *...)
 
m
Line 1: Line 1:
== SSH access ==
+
= SSH access til ESXI boks =
 
* '''BEMÆRK:'''SSH access til ESXI er ikke supporteret af VMWARE
 
* '''BEMÆRK:'''SSH access til ESXI er ikke supporteret af VMWARE
 
* <CRTL>-<ALT>-<F1> på konsol
 
* <CRTL>-<ALT>-<F1> på konsol
Line 9: Line 9:
 
* <CRTL>-<ALT>-<F2> på konsol
 
* <CRTL>-<ALT>-<F2> på konsol
 
*restart
 
*restart
 +
= VMware Infrastructure Management Assistant (VIMA) ==
 +
*[http://communities.vmware.com/community/vmtn/vsphere/automationtools/vima Download VIMA]
 +
Pak ud i folder og '''Deploy OVF template''' fra VMware Client. Installerer Redhat Linux VM. Start og giv passwd til bruger '''vi-admin'''. Giv evt. root et passwd med '''sudo passwd root''' og ændre root i '''/etc/passwd''' med '''vipw''' fra nologin til '''/bin/bash'''.
 +
== VIMA kommandoer ==
 +
<source lang=cli>
 +
[root@vm ~]# vmware-cmd.pl -U root -P De4siccna. -H 192.168.1.101  -l
 +
 +
/vmfs/volumes/4b379b49-1ce09faa-230a-002186f400f1/CentOS54-1/CentOS54-1.vmx
 +
/vmfs/volumes/4b379b49-1ce09faa-230a-002186f400f1/XP/XP.vmx
 +
/vmfs/volumes/4b379b49-1ce09faa-230a-002186f400f1/FreeBSD/FreeBSD.vmx
 +
/vmfs/volumes/4b379b49-1ce09faa-230a-002186f400f1/Solaris/Solaris.vmx
 +
/vmfs/volumes/4b379b49-1ce09faa-230a-002186f400f1/Ubuntu desktop 9.04/Ubuntu desktop 9.04.vmx
 +
/vmfs/volumes/4b379b49-1ce09faa-230a-002186f400f1/Ubuntu server 9.10 64bit/Ubuntu server 9.10 64bit.vmx
 +
/vmfs/volumes/4b379b49-1ce09faa-230a-002186f400f1/VMware Infrastructure Management/VMware Infrastructure Management.vmx
 +
[root@vm ~]# vmware-cmd.pl -U root -P De4siccna. -H 192.168.1.101 /vmfs/volumes/4b379b49-1ce09faa-230a-002186f400f1/FreeBSD/FreeBSD.vmx getuptime
 +
getuptime() = 20055[root@vm ~]#
 +
</source>
 +
 +
{{#css:
 +
   
 +
    pre {  font-family: Lucida Console; font-weight: bold; font-size: 14px; color: #00FF00; background: black; margin: 10px 50px; width: 800px; line-height: 200%; overflow: auto;}
 +
}}
 
[[Category:VMware]]
 
[[Category:VMware]]

Revision as of 15:44, 30 December 2009

SSH access til ESXI boks

  • BEMÆRK:SSH access til ESXI er ikke supporteret af VMWARE
  • <CRTL>-<ALT>-<F1> på konsol
  • skriv unsupported (Echoes ikke tilbage)
  • Tast root password
  • vi /etc/inetd.conf
  • fjern # fra ssh linien
  • exit
  • <CRTL>-<ALT>-<F2> på konsol
  • restart

VMware Infrastructure Management Assistant (VIMA) =

Pak ud i folder og Deploy OVF template fra VMware Client. Installerer Redhat Linux VM. Start og giv passwd til bruger vi-admin. Giv evt. root et passwd med sudo passwd root og ændre root i /etc/passwd med vipw fra nologin til /bin/bash.

VIMA kommandoer

[root@vm ~]# vmware-cmd.pl -U root -P De4siccna. -H 192.168.1.101  -l

/vmfs/volumes/4b379b49-1ce09faa-230a-002186f400f1/CentOS54-1/CentOS54-1.vmx
/vmfs/volumes/4b379b49-1ce09faa-230a-002186f400f1/XP/XP.vmx
/vmfs/volumes/4b379b49-1ce09faa-230a-002186f400f1/FreeBSD/FreeBSD.vmx
/vmfs/volumes/4b379b49-1ce09faa-230a-002186f400f1/Solaris/Solaris.vmx
/vmfs/volumes/4b379b49-1ce09faa-230a-002186f400f1/Ubuntu desktop 9.04/Ubuntu desktop 9.04.vmx
/vmfs/volumes/4b379b49-1ce09faa-230a-002186f400f1/Ubuntu server 9.10 64bit/Ubuntu server 9.10 64bit.vmx
/vmfs/volumes/4b379b49-1ce09faa-230a-002186f400f1/VMware Infrastructure Management/VMware Infrastructure Management.vmx
[root@vm ~]# vmware-cmd.pl -U root -P De4siccna. -H 192.168.1.101 /vmfs/volumes/4b379b49-1ce09faa-230a-002186f400f1/FreeBSD/FreeBSD.vmx getuptime
getuptime() = 20055[root@vm ~]#