Thursday, April 26, 2012

How to backup and restore Veeambackup database

 

At Veeam forums you can find a .bat script that backups Veeambackup database I've made some changes to fit my own scenario:

Tuesday, April 24, 2012

GPMC in Windows 2008

Here you con find an article that explains how to install the Group Policy Management Console (GPMC) in Windows 2008

You can additionally download GPMC v2 from Microsoft's website here.

Here is a good article that explains how to use GPMC v2.

Tuesday, March 27, 2012

MDAEMON 554 Message is not RFC compliant; missing "Date" header

Here you can find the solution to this error in MDaemon mail server. It's a post from Jay Tolbert at lists.altn.com:
Go to Setup -> Default Domain & Servers, Servers, uncheck ...refuses
messages which are not RFC compliant. That will allow MDaemon to accept
the malformed messages.
To be RFC compliant a message requires a Date header, which you will get
if missing with the other switch you checked, and either a single From
or Sender header (see help for full requirements). If you want to make
sure messages have a From header, you can do it with a content filter
rule. Go to Security -> Content Filter, New Rule. Name it something
like 'Add missing From header'. Check 'If the FROM HEADER contains' on
the left. Click on 'contains specific strings' at the bottom, click on
'contains', change 'contains' to 'Does Not Exist', click OK, click OK.
On the right click 'ADD an extra HEADER 1 to message'. At the bottom
click on 'specify information'. Put in 'From' as the header name and
$Header:X-Envelope-From$ as the header value. Click OK. Click OK to
save the rule. The X-Envelope-From header is the from address given
during the SMTP transaction. Generally, it will match the From header
inside the message though there are several situations, like list
messages, where it may be different.

Friday, January 13, 2012

VMFS 3 maximum file size

This is the maximum file size in VMFS 3 depending on block size selected during filesystem creation.
image

Tuesday, January 10, 2012

iPad IPSec notes

Here are some notes relatives to IPSec connection to non CISCO routers from iPAD devices:
image

Wednesday, January 4, 2012

iSCSI disks rescan on vSphere 4.x


When you've lost your iSCSI disks on vSphere esx4, you can force a rescan of the vmhbaXX adapter from console, keep reading....

Wednesday, December 28, 2011

How to backup and restore Veeambackup database

 

At Veem forums you can find a .bat script that backups Veeambackup database I've made some changes to fit my own scenario:

Monday, December 26, 2011

Check if your mail server IP is blacklisted


If your mail server is blacklisted it not be able to send mails. There are several web pages that allows you to check this from one single click:
http://www.blacklistalert.org/
http://www.anonmails.de/blacklist.php?language=en
image

Thursday, December 15, 2011

Tuesday, November 29, 2011

VMware ESX 3.5 Update Manager Failure

This is a post from Roger Birong, esxupdate also fails from console not only from ssh:
If you are suddenly (June 2011) unable to Scan for Updates or Remediate VMware ESX 3.5 Hosts, you may be without

Friday, November 11, 2011

Block size limitations of a VMFS datastore

Here you can find a VMware's Knowledge Base article related to VMFS datastores:
VMFS Block Sizes
The block size on a VMFS datastore defines two things:

Wednesday, November 9, 2011

Registro de inicio y cierre de sesión en un W2003 con active directory

Para registrar el inicio y cierre de sesión en un entorno con windows 2003 y donde los puestos inician sesión validándose contra active directory hay que modificar la directiva de grupo del dominio, asique abre el programa Usuarios y equipos de Active Directory y en el dominio que tengas creado pincha con el botón de la derecha del ratón y selecciona propiedades:

Monday, November 7, 2011

Loading a saved configuration file to a new D-Link DGS-3627 switch

Connect with a browser to the default switch IP (10.90.90.90), the default user and password is blank, so press the OK button:
clip_image002

Tuesday, October 18, 2011

Performing a rescan of the storage on vSphere


Here you can find a VMware's Knowledge Base article that explains how to perform a rescan of the storage on vSphere.

Thursday, October 6, 2011

Reordering vmnics on vSphere 4.x

Today I've had an issue with a vSphere installation (esx 4.0 update 2). I've installed the esx server using a kikstart config file (ks.cfg) as usual, I've only one nic (integrated in the MoBo) so the service console (vswif0) was linked to my first nic (vmnic0) as usual.

Configuring networking from the ESX service console

Here you can find this VMware Knowledge Base that explains how to configure networking from the ESX service console command line.

Details

This article provides steps to configure networking for an ESX host when you only have access to the service console.

Solution

Wednesday, September 28, 2011

Linux rescan SCSI bus

If you add a new disk to a Linux VM system and you don't want to reboot it, you must rescan the SCSI bus to detect it.

Here you can find a bash script that will do this task for you:

http://www.garloff.de/kurt/linux/

Thanks to garloff.

image

Wednesday, September 21, 2011

Console access on esxi (3.x, 4.x)

This text is from www.yellow-bricks.com
By default this isn’t possible. But there’s a way to get this working, just do the following:
  1. Go to the ESXi console and press alt+F1
  2. Type: unsupported
  3. Enter the root password(No prompt, typing is blindly)
  4. At the prompt type “vi /etc/inetd.conf”
  5. Look for the line that starts with “#ssh” (you can search with pressing “/”)
  6. Remove the “#” (press the “x” if the cursor is on the character)
  7. Save “/etc/inetd.conf” by typing “:wq!”
  8. Restart the management service “/sbin/services.sh restart”
Done!
Here is a video that explains ssh access in esxi 3.x:
http://www.vm-aware.com/2008/07/enable-ssh-for-esxi/
Here is a video that explains how to modify the kernel in esxi v4.x to enable ssh access:
http://www.youtube.com/watch?v=FxB0IIpwZu





Wednesday, September 7, 2011

ESX host displays the message "Configuration changes were not saved successfully during previous shutdown"

From VMware Knowledge Base:

Details
  • When you log into the ESX 3.x host service console, you see the message:
    Configuration changes were not saved successfully during previous shutdown.
    Note: This message is stored in /etc/motd and is generated by the /etc/init.d/vmware script when esxcfg-boot -r returns an error when executed during a shutdown of the ESX host.

  • The log file /var/log/messages may show the following error messages:
    ERROR: Execution of '/sbin/vmware-mkinitrd -r -f -v /tmp/vmware.1.tmp '2.4.21-37.0.2.ELvmnix'' failed. See log messages above.
    ERROR: Could not write out new initrds.

  • initrd-2.4.21-37.0.2.ELvmnix.img in the /boot directory has a  size of zero
Solution

You need to recreate the initrd image file.

T o recreate the initrd image file:

  1. Start the system and select ESX troubleshooting mode.
  2. Log in as a user with administrative privileges.

  3. Run the commands:
    esxcfg-boot -b
    esxcfg-boot -p
    esxcfg-boot -r
    The message does not appear on the next ESX host reboot.