Configuring vSphere 5.0 Update Manager Download Service

The UMDS (Update Manager Download Service) is different from the VMware Update Manager and is used to download patches for non-internet connected vmware environments (similar to an offline WSUS). The installer is within the vSphere 5 DVD under the “umds” folder.

1. Install UMDS as a normal VMware application selecting local/remote databases etc. You cannot install UMDS on a system that already has Update Manager installed. The important selection during setup is to set the path to where you actually want the patches to be downloaded to (rather than a folder within C:\Program Files\Vmware …….).

2. To configure UMDS you need to run the vmware-umds executable from an elevated command prompt. Note: switches are case-sensitive!

Disable update for Virtual Appliance & enable ESXi host downloads

vmware-umds -S –enable-host –disable-va

Show current download platforms

vmware-umds -G

Removes all platforms other than 5.0

vmware-umds -S -d embeddedEsx-3.5.0-INTL esx-3.5.0-INTL embeddedEsx-4.0.0 esx-4.0.0 embeddedESX-4.1.0 esx-4.1.0

Download updates using the current configuration

vmware-umds -D

Export repository

vmware-umds -E –export-store <path to export>

Full configuration and switches on the vmware site http://pubs.vmware.com/vsphere-51/index.jsp?topic=%2Fcom.vmware.vsphere.update_manager_utility.doc%2FGUID-3B44E90F-2589-4FFF-B39F-CA407AFE0619.html

Advertisements

Replacing McAfee ePO server certificates

After web searching and trial and error I have found the way to replace the default web certificate on ePO 4.5 using a Microsoft CA. The process is pretty straightforward as long as each step is taken in turn.

• At various points you will be asked for the passwords for the private key, ensure you write this down.
• Ensure that the CA is trusted by your Enterprise CA and is added in the Trusted Root Certification Authorities list

1. Install Openssl onto the machine you are going to create the certificates. I used a windows 7 terminal as it had access to both the ePO and Certificate Authority web pages.

2. Create a folder labelled “Certs” on your C:\. This is to keep all files together.

3. Open an administrative command prompt (right click, run as) and change to the Openssl directory. By default this is C:\Openssl-win32\bin.

4. Enter the following command to create a new Private Key (note, type directly as I found cutting and pasting caused problems):

Openssl genrsa –des3 –out “c:\certs\mcafee.key” 2048

5. Enter the following command to export the private key from step 4:

Openssl rsa –in “c:\certs\mcafee.key” –out “c:\certs\unsecured.mcafee.key”

6. Enter the following command to create a Certificate Signing Request (.csr)using the key created in step 4:

Openssl req –new –key “c:\certs\mcafee.key” –out “c:\certs\mcafee.csr”

7. You will now be asked for the necessary information for your certificate as below (with sample answers). If you do not know exactly what information to insert most parts can be ignored but the vital section is “Common Name” as this the servername you will enter when connecting to ePO. In a single domain environment then the server name is good enough. If the server is likely to be accessed by machines external to your domain then use the server FQDN:

Enter pass phrase for mcafee.key:
You are about to be asked to enter information that will be incorporated into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter ‘.’, the field will be left blank.
—–
Country Name (2 letter code) [US]:US
State or Province Name (full name) [Some-State]:Oregon
Locality Name (eg, city) []:Beaverton
Organization Name (eg, company) [Internet Widgits Pty Ltd]:XYZ Inc.
Organizational Unit Name (eg, section) []:Tech. Support
Common Name (eg, YOUR name) []:EPOSRV
Email Address []:support@xyz.com
Please enter the following ‘extra’ attributes
to be sent with your certificate request
A challenge password []:password
An optional company name []:

8. The “mcafee.csr” file will now be created using the information you have supplied in step 7. You will now need to submit this to your Certificate Authority (by default http://servername/certsrv).

9. Select Request a certificate link

10. Click the advanced certificate request.

11. Click the Submit a certificate request by using a base-64-encoded CMC or PKCS #10 file, or submit a renewal request by using a base-64-encoded PKCS #7 file link.

12. Open the certificate request in notepad and paste all text into the Saved Request box.

13. Click Submit.

14. Depending on your Certificate Authority configuration you may receive your certificate immediately or you may need to issue (or get someone else to issue) your certificate.

15. Click Download CA chain

16. Save as c:\certs\ePO.p7b

17. Double click c:\certs\ePO.p7b and navigate to c:\certs\epo.p7b>Certificates

18. Right click on the certificate shown and select Export, select Cryptographic Message Syntax Standard – PKCS #7 Certificates (.P7B), Save as c:\certs\epocert.p7b

19. You should now have the following files available in c:\certs:

a. Epocert.p7b
b. Unsecured.mcafee.key

20. Navigate to your ePO server console and log in. Select Menu, Configuration, Server Settings

21. Select Server Certificate and click Edit

a. For the Certificate (P7B, PEM) select c:\certs\epocert.p7b.
b. For the Private key (PEM) select c:\certs\unsecured.mcafee.key.
c. In the Password field enter the password used when creating the certificates.

22. Reboot the ePO server

23. Now when you connect to the ePO server you should not receive any certificate warnings.

2008 R2 Domain Controllers have “unidentified network”

I have found two workarounds for this issue.

 

1. From Microsoft http://support.microsoft.com/kb/2001093 – they do not support this in a production environment!

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NTDS\Parameters
Value name:  Repl Perform Initial Synchronizations
Value type:  REG_DWORD
Value data: 0

 

2. Edit the following registry entries to contain the correct domain name

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\History\networkname

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\History\machinedomain