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

How to Configure Passwords to Secure your Cisco Router

Maybe you have a new router or you want to verify that you have security properly configured on your existing router. Either way, password security is critical to properly securing your Cisco router. So let’s get started configuring passwords on your Cisco router. Types of Cisco Router Passwords When it comes to basic password security, there are three basic types: Line Passwords Privileged mode Passwords (enable mode) Username Passwords (optional) Let’s explore these. Line Passwords Line passwords are configured on router lines. Examples of lines are: Console Line - The console is the main serial administrative port on a router. This is where you configure the router when it is new and has no network configuration. Aux Line – The aux line is an auxiliary port. Like the console, it is a physical port on every router. You can think of it as a backup console port. Besides being a backup console port, the aux port is periodically used for administrative console d

Installing VMware Additions on Windows Server 2008 Server Core Installations

As you already know by now, in Windows Server 2008, Server Core installation does not include the traditional full graphical user interface (GUI). Without going to much into detail, because of the lack of GUI, installing applications on server core might be more complex than installing them on a regular server installation, not to mention the fact that they might not function at all. One of these applications is the VMware Tools that comes with VMware's virtualization products such as VMware Server and VMware Workstation. VMware Tools greatly improve the guest's performance. In addition, VMware tools provide the following: Improved video performance Mouse synchronization with the host operating system so that you don't have to keep releasing your mouse from the guest to go back to the host Improved mouse performance Copy and paste between the host and guest Installing VMware Tools on a server core is exactly the same as installing them on any regular operating sys

5 Ways to Install Windows Updates on Windows Server 2008 R2 Core

One of the challenges of using Server Core is the management aspect. Luckily for us, most of the management pain has been solved by usage of the either manually created scripts, 3rd-party graphical user interface tools, and lately in R2 - the SCONFIG tool. So after properly configuring Server Core and getting ready to deploy it on your server farm, you now want to download and install the latest Windows Server 2008 R2 updates from the Windows Update site. How do you do that? Well, there are several methods which you can use to download and install the latest Windows Server 2008 R2 updates from the Windows Update site. Read on. Method #1 - Manually Install Updates In order to install updates you need to configure the Server Core machine to automatically download and install updates: At a command prompt: To verify the current setting, type: cscript scregedit.wsf /AU /v To enable automatic updates, type: cscript scregedit.wsf /AU 4 To disable automatic updates, typ

What are VMware ESX Server Cluster Pools?

A cluster is defined as "a group of tightly coupled computers that work together closely so that in many respects they can be viewed as though they are a single computer" (per Wikipedia). A VMware ESX Cluster is no difference. Clusters are used for 3 things- 1) high availability, 2) load balancing, and 3) high performance computing. VMware ESX clusters are used for #1 and #2. With a VMware ESX Cluster, you define 2 or more physical machines that will provide resources for the hosts (or resource pools) that are assigned to that cluster. By using ESX clusters, you can achieve high availability (VM HA) and load balancing of virtual machines (called VMware DRS, discussed below) Just to reiterate, here is why you use VMware ESX Clusters: if one of the physical hosts goes down, the other physical host starts up the virtual guests machines that the original virtual host was running (VM HA). if one physical host is over utilized by a virtual guest, that virtual guest is moved to th