Archiv

Archiv für die Kategorie ‘VMware’

SSH-Client aktivieren

15. März 2018 Keine Kommentare

SSH-Client aktivieren unter VMWare ESXI 6.5

esxcli network firewall ruleset set -e true -r sshClient
KategorienVMware

Dateien von einem Server zum anderem Kopieren mit SCP

24. August 2012 Keine Kommentare

Melden Sie sich Server an und führen Sie den nachfolgenden Befehl aus.

scp -r x.x.x.x:/home/datei ./zielpfadAufAktuellemServer

 

KategorienLinux, VMware

ESXi 5.0 und 3ware 9650SE

15. Mai 2012 Keine Kommentare

Unter ESXi 5.0 wird der RAID-Controller 3ware 9650SE standardmässig nicht erkannt.

Für die Installation dieses Betriebssystems auf diesem RAID-Controller muss eine benuterdefinierte ISO-Datei erstellt werden, welche die Treiber-Datei (VIB) beinhaltet.

Benötigt wird die Software PowerCLI von VMware, welche Gratis auf der Homepage von VMware zum Download bereitsteht.

Sobald PowerCLI installiert ist, müssen sie wie folgt vorgehen:

Set-ExecutionPolicy RemoteSigned

Add-EsxSoftwareDepot .\LSI_2.27.08.036vm50-offline_bundle-637081.zip
Add-EsxSoftwareDepot .\LSI_3.26.00.003vm50-offline_bundle-646893.zip
Add-EsxSoftwareDepot .\VMware-ESXi-5.0.0-469512-depot.zip

Get-EsxImageProfile

New-EsxImageProfile -CloneProfile ESXi-5.0.0-469512-standard -Name 9650se -Vendor "VMware" -Description "ESXi 5.0 build 469512 with LSI 9650SE…."

Add-EsxSoftwarePackage -ImageProfile 9650se -SoftwarePackage scsi-3w-sas
Add-EsxSoftwarePackage -ImageProfile 9650se -SoftwarePackage scsi-3w-9xxx

Get-ESXSoftwarePackage

Export-EsxImageProfile –ImageProfile 9650se –FilePath C:\ESX\ESXi5.iso –ExportToIso

 

KategorienVMware

ESX 4.0 IP-Adresse wechseln

22. September 2011 Keine Kommentare
 
Changing settings from the physical or remote console connection
 
 
Changing the IP for the Service Console must be done from the physical console or through a remote console session. If you make changes through a network connection such as SSH, network connectivity to the Service Console disconnects because the Service Console's network interface changes.
  1. Run this command to set the IP address:

    [root@server root]# esxcfg-vswif -i a.b.c.d -n w.x.y.z vswif0 , where a.b.c.d is the IP address and w.x.y.z is the subnet mask.

    Note: In this example, v swif0 is the Service Console adapter that is the interface to which you are applying the IP address change.

  2. Open the /etc/hosts file with a text editor and modify it so that it reflects the correct IP address and hostname.
  3. To change the default gateway address and the hostname, edit the /etc/sysconfig/network file and change the GATEWAY and HOSTNAME parameters to the proper values.
  4. For the changes to take place, reboot the host or restart the network service with the command:

    [root@server root]# service network restart

    Note: This command breaks any current network connections to the Service Console, but virtual machines continue to have network connection. If the ESX host is managed by VirtualCenter or vCenter Server, you may have to remove and re-add the host to the inventory. For more information, see ESX not working properly in VirtualCenter after IP address change (1005633).

Note: If the changed IP does not persist across a reboot, try deleting and recreating the Service Console vswif management interface. For more information, see Recreating Service Console networking from the command line (1000266).

Changing the hostname without rebooting

To dynamically change the hostname, run the command:
 
[root@server root]# hostname newname

 

Note: This command creates a temporary hostname change. This change is lost when the system is rebooted.

 
 
 
Changing the DNS server settings
 
To change the DNS server settings, update the nameserver IPs and search domain the /etc/resolv.conf file.
 
Changing settings in VMware vSphere or Infrastructure Client
 
To change the hostname, domain, DNS servers, and default gateway in VMware vSphere or Infrastructure Client:
  1. Highlight the ESX host and click the Configuration tab.
  2. Click DNS and Routing.
  3. Click Properties.
  4. To change the hostname, domain, and DNS servers, click the DNS Configuration tab and enter the appropriate values.

     

    Note: Disable VMware High Availability if you do not want virtual machines to failover during the hostname IP change.

     

     

  5. To change the default gateway, click the Routing tab and enter the appropriate value.
  6. Reboot the ESX host for the changes to take effect.
  7. Reconnect the ESX host to vCenter Server with the new IP address.
KategorienVMware

Diverse VMWare ESX Shell-Befehle

12. September 2011 Keine Kommentare

Nachfolgend eine Liste mit diversen VMware ESX Shell-Befehlen:

 

Befehl Beschreibung
esxcfg-firewall -q Zeigt alle offenen Ports der Firewall an.
esxcfg-firewall –enableService nfsClient Öffnet für den NFS-Client benötigte Firewall-Ports 111 und 2049 auf TCP und UDP.
esxcfg-firewall –allowOutgoing Alle ausgehende Ports öffnen
esxcfg-firewall –allowIncoming Alle eingehenden Ports öffnen
lsof -Pni zeig alle laufenden Anwendungen (Ports)

 

KategorienVMware

ESX 4.0 Firewall-Regel hinzufügen für ausgehende Kommunikation

12. August 2011 Keine Kommentare

Mit dem nachfolgendem Befehl wird SMTP-Out erlaubt

1) esxcfg-firewall -o 25,tcp,out,SMTP

KategorienVMware

Get a 503 Service Unavailable error on ESX 4.0

12. August 2011 Keine Kommentare

1) /etc/init.d/vmware-webAccess start

2) chkconfig vmware-webAccess on

KategorienVMware

How to activate root SSH access in ESX 4.0

12. August 2011 Keine Kommentare

1) cd /etc/ssh

2) nano sshd_config

3) PermitRootLogin auf yes setzen

4) Dokument speichern

5) service sshd restart oder Server neu starten

KategorienVMware