- Techblog - Tim Wanierke - http://techblog.wanierke.de -

Rename VMWare ESX Host and generate certificate

Dieser Eintrag stammt von Tim Wanierke Am 19.1.2009 @ 22:38 In VMWare | Keine Kommentare

Rename:

1. Enter the ESX Server “Maintenance” mode
2. Login to the console via SSH or via ILO or DRAC card.
3. Login with root permission.
4. Edit the hostname in the following files.

        /etc/sysconfig/networking
        /etc/hosts

Regenerating Certificates

The ESX Server host generates certificates when you first start the host after installation. Thereafter, whenever you restart the vmware-hostd process, the vmware-mgmt script searches for existing certificate files (rui.crt and rui.key) and, if it can’t find them, generates new certificate files. Under certain circumstances, you might need to force ESX Server host to generate new
certificates. You typically need to generate new certificates only if:
serv! You change the host name.

! You accidentally delete the certificates. !

To generate new Certificates for the ESX Server host

1. Change directories to 

       /etc/vmware/ssl

2. Create backups of any existing certificates by executing the following commands:
       
        mv rui.crt orig.rui.crt
        mv rui.key orig.rui.key

3. Enter the following command to restart the vmware-hostd process:

        service mgmt-vmware restart

4. Confirm that the ESX Server host generated new certificates by executing the following command comparing the time stamps 
    of the new certificate files with orig.rui.crt and orig.rui.key:
   
        ls -la


Dieser Artikel wurde ausgedruckt ab Techblog - Tim Wanierke: http://techblog.wanierke.de

URL zum Artikel: http://techblog.wanierke.de/2009/01/19/rename-vmware-esx-host-and-generate-certificate/

Klicken hier zum Drucken.