Skip to main content

Posts

HSRP-CISCO

The Hot Standby Router Protocol, HSRP, provides a mechanism which is designed to support non-disruptive failover of IP traffic in certain circumstances. In particular, the protocol protects against the failure of the first hop router when the source host cannot learn the IP address of the first hop router dynamically. The protocol is designed for use over multi-access, multicast or broadcast capable LANs (e.g., Ethernet). HSRP is not intended as a replacement for existing dynamic router discovery mechanisms and those protocols should be used instead whenever possible. A large class of legacy host implementations that do not support dynamic discovery are capable of configuring a default router. HSRP provides failover services to those hosts. Using HSRP, a set of routers work in concert to present the illusion of a single virtual router to the hosts on the LAN. This set is known as an HSRP group or a standby group. A single router elected from the group is responsible for forwarding ...

Best way to move VMware VM from one host to another without Vmotion.

Moving VM’s from one storage location to another 1. Create a full backup of VM before proceeding 2. Create the same folder on storage location you are moving to. 3. Power Off Virtual Machine 4. Move to the “/vmfs/volumes/” directory 5. Run command a. vmkfstools –i (location of VM Server) (location to put VM Server) b. vmkfstools –i `pwd`/storage#/(VM Folder)/(VM Server Name).vmdk `pwd`/storage#/(VM Folder)/VM Server Name).vmdk 6. Copy vmx File a. cp (VM Server Location File) (VM Server ending location) 7. Remove VM From Inventory 8. Go to Configuration on Server Open the storage location VM moved to right click on vmx file and add to inventory. 9. Power on the VM 10. Remove files once ran a couple days in new location.

ADO data base connection

Create a DSN-less Database Connection The easiest way to connect to a database is to use a DSN-less connection. A DSN-less connection can be used against any Microsoft Access database on your web site. If you have a database called "northwind.mdb" located in a web directory like "c:/webdata/", you can connect to the database with the following ASP code: <% set conn=Server.CreateObject("ADODB.Connection") conn.Provider="Microsoft.Jet.OLEDB.4.0" conn.Open "c:/webdata/northwind.mdb" %> Note, from the example above, that you have to specify the Microsoft Access database driver (Provider) and the physical path to the database on your computer. Create an ODBC Database Connection If you have an ODBC database called "northwind" you can connect to the database with the following ASP code: <% set conn=Server.CreateObject("ADODB.Connection") conn.Open "northwind" %> With an ODBC conn...

Installing Active Directory on Windows 2008 Server Core

This Domain Controller (or DC for short) can be used as one of the following DC scenarios: 1The first DC in a new Active Directory Domain, inside a new Active Directory Forest 2An additional (replica) DC in an existing Active Directory Domain 3A Read Only DC (RODC) in an existing Active Directory Domain, in case you already have at least one regular DC running Windows Server 2008 in that domain 4The first DC in a new Active Directory Domain (child domain), under an existing Active Directory Tree, inside an existing Active Directory Forest 5The first DC in a new Active Directory Domain, as a new Active Directory Tree, inside an existing Active Directory Forest Now, one might wonder how would you go about managing that DC if it were to run on a GUI-less server core. Well, the answer for that is based on 3 parts. The first part is to get your server core up and running. In order to do that, read my server core articles under the Related Articles section below. To make life easier...

How to configure EIGRP on your Cisco router

What do you need to know about EIGRP? Before you configure EIGRP, there are some things you should know about it first. Here they are: EIGRP is the Enhanced Interior Gateway Routing Protocol. EIGRP is a Cisco proprietary routing protocol based on their original Interior Gateway Routing Protocol. EIGRP can only be used on networks where all routers are Cisco routers. The administrative distance for EIGRP is 90 and 170 for internal and external EIGRP, respectively. What features does EIGRP offer? Automatic redistribution of routes between IGRP and EIGRP. Ability to turn off and on EIGRP and IGRP on individual interfaces of the router. Fast network convergence thanks to EIGRP's DUAL algorithm (convergence is when all routers know about all the networks that every other router is offering). Incremental Updates that save network bandwidth and speed convergence. Reduced router CPU load, as compared to IGRP. EIGRP uses neighbor discovery to find and keep track of neighboring ...

Seizing FSMO Roles

Windows 2000/2003 Active Directory domains utilize a Single Operation Master method called FSMO (Flexible Single Master Operation), as described in Understanding FSMO Roles in Active Directory. The five FSMO roles are: Schema master - Forest-wide and one per forest. Domain naming master - Forest-wide and one per forest. RID master - Domain-specific and one for each domain. PDC - PDC Emulator is domain-specific and one for each domain. Infrastructure master - Domain-specific and one for each domain. In most cases an administrator can keep the FSMO role holders (all 5 of them) in the same spot (or actually, on the same DC) as has been configured by the Active Directory installation process. However, there are scenarios where an administrator would want to move one or more of the FSMO roles from the default holder DC to a different DC. Moving the FSMO roles while both the original FSMO role holder and the future FSMO role holder are online and operational is called Transferri...

Delete Failed DCs from Active Directory

When you try to remove a domain controller from your Active Directory domain by using Dcpromo.exe and fail, or when you began to promote a member server to be a Domain Controller and failed (the reasons for your failure are not important for the scope of this article), you will be left with remains of the DCs object in the Active Directory. As part of a successful demotion process, the Dcpromo wizard removes the configuration data for the domain controller from Active Directory, but as noted above, a failed Dcpromo attempt might leave these objects in place. The effects of leaving such remains inside the Active Directory may vary, but one thing is sure: Whenever you'll try to re-install the server with the same computername and try to promote it to become a Domain Controller, you will fail because the Dcpromo process will still find the old object and therefore will refuse to re-create the objects for the new-old server. In the event that the NTDS Settings object is not remov...