Jul 26, 2009

Cài đặt Windows 7 từ USB (32bit & 64 bit)

Vài ngày trước Windows 7 RTM đã được phát hành, nhiều người đang háo hức mong chờ HĐH tiếp theo này của Microsoft. Và việc cài đặt trở nên khó khăn khi máy tính họ đang dùng không có ổ DVD :(. May thay từ khi Windows Vista ra đời, nó đã hỗ trợ việc cài đặt từ USB, nhằm hỗ trợ những người dùng mà không có ổ DVD. Sử dụng USB mang lại nhiều tính linh hoạt hơn DVD. Sau một hồi tìm hiểu, tôi xin hướng dẫn cách cài Windows Vista, Windows 7 bằng USB (đa số máy tính hiện nay hỗ trợ Boot từ USB):
Chuẩn bị:
Windows Vista hoặc Windows 7 (32bit, 64bit)
USB từ 4GB trở lên.
Tiến hành:

  1. Format USB, theo định dạng NTFS(recommend)
  2. Vào Start --> All Programs --> Accessories --> chuột phải vào Command Promt chọn Run as administrator.
  3. Gõ lệnh Diskpart --> list disk. Dễ dàng nhận thấy ổ đĩa USB, từ hình bên dưới ổ USB là Disk 6 vì có 7648MB.
  4. Gõ tiếp lệnh Select disk 6
  5. Tiếp lệnh List partition
  6. Tiếp lệnh select partition 1
  7. Tiếp lệnh Active, gõ exit để thoát.
  8. Dùng trương trình UltraISO mout file ISO Windows Vista, hoặc Windows 7 vào.
  9. Trên Command Promt, di chuyển tới thư mục boot của ổ CD ảo ta vừa mount file ISO. Gõ lệnh bootsect /nt60 i: Trong đó I là ổ USB
  10. Copy toàn bộ các file và thư mục trong ổ CD ảo vào USB.
  11. Chỉnh chế độ boot từ USB
Chú ý: Phiên bản HĐH bạn đang chạy là 32bit hay 64bit, file bootsect.exe của file ISO kiến trúc nào thì chạy ở HĐH có kiến trúc đó. Ví dụ máy bạn là Windows XP 32bit, bạn chỉ có thể chạy file bootsect.exe của file ISo 32bit. Ở đây nảy sinh ra 1 vấn đề là bạn muốn chạy file bootsect.exe của file ISO 64bit trên HĐH 32bit thì phải làm thế nào. Đơn giản bạn chạy file bootsect.exe của filr ISO 32bit, nhưng đến bước copy Source Windows thì bạn Copy Source Windows 64bit.
Chúc anh em thành công, đỡ tốn tiền mua DVD :)

Jul 25, 2009

Download 32-bit & 64-bit Windows 7 RTM Build 7600.16385 Original DVD ISO

Windows 7 đã được phát hành tới các nhà sản xuất máy tính OEMs vào 24/07 vừa qua. Ngay sau khi phát hành, một người Nga tên là Zukona đã công bố trên forum torrents.ru rằng anh đã leak được cả 2 phiên bản 32bit và 64 bit. Làm thỏa nguyện mong muốn sở hữu, trải nghiệm phiên bản Windows 7 RTM chính thức này của nhiều người. Theo thông tin tôi đọc được thì Key dùng để Active cho Windows 7 Beta, RC đều không thể Active được cho bản RTM này, cũng chưa có crack luôn, nên tốt nhất bạn nên ream tối đa là 120 ngày trước khi MSDN, Technet phát hành key hoặc có crack cho phiên bản này. Nào hãy cũng trả nghiệm Windows 7:

Download 32-bit (x86) Windows 7 Ultimate RTM English Retail DVD ISO Image

File Name: 7600.16385.090713-1255_x86fre_client_en-us_Retail_Ultimate-GRMCULFRER_EN_DVD.iso
Size: 2501894144 bytes
CRC: C1C20F76
MD5: D0B8B407E8A3D4B75EE9C10147266B89
SHA-1: 5395DC4B38F7BDB1E005FF414DEEDFDB16DBF610

Torrent: t2041806.torrent or MICROSOFT.WINDOWS.7.ULTIMATE.7600.16385.RTM.X86.RETAIL.ENGLISH.DVD-ZUKO.torrent (mininova or ThePirateBay)

Download 64-bit (x64) Windows 7 Ultimate RTM English Retail DVD ISO Image

