martedì 17 gennaio 2012

Come creare server collegati sql server 2008

Procedura per aggiungere server collegati, testate da sqlserver 2008 a sqlserver 2008
  1. Go to “Server Objects” of the database server where the linked server will be added and right click on “Linked Servers”. Select “Add New Linked Server”.
  2. In the “General” tab, add a name for the new linked server in the “Linked Server” field.
  3. Select “Other data source”and for “Provider” select “Microsoft OLE DB for SQL Server”
  4. For “Product Name” type in “SQLOLEDB”
  5. In the “Data Source” field, enter the IP address of the server to be linked
  6. “Catalog” is the name of the database on the linked server and is optional
  7. Go to the “Security” tab and select “Be made using this security context”. Type in the remote login and credentials

giovedì 22 settembre 2011

451 4.4.0 DNS query failed

The Problem

For whatever reason, Exchange (and DNS) is hyper sensitive to a DNS domain that provides a bogus response (say one Name Server is healthy, the other is not). It appears to be an issue where we need to wait until the DNS TTL expires or, we perform the 'solution' below. This is a temporary measure as we work with the end user domain, to find out what is going on with their DNS (in both cases, after flushing DNS locally and my AD DNS server, I would get a different DNS NS result, and sometimes an MX record, sometimes not … strange, but their problem). However, Exchange 2007 seems to be especially sensitive to this…

For example, with the domain below, here is the error I've been experiencing (in the Exchange 2007 Queue…) – 451 4.4.0 DNS query failed

The Solution

Or should I say, the workaround. The solution is contact the destination DNS/domain provider and have them fix their problems (though perhaps a future fix from Microsoft/Exchange will resolve this, or maybe they have and I'm somehow unable to stumble across the answer). However, the workaround is…

■Flush your Active Directory DNS Cache (to do this, you'll need to have 'advanced' turned on, the View option in DNS)

On your Exchange 2007 Server(s), flush your local DNS Cache


For me, repeatedly, when I click 'retry' in the Exchange 2007 Message queue, the message leaves immediately. Sure enough, a few hours later I have a crap record but it does at allow the messages to flow. Now to get the target domain/DNS provider to cooperate and recognize they have a problem, of some sort…

Controlla anche connettore d'invio in trasporto Hub, nella scheda rete, che sia flagggata la casella Utilizza le impostazioni di ricerca dns esterno nel server di trasporto

venerdì 26 agosto 2011

Sysprep in windows 2008

Con il tool fornito da Microsoft sysprep, che in Windows 2008 è disponibile nella directory C:\Windows\system32\sysprep, si effettua la procedura per il cambio del SID.

Per evitare possibili imprevisti dovuti ad un’errata procedura, gli step raccomandati da seguire sono due:

1. Aprire il Command Prompt con diritti di Administrator
2. Eseguire il comando:

c:\windows\system32\sysprep\sysprep.exe /quiet /generalize /oobe /shutdown

giovedì 25 agosto 2011

Rimuovere download Microsoft Update da Win2008

1. Open Start >> Run or press window key + r

2. Type “services.msc” (without quotes) and Click OK , this will open services window.

3. Right click on Automatic Updates Service and select Stop.

4. After the service is stopped, press window key + r

5. Type “%windir%\SoftwareDistribution” (without quotes) and press enter.

6. Open the Download folder and delete all contents of the Download folder.

7. Close the window, press Window Key + r ( or Open Start >> Run )

8. Type “services.msc” (without quotes) and Click OK

9. Right click on Automatic Updates Service and select Start.

10. That’s it Done

domenica 21 agosto 2011

OracleVm re-Register host

Hi Honza,

just tried it:

# /opt/ovs-agent-latest/utils/ -l
[ * ] b2638dcd-fa49-4646-a7da-83e91e7e26c4 => /dev/hdb1
# du /var/ovs/mount/B2638DCDFA494646A7DA83E91E7E26C4/running_pool
2316896 /var/ovs/mount/B2638DCDFA494646A7DA83E91E7E26C4/running_pool/30_OEL1

# /opt/ovs-agent-latest/utils/
This is a cleanup script for ovs-agent.
It will try to do the following:

*) stop o2cb heartbeat
*) offline o2cb
*) remove o2cb configuration file
*) umount ovs-agent storage repositories
*) cleanup ovs-agent local database

Would you like to continue? [y/N] y
Cleanup done.

No Repos anymore:
# /opt/ovs-agent-latest/utils/ -l

Create New:
/opt/ovs-agent-latest/utils/ -n /dev/hdb1
[ NEW ] b2638dcd-fa49-4646-a7da-83e91e7e26c4 => /dev/hdb1
/opt/ovs-agent-latest/utils/ -r b2638dcd-fa49-4646-a7da-83e91e7e26c4

Not mounted yet:
# df -k
/dev/hda2 4466156 930456 3305168 22% /
/dev/hda1 101086 45803 50064 48% /boot
tmpfs 296536 0 296536 0% /dev/shm

/opt/ovs-agent-latest/utils/ -i

# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda2 4466156 930468 3305156 22% /
/dev/hda1 101086 45803 50064 48% /boot
tmpfs 296536 0 296536 0% /dev/shm
/dev/hdb1 33551720 6040232 27511488 19% /var/ovs/mount/B2638DCDFA494646A7DA83E91E7E26C4

And data still there:
# du /var/ovs/mount/B2638DCDFA494646A7DA83E91E7E26C4/running_pool
2316896 /var/ovs/mount/B2638DCDFA494646A7DA83E91E7E26C4/running_pool/30_OEL1

However as noted above: The /OVS link to the /var/ovs/mount point will be created when you register the server with OVM Manager.
All additional data will be left on the device.

venerdì 19 agosto 2011

Server database Aruba down 20 agosto 2011

I server dei database di Aruba dalle 23 del 19 agosto 2011, sono andati down, o almeno non sono raggiungibili, il problema riguarda solo i server con database, tanto è vero che i siti rispondono, ma viene visualizzato un errore di connessione.

Rimaniamo in attesa di una comunicazione ufficiale da parte di Aruba.

giovedì 11 agosto 2011

HA initiated a failover action in cluster Vmware

Ho trovato questo messaggio “HA initiated a failover action in cluster your-cluster-name in datacenter your-datacenter-name” sul mio vCenter. Niente è cambiato, le vm non sono state riavviate l'HA continua a funzionare tranquillamente, per risolvere ho usato il seguente metodo:

1. Turn OFF VMware HA on Cluster Feature setting.
2. Enable VMware HA setting again.