File Name: 7600.16385.090713-1255_x64fre_client_en-us_Retail_Ultimate-GRMCULXFRER_EN_DVD.iso
Size: 3224686592 bytes
CRC: 1F1257CA
MD5: F43D22E4FB07BF617D573ACD8785C028
SHA-1: 326327CC2FF9F05379F5058C41BE6BC5E004BAA7

Torrent: t2041850.torrent or MICROSOFT.WINDOWS.7.ULTIMATE.7600.16385.RTM.X64.RETAIL.ENGLISH.DVD-ZUKO.torrent (mininova or The Pirate Bay)

Nếu bạn muốn kiểm tra tính nguyên bản của file ISO mình down về, bạn có thể xem bài trước:

Kiểm tra tính nguyên bản file ISO Windows 7 bạn down về

Tôi thực sự thích thú với phiên bản này, nếu cấu hình máy cho phép bạn nên trải nghiệm để thấy hiệu năng của nó.

Kiểm tra tính nguyên bản file ISO Windows 7 bạn down về

Microsoft đã phân phối Windows 7 RTM tới OEMs ngày 24/07. Tuy nhiên trên mạng cũng đã xuất hiện nhiều nguồn nói rằng đã leak được. Họ chia sẻ bằng torrent, bạn thực sự thích thú và muốn trải nghiệm Windows 7 nhưng bạn có chắc rằng bản ISO bạn down về là nguyên việc chưa bị chỉnh sửa. Long Zheng, một IT trung quốc đã coding phần mềm siêu tiny có 254Kb dùng để check nguyên bản của file ISO Windows 7.


Link down: Windows7ISOVerifier

Jul 24, 2009

Understanding Domain Functional, Forest Functional Levels

Nếu là 1 Administrator, bạn nên hiểu một cách rõ ràng từng thành phần trong Active Directory. Hôm nay mình review lại Domain Functional, Forest Functional Levels. Hy vọng sự thích thú của ai đó :)

  1. Domain Functional Levels: có 4 function để lựa chọn
  • Windows 2000 mixed: Đây là chức năng mặc định khi nâng cấp DC đầu tiên trong tổ chức. Chúng ta sử dụng mode này khi trong tổ chức có các DC chạy HĐH: Windows NT 4.0, Windows 2000 Server, Windows 2003 Server.
  • Windows 2000 Native: Khi chạy ở mode này, chắc chắn trong tổ chức của bạn chỉ có các DC chạy HĐH: Windows 2000 và 2003.
  • Windows 2003 Interim: Mode này hỗ trợ Windows NT 4.0 và 2003.
  • Windows 2003: Mode này chỉ hỗ trợ Windows Server 2003, nghĩa là trong tổ chức của bạn tất cả DC đều chạy Windows Server 2003.
2. Forest Functional Levels: có 3 function
  • Windows 2000: Function mặc định của Forest, Forest ở function này khi các domain trong forest chạy các domain functional level khác nhau.
  • Windows 2003 Interim: Khi các domain trong forest cùng ở domain functional là Windows 2003 Interim.
  • Windows 2003: Khi các domain trong forest cùng ở domain functional là Windows 2003.
Chú ý:
  • Raise functional level là hành động 1 chiều nghĩa là bạn không thể revert lại function cũ. Cân nhắc trước khi Raise.
  • Với Forest Functional level bạn chỉ có thể dùng Active Directory Domain and Trust để raise. Với Domain Functional level bạn có thể dùng cả Active Directory Domain and Trust và Active Dirextory User and Computer.

Free Voucher CompTIA Linux+ Beta Exam application

I found this information in a forum. I hope it is useful with someone
Quote from CompTIA Website:

"A new version of the CompTIA Linux+ certification exam is scheduled to launch in 2009. A critical part of this process is the administration of a beta exam to validate the content of the new test. To do this, CompTIA is offering free beta test vouchers until 400 candidates have tested. Those who pass will be certified under the latest version of CompTIA Linux+. However, certification candidates will not receive their results (pass/fail and score) until the launch of the new exam.

Submitting an application does not guarantee a free voucher."
You can submit your infomation as candidate in the exam here:
http://www.comptia.org/certifications/listed/linux/2009beta.aspx
Goodluck to you!

Mã giảm giá tên miền từ Godaddy.com

Godaddy.com là trang web cung cấp tên miền với giá rẻ nhất (theo mình biết). Số lượng người sử dụng tên miền của Godaddy rất lớn vì rẻ và promo nhiều, có những lúc giảm giá chỉ còn 0,99$/năm. Dưới đây là một sô promo codes mà mình mới cập nhật. Ai có nhu cầu mua tên miền, hoặc renew sẽ được giảm giá khi điền promo code bên dưới:

POSTER9 - Saves you 30% off on .com renewals and new registration
POSTER8 - Gives you 20% off $50 or more
POSTER7 - Saves you 10% on everything else

Mong Việt Nam phát triển.

The Importance of Active Directory Replication

The initial versions of Windows NT were designed as single master network environments. The primary domain controller (PDC) was responsible for managing the master copy of the domain database. The PDC was therefore responsible for replicating any changes to the backup domain controllers (BDCs). In these environments, any changes had to be performed on the PDC who then replicated these database changes to the BDCs. What this meant was that in cases where the PDC was unavailable, no changes were made to the domain database. From this simple discussion, it is clear that the single master environment of the earlier versions of Windows NT had a limitation when it came to reliability and continuously ensuring that changes could be made to the domain database.

In the majority of network environments, more than one domain controller has to exist to provide fault tolerance, and improve reliability and performance. Fault tolerance is present when business continuity exists when one domain controller fails because the other domain controller(s) in the environment are able to supply network resources. Having multiple domain controllers in your network environment improves performance because the processing load can be distributed to all domain controllers.

Active Directory differs from the design of the earlier Windows NT domain environments because it is designed to be a scalable, distributed multimaster replicated database. Information on network resources within the organization is stored within the Active Directory database. In addition to this, all domain controllers host a full replica of the domain information for its own domain. Domain controllers in Windows 2000 and Windows Server 2003 environments hold a read/write copy of the Active Directory database. Domain controllers in these environments therefore maintain and manage the replica of all Active Directory objects (network resources) located in the domain to which it is a member of.

In Windows 2000 and Windows Server 2003 environments, in Active Directory terminology, each domain controller contains a full copy of its own directory partition. Another term used to refer to directory partition is naming context. In Active Directory environments, a directory tree contains all Active Directory objects in the forest. A forest is the grouping of two or more domain trees or domains that do not have a common contiguous namespace, that is, they have non-contiguous namespaces. In Active Directory, the directory tree is partitioned. This enables portions of the tree to be distributed to domain controllers in other domains in the forest. Back to Active Directory terminology, the copy of the directory partition that holds all the attributes for each directory partition object is called a replica. The replica on each domain controller has read and write attributes.

In Active Directory, changes can be made to the Active Directory database on any domain controller within the Active Directory environment. To overcome the limitations of the Windows NT domain environments illustrated earlier, each domain controller must include all information that is created or changed on any other domain controller. Active Directory replication ensures that the information or data between domain controllers remains updated and consistent. Replication is the process that ensures that changes made to a replica on one domain controller are transferred to replicas on the remainder of the domain controllers. It is Active Directory replication that ensures that Active Directory information hosted by domain controllers is synchronized.

The multimaster environment of Active Directory eliminates the domain controllers as single points of failure because an Administrator can perform changes to the Active Directory database on any domain controller, and these changes are replicated to the other domain controllers within the domain.

What Information is Replicated in Active Directory

In Active Directory, there are certain actions that are considered Active Directory replication triggers. The activities that trigger or initiate Active Directory replication is summarized below:

  • When an object is created.
  • When an object is deleted.
  • When an object is moved.
  • When an object is changed or modified.

Domain controllers typically contain the following directory partition replicas or naming context replicas:

  • Configuration: The configuration partition or naming context (NC) contains objects that relate to the logical structure of the forest, structure of the domain, and replication topology. Each domain controller in the forest contains a read/write copy of the configuration partition. Any objects stored in the configuration partition are replicated to each domain controller in each domain, and in a forest.
  • Domain: The domain partition or naming context (NC) contains all objects that are stored in a domain. Each domain controller in a domain has a read/write copy of the domain partition. Objects in the domain partition are replicated to only the domain controllers within a domain.
  • Schema: The schema partition or naming context (NC) contains objects that can be created in the Active Directory directory, and the attributes which these objects can contain. Domain controllers in a forest have a read-only copy of the schema partition. Objects stored in the schema partition are replicated to each domain controller in domains/forests.
  • Application: The application partition is a new feature introduced in Windows Server 2003. This partition contains application specific objects. The objects or data that applications and services store here can comprise of any object type excluding security principles. Security principles are Users, Groups, and Computers. The application partition typically contains DNS zone objects, and dynamic data from other network services such as Remote Access Service (RAS), and Dynamic Host Configuration Protocol (DHCP).

An Overview of Active Directory Replication Terminology, Concepts and Objects

In Active Directory, there are numerous concepts, and objects that are used to create a replication topology. These are described below:

  • Sites: A site can be defined as a grouping or set of Internet Protocol (IP) subnets that are connected by a highly reliable, fast and inexpensive link. This is usually a local area network (LAN) or metropolitan area network (MAN). Domains can have domain controllers in multiple sites. A site can have domain controllers from multiple domains. In Active Directory, sites have the following main roles or purposes:
    • A site determines the closest domain controller at workstation logon.
    • A site operates as a replication boundary. As a replication boundary, a site optimizes replication between sites because it can be used to improve on and more efficiently manage Active Directory replication.
    • A site also functions as a resource locator boundary. Clients are only able to access resources that are accessible in a particular site.
  • Site Links: Site links are logical connections that are established between sites is Active Directory that define a path between these sites. A site link defines the direction of Active Directory replication between sites. You can use either RPC over IP or SMTP as the transport protocol for moving replication data over a site link. Site links are assigned the following:
    • Cost: With replication, the concept of cost indicates the cost of the physical link between two Active Directory sites and is utilized to detail optimal connection paths between one site and another site. When a site link is assigned a cost, the type of connection is taken into consideration. For replication, the lower costing links are used over higher costing links.
    • Interval: Replication over a site link takes place at predetermined time intervals. When assigning the replication interval, it is important not to set the value to too high or too low. An exceptionally high value means that changes take a longer time to be replicated, while an exceptionally lower value means that replication occurs too regularly.
    • Schedule: A replication schedule and interval are basically used together. An interval is associated with a schedule. A schedule deals with when the replication of data is going to occur.
  • Site link bridge: In Active Directory, you can use a site link bridge to link sites that share common Active Directory data but who do not have a site link. The data typically shared by these sites is the Application directory partition.
  • Connection objects: In Active Directory, domain controllers replicate with specific replication partners. The partners that domain controllers replicate with are defined by connection objects. Connection object enable data to be replicated in Active Directory because they define inbound replication paths. Domain controllers and their associated connections are defined in a topology map. The Directory Replication Agent (DRA) handles replication between domain controllers. The Directory Replication Agent uses the connection objects in the topology map to find out those partners that are relevant when replicating changes to directory partitions. The DRA sends a replication request to the partners of a domain controller when the domain controller needs to update its copy of Active Directory. Administrators can manually create connection objects, or they can leave these objects to be created by the Knowledge Consistency Checker (KCC). When the KCC creates connection objects, it is an automatic process. The KCC runs on all domain controllers in Active Directory. As an Administrator, you can create a manual connection object between any two domain controllers in a forest. If you want data to flow in two directions, you should create two connection objects. You can create manual connection objects between domain controllers in the same site or in different sites. The Knowledge Consistency Checker by default creates automatic connection objects. It references the site topology and then uses the information on sites and site links to automatically create connection objects. The KCC checks the site topology at regular intervals to determine whether the connection objects are still valid, and then changes connection objects based on its reviews. It is the KCC that is accountable for making certain that data in the directory partitions are replicated in sites. You can disable the automatic creation of connection objects on a per site and forest wide basis.
  • The Inter Site Topology Generator (ISTG): Intersite connection objects are created by the Inter Site Topology Generator (ISTG) and not the KCC. The first domain controller in a site has the role of Inter Site Topology Generator. There is only one ISTG within a particular site. It is the ISTG that is responsible for ensuring that the site has a replica of the configuration, domain and schema partitions.
  • SYSVOL data and the File Replication Service (FRS): The system volume contains scripts and group policies. SYSVOL data is hosted on every domain controller. Changes to SYSVOL are replicated to domain controllers within the same domain via File Replication System (FRS) replication. With FRS replication, the full file is replicated and not just the actual changes that were made to the file. This differs to Active Directory replication. With Active Directory only the changes that were made to Active Directory objects are replicated.
  • Replication methods/protocols: Active Directory replication can utilize one of two protocols to send replication data between domain controllers:
    • Remote Procedure Call (RPC): This is the main protocol used by Active Directory to send replication data. RPC's encryption capabilities are beneficial for replicating data in Active Directory in the network.
    • Simple Mail Transport Protocol (SMTP): SMTP is typically utilized for sending replication data in bulk, and for sending replication data over unreliable network connections.

Active Directory Replication Types

In Windows 2000 and Windows Server 2003, the types of Active Directory replication that can be defined are intrasite replication and intersite replication.

Active Directory Intrasite Replication

Intrasite replication in Active Directory takes place between domain controllers within the same site. This makes intrasite replication an uncomplicated process. When changes are made to the replica of Active Directory on one particular domain controller, the domain controller contacts the remainder of the domain controllers within the site. The domain controller checks the information it contains against information hosted by the other domain controllers. To perform this analysis, the domain controller utilizes logical sequence numbers. Intrasite replication utilizes the Remote Procedure Call (RPC) protocol to convey replication data over fast, reliable network connections. With intrasite replication, replication data is not compressed.

Active Directory Intersite Replication

Intersite replication takes place between sites. Intersite replication can utilize either RPC over IP or SMTP to convey replication data. This type of replication has to be manually configured. Intersite replication occurs between two domain controllers that are called bridgeheads or bridgehead servers. The role of a bridgehead server (BS) is assigned to at least one domain controller in a site. A BS in one site deals with replicating changes with other BSs in different sites. You can configure multiple bridgehead servers in a site. It is only these BSs that replicate data with domain controllers in different domains by performing intersite replication with its BS partners. With intersite replication, packets are compressed to save bandwidth. This places additional CPU load on domain controllers assigned the BS role. BSs should therefore be machines that have enough speed and processors to perform replication. Intersite replication takes place over site links by a polling method which is every 180 minutes by default.

Initiating Replication between Active Directory direct replication partners (forcing replication)

Active Directory usually automatically creates and deletes connection objects between domain controllers. There are cases though when you might need to manually create connection objects and then force Active Directory replication. You can utilize one of the following tools or methods to force replication:

  • Active Directory Sites and Services console
  • Repadmin
  • Replmon

Active Directory Replication Topology Options

The Active Directory replication topologies typically utilized are:

  • Ring Topology: With intrasite replication, the KCC creates a ring topology that defines the replication paths within a site. In a ring topology, each domain controller in a site has two inbound and outbound replication partners. The KCC creates the ring so that there is no greater than three hops between domain controllers in a site.
  • Full Mesh Topology: This topology is typically utilized in small organizations where redundancy is extremely important, and the number of sites is quite small. A full mesh topology is quite expensive to manage and is not scalable.
  • Hub And Spoke Topology: This topology is typically implemented in large organizations where scalability is important and redundancy is less important. In this topology, one or multiple hub sites exist that have slower WAN connections to multiple spoke sites. The hub sites are usually connected to each another through high speed WAN connections.
  • Hybrid Topology: The hybrid topology is combination of any of the above topologies.

How to Define an Active Directory Replication Strategy

The replication strategy that you implement essentially determines when replication would occur and the manner in which Active Directory information is replicated. Designing an effective replication strategy involves the following steps:

  • Evaluating the actual physical connectivity of the network: This phase of planning typically involves determining the site links that are necessary in the network. You would need to identify your network connections, domain controllers and sites to determine this. You would need to determine which:
    • Sites are connected by low speed unreliable connections - high costing connections.
    • Sites are connected by fast reliable connections - low costing connections.
    • Sites are connected by medium speed connections - medium costing connections.

    Another component of this planning phase involves determining whether site link bridges need to be created. While planning what sites are needed, remember to include the possible future growth of the organization.

  • Determining the site link configuration parameters for every connection: The configuration parameters or values that need to be specified for each site link is summarized below:
    • Site link name
    • The transport protocol to be used for conveying replication data. This can be either RPC or SMTP.
    • Site link cost: The default site link cost setting is 100. The value can range between 1 and 32,767.
    • Replication interval or frequency
    • Replication schedule or when replication should occur.
  • Determine the preferred bridgehead servers: Instead of using the preferred bridgehead server defined by the Knowledge Consistency Checker (KCC), you can choose to manually configure a preferred bridgehead server.
  • Determine whether site link transitivity should be disabled: If you choose to disable site link transitivity, you must manually create site link bridges between site links to ensure site link transitivity.

 
Powered by Blogger.