Sunday, July 6, 2008
Address List:
Global Address List:
1. A list from the AD with all mail-enabled containers in it.
2. By default, it is provided to every user within Outlook and OWA.
3. Additional GALs can be created for hosting environments that need isolation.
Offline Address Book:
1. Allow users to get AD info while offline.
2. It is available to both internal and external users.
3. Are distributed via web-site and via Public folder.
Dynamic Distribution Group:
1. Groups can be built based on AD properties like Department, State or Company.
2. Dynamic security group is not feasible; one dynamic distribution group is possible. For example, Suppose I need to create a group on the basis of company name and city location (custom attribute1). The above can be done by creating the dynamic distribution group. Any new addition which matches the above condition will be automatically added to the distribution group, that’s the reason why it s called as Dynamic.
3. Especially useful for location-specific communications.
4. Can’t be used as security groups.
5. Create them in the Group sub-node of the Recipient node.
6. Non-wizard filtering criteria can be used if you use the New-DynamicDistributionGroup cmdlet.
#New-DynamicDistributionGroup –Name “Groupname” –Alias “ABC_Company” –IncludedRecipeints “MailboxUsers,MailContacts” – OrganizationalUnit “Domain.com/Users” –ConditionalCompany “Domain”
Best Practice:
1.Address List:
a. Don’t create any unless you really need them, and then keep it simple.
b. Make list names clearly descriptive of contents.
2.Global Address List:
a. Stick with the default one if at all possible.
b. Create new ones only for client based isolation.
3.Dynamic Distribution List:
a. Make use of this group.
b. Don’t forget about the value of the non-wizard Dynamic lists.
Hope the above is informative.
Please feel free to contact me for any questions.
Thanks
Logu
Logu_microsoft@hotmail.com
91-98414 99143.
Public folder in the exchange server 2007:
In Simple words, the Public folder is just like a general forum which is used for posting mails, documents and other common information. Actually, usage of public folder has been overcome by SharePoint portal services. Exchange server 2007 is de-emphasized i.e., there is no change or improvement in the public folder architecture in the 2007 version. Microsoft no more support public folders. This article explains the working of the public folders in the exchange 2007 server.
Public folder function:
- Public folder data is kept in the public folder database.
- Multiple replicas of a public folder can be maintained on separate servers.
- Any sort of folder data can be kept in a public folder.
- Public folders can be given their own email address.
- You can configure Send-as permission on a public folder.
Public folder Creation:
In the EMC, go to toolbox PFMC – Public folder management console.
#New-Publicfolder –name TESTPUBLICFOLDER –path ‘\’ –server ‘servername’
Assigning PF Permission and PF Email address:
2.There are two ways to give admin permission via EMS:
a.Add-PublicFolderadministratorPermission - Per-PF.
b.Add-ExchangeAdministrator - General Admin rights, including to PF root.
3.The easiest way is to use Add-PublicFolderClientPermission to assign ownership
#Add-PublicFolderClientPermission –Identity \TESTPUBLICFOLDER –User USERALIASNAME –AccessRights FolderOwner
4.Check permission of the PF using the Outlook or in EMS with
Get-PublicFolderClientPermission
Set perms with Add/Remove/Set-PublicFolderClientPermission
#Get-PublicFolderClientPermission \TESTPUBLICFOLDER list
5.You can use either the EMC or the EMS to mail-enable a public folder.
#Enable-MailPublicFolder \TESTPUBLICFOLDER
6.Check whether a PF is mail-enabled
#Get-PublicFolder list mailenabled
#Get-MailPublicFolder
7.Send-As Permission can be done in the console.
Hope the above is informative.
Please feel free to contact me for any questions.
Thanks
Logu
Logu_microsoft@hotmail.com
91-98414 99143.
Best Practices for FSMO role placement:
In an Active Directory environment, some of your domain controllers (DCs) must be assigned certain special roles for your network to function properly. These special roles are called flexible single master operations (FSMO) roles, and DCs that hold such roles are called FSMO role holders. If you don't assign these roles properly, bad things can happen, so the focus of this article is on rules for proper placement of FSMO roles on AD-based networks. But before we proceed, please refer my blog session on FSMO roles.
Symptoms of FSMO Problems:
If one or more of your FSMO role holders has problems, bad things can happen. To help you troubleshoot such situations, the table below describes some of the symptoms that can occur when FSMO role holders go missing or don't work properly.
Symptom:
- PDC Emulator
- Users can't log on - If system clocks become unsynchronized, Kerberos may fail.
- Can't change passwords - Password changes need this role holder.
- Account lockout not working - Account lockout enforcement needs this role holder.
- Can't raise the functional level for a domain - This role holder must be available when the raising the domain functional level.
- RID Master
- Can't create new users or groups - RID pool has been depleted.
- Infrastructure Master
- Problems with universal group memberships - Cross-domain object references need this role holder.
- Domain Naming Master
- Can't add or remove a domain - Changes to the namespace need this role holder.
- Can't promote or demote a DC - Changes to the namespace need this role holder.
- Schema Master
- Can't modify the schema - Changes to the schema need this role holder.
- Can't raise the functional level for the forest - This role holder must be available when the raising the forest functional level.
Rules for FSMO Role Placement
Since FSMO roles are crucial for the proper functioning of an AD-based network, it's a good idea to get them right from the planning stage of your deployment. By default, when you install the first DC of your forest root domain, this first DC holds all five FSMO roles. When you install the first DC of any other domain in your forest, that DC will hold all three domain FSMO roles (PDC Emulator, RID Master, and Infrastructure Master). Depending on the complexity of your network, this FSMO role must be placed.
Rule 1: The PDC Emulator and RID Master roles should be on the same machine because the PDC Emulator is a large consumer of RIDs.
Tip: Since the PDC Emulator is the role that does the most work by far of any FSMO role, if the machine holding the PDC Emulator role is heavily utilized then move this role and the RID Master role to a different DC, preferable not a global catalog server (GC) since those are often heavily used also.
Rule 2: The Infrastructure Master should not be placed on a GC.
Tip: Make sure the Infrastructure Master has a GC in the same site as a direct replication partner.
Exception 1: It's OK to put the Infrastructure Master on a GC if your forest has only one domain.
Exception 2: It's OK to put the Infrastructure Master on a GC if every DC in your forest has the GC.
Rule 3: For simpler management, the Schema Master and Domain Naming Master can be on the same machine, which should also be a GC.
Exception: If you've raised your forest functional level to Windows Server 2003, the Domain Naming Master doesn't need to be on a GC, but it should at least be a direct replication partner with a GC in the same site.
Rule 4: Proactively check from time to time to confirm that all FSMO roles are available or write a script to do this automatically.
Tip: If any FSMO role holders at a remote site are unavailable, check first to see if your WAN link is down.
Hope the above is informative.
Please feel free to contact me for any questions.
Thanks
Logu
91-98414 99143.
Exchange 2007 Database
How Exchange stores data:
Database built on a heavily extended version of JET. The JET Database is an old and simple database type which is used for all mail storage in the exchange 2007. Why Microsoft relying on the JET still?, it’s a bit interesting stuff. Microsoft doesn’t want to change the database from JET to SQL database because already in exchange 2007 has enough changes like 64 bit architecture and many other new improved features. Single Instance Storage (SIS) provides large disk space saving. SIS is nothing but, when you send 1 MB attachment mail for 10 users, actually only one copy (1 MB of file) is stored in the DB. Databases use transaction logs (and memory) to initially store data. The mail flow exist as below
All incoming mails à transaction log à Database
Transaction log is like heart beat of the database. All the message routing is logged in a file before getting into the database (edb file) is called the transaction log. The analogy behind this transaction log is used for the restoring the recent data of the database in times of disaster. After successful backup, the committed logs are removed in order to avoid the disk space accumulation. So the last full backup copy plus the uncommitted transaction log will reproduce the recent copy of the database.
Storage Capacity:
In exchange, the maximum storage limit for a database is restricted to certain level, whereas in exchange 2007, it is unlimited theoretically. Please find the difference b/w the standard and enterprise edition in terms of the storage capacity.
In Standard edition:Storage group – up to 5,Database per SG – up to 5,Database limit – 16 TB.
Enterprise edition: Storage group – up to 50,Database per SG – up to 50,Database limit – 16 TB.
The above are the storage limits of the databases, but there are some size caps. The size caps are nothing but artificial size limit set at the registry level. For example for standard edition, there is artificial 50 GB cap on database sizes (for SP1 = 150 GB). This can be increased as per your wish and need, by just creating some entry in the registry as below.
HKLM\system\currentcontrolset\services\MSexchangeIS\servername\private{respective-DB-GUID}
In the above location just add a new DWORD value “Database Size Limit in GB” and set the decimal value as 200 (in this case increasing the size limit to 200 GB). In addition, the default mailbox size limit is 2 GB (can be changed).
Difference b/w exchange 2007 database and the previous version:
The following the differences between the exchange 2007 database and the exchange database of older version.
- The name of the store has been changed to Database.
- There is no more .stm file anymore. All data is in the .edb file.
- Transaction logs have shrunk from 5 MB to 1 MB.
- Transaction log numbering limits have been expanded from a million to 4 billion.
- Lost Log Resilience keeps last several log files in memory.
Relationship b/w Storage groups and Database:
- Storage groups are virtual containers for databases.
- They can hold up to five databases each.
- Transaction logs are handled at the storage group level.
- LCR – Local Continuous Replication - is a new feature of exchange 2007 will enables us to have a copy of the database in some other location. LCR can be used only if you use single database per storage group.
Guidelines for Best practices:
- Try 1:1 model for storage groups and databases.
- Isolate DB and transaction logs on separate disk for redundancy purpose.
- Leave Circular logging disabled.
- Perform regular Full backups.
- Check the available disk space for the transaction logs because it increases in faster rate and occupies plenty spaces.
- If you have multiple DB’s, set maintenance schedules so they don’t conflict each other.
- If it is 1:1 model, make use of LCR-Local Continuous Replication option.
- Don’t forget about the artificial size cap.
Hope the above is informative.
Please feel free to contact me for any questions.
Thanks
Logu
91-98414 99143.
Thursday, June 12, 2008
Managing File System Inconsistencies and Disk space in UNIX\Solaris:
1. Software error in the kernel.
2. Turning off the system without proper shutdown procedure.
3. Defective hardware, such as problem with the disk.
fsck Command:
Used to find the inconsistencies and repair them.
Syntax:
#fsck {option} {device}
Options
-F {fstype} – limit to check the specified file system.
-m – check but do not repair, for checking the status of the file system.
df Command:
Used to monitor disk space usage at file system level, also used to determine the following,
1. The amount of disk space occupied by currently mounted or unmounted file systems.
2. The total amount of the used and available space.
3. The fraction of the file system’s total capacity that has been used.
Syntax:
#df {-F fstype} {option} {file system}
du Command:
Used to get the report on disk usage at the directory and file level, also used to determine the following,
1. Total space allocated to a directory.
2. Total space allocated to a directory subtree.
3. Total space allocated to a non-directory file.
Syntax:
#du {option} {file}
quot Command:
Used to get the report on disk usage by user name, if you want to know how much space is being used by each user on a given file system, can make use of this command.
Syntax:
#quot {option} {filesystem}
Hope this is informative.
Thanks
Logu
Logu_microsoft@hotmail.com
91-98414 99143
Managing Hard and Symbolic Links in Solaris/Unix:
1.Hard Link:
a. A Hard Link is a pointer to a file that is indistinguishable from the original file.
b. Any changes made to a file are effective regardless of the name used to refer to the file – the link file or the original file name.
c. The link and the file are on the same file system because both have the same inode number.
d. A hard link can only point to a file, not to a directory.
e. You cannot create a hard link file without having the existing file.
f. The hard link file will consume the same amount of the disk as that of the original file.
g. If you delete the link file, the other will exist and the reverse is also applicable.
Syntax of the Hard Link file:
To create a hard link file,
#ln {source} {Target}
To remove the same file,
#rm {linkfile}
2.Symbolic Link:
a. A Symbolic Link is an indirect pointer to a file and it can span the file systems.
b. A symbolic link can be pointed to either file or directory.
c. You can create a symbolic link without having the existing file.
d. The symbolic link file will have the different inode number.
e. The symbolic link file will just have the details of the pointer information of the original file alone. Hence it won’t consume the same space as that of the original file.
f. It is just like a shortcut in the Windows.
g. If you delete the shortcut link file, the original file will exist. The reverse is obviously not applicable. It is better to clean up the shortcut files i.e, symbolic file before deleting the source file.
Syntax of the Symbolic Link file:
#ln –s {Source} {Target}
Thanks
Logu
Logu_microsoft@hotmail.com
91-98414 99143
Directory Hierarchy in Solaris:
1./bin - symbolic link to the /usr/bin directory.
2./dev – Contains logical devices names for the devices.
3./device – device related files controlled by the file system: devfs.
4./lib – Contains shared libraries such as SMF executables.
5./etc – administrative and configuration files.
6./export – Commonly used to hold user home directories.(you can define as per your wish)
7./home – Default mount point for user home directories.
8./mnt – Default mount point used to temporarily mount file systems.
9./sbin – Contains system administration command s and utilities.
10./tmp – Contains temporary files that are deleted when the system is rebooted.
11./usr – UNIX system resources, Holds OS commands and programs.
Thanks
Logu
Logu_microsoft@hotmail.com
91-98414 99143
Package administration in the Solaris:
1.Installing a Package:
#pkgadd – used for installing the package, the default installation spool directory is /var/spool/pkg.
Example
#pkgadd –a {admin} – indicate to use the installation administration file specified by admin instead of the default file.
#pkgadd –d {device} – the package to be installed must be copied from the device.
2.Checking a Package:
#pkgchk – used to check the accuracy of the installed files
Example
To check the content of an installed package SUNWbash,
#pkgchk –c SUNWbash
To check the file attribute of an installed package SUNWPython,
#pkgchk –a SUNWPython
3. Retrieving information about Packages:
#pkginfo – to retrieve the information about the s/w package installed in the system,
Example
To get information on the list of fully installed package,
#pkginfo –i
To get information on the list of partially installed package,
#pkginfo –p
To get the information on the selective category, can be retrieved by the category value set in the pkginfo for the attribute values.
#pkginfo –c {category value}
4. Removing a Package:
#pkgrm – to remove the completely or partially installed package
To remove the source package by using the admin specified installation file instead of the default file,
#pkgrm –a {admin}
To remove all the files of the package including those shared by other packages.
#pkgrm –A packagename
To remove the package in the non-interactive mode, the default is the interactive mode,
#pkgrm –n SUNWPython
Hope the above information is useful while dealing with some packages.
Thanks
Logu
Logu_microsoft@hotmail.com
91-98414 99143
Installation of Solaris 10:
Hardware Requirements:
Before starting the installation process, all the hardware components must be checked for the hardware compatibility first. Please make sure all the needed drivers available for the X86 machines.
Installation in the X86 Machine:
1.Insert the Solaris 10 CD or DVD into the appropriate drive.
2.Set the Boot priority as required in the BIOS.
3.On the initial, Solaris Booting Systems. Decide whether you need to modify the device settings.
a.Install device driver or install time updates.
b.Disable ACPI – Advanced Configuration and Power Interfaces.
c.Set up a serial console.
d.Reset the default boot device.
4.Select the installation type
a.Solaris Interactive. (Default GUI)
b.Custom Jumpstart.
c.Solaris Interactive Text (Desktop session).
d.Solaris Interactive Text (Console session).
5.Two scenario to proceed
a.If it detects all the devices, then proceed to step 7.
b.If the problem in detecting the keyboard, monitor and mouse, go to step 6.
6. Two ways to go from here
a.Configure the keyboard, Monitor and Mouse as per the instruction on the screen.
b.If you want to do the text installation, press f4 to skip the steps related to the GUI display and will let directly to the step 7.
7.Select the language.
8.Please precede the installation and configure the disk space for the file system. Can use the automatic partitioning or can do the manual partitioning as well. The recommended disk partitioning is /boot (100 MB), /swap (twice the RAM) and / (remaining space).
9.Select the default package list or select the package manually.
10.Answer any additional configuration questions, if you are prompted.
11.After the installing the package, it will automatically reboot.
Installation in the SPARC Machine:
1.Insert the Solaris 10 CD or DVD into the appropriate drive.
2.Set the Boot priority as required in the BIOS.
3.Start the Solaris installation program by booting through CD / DVD
a.For GUI installation, type the below command in the ok prompt
Ok boot cdrom
b.For Text installer in a desktop session, type the below command in the ok prompt
Ok boot cdrom –text
c.For Text installer in a console session, type the below command in the ok prompt
Ok boot cdrom –nowin
4.Select the language.
5.Answer the system configuration questions such as hostname, IP address and others.
6.Select the reboot option at the end of installation and specify the media you are using to install.
7.Please precede the installation and configure the disk space for the file system. Can use the automatic partitioning or can do the manual partitioning as well. The recommended disk partitioning is /boot (100 MB), /swap (twice the RAM) and / (remaining space).
8.Select the default package list or select the package manually.
9.Answer any additional configuration questions, if you are prompted.
Please revert if you have any issue while deploying the package.
Thanks
Logu
Logu_microsoft@hotmail.com
91-98414 99143
Monday, June 9, 2008
Evolution/History of UNIX:
UNIX, pronounced as yoo-niks, is not the name of one operating system; it refers to a family of operating systems.
Brief History of UNIX:
1. The roots lie in Comprehensive time sharing system CTSS developed by Corbato at MIT in the early 1960s.
2. In 1969, emergence of UNIX at the AT & T Bell labs.
3. After several hits, first BSD Berkeley Software Distribution version released in 1978.
4. In 1982, Sun Microsystems released first UNIX workstation based on the BSD flavor of UNIX.
5. Finally in the year, SPARC station1 introduced.
UNIX Flavors:
UNIX is the oldest OS that pioneered several OS concepts used by other OS such as Microsoft DOS and Microsoft Windows. Originally, Bell Lab distributed UNIX along with the source code so that, anybody could modify and customize the OS to meet specific needs. The following are the different flavors of UNIX with Vendor and Chip architecture.
1. Solaris – Sun Microsystems – SPARC, X86
2. HP-UX – Hewlett Packard – IA 64 and HP PA-RISC
3. Irix- Silicon Graphics – MIPS
4. AIX – IBM – PowerPC
5. UNIXWare – SCO/Caldera – Xeon, Pentium, X86
6. Linux – Freeware – Alpha, SPARC, PowerPC and Intel
Characteristics of UNIX:
1. UNIX is built from small components; each component does one job and does it well.
2. Support for virtually all n/w protocols.
3. Many flavors of UNIX.
4. Wide variety of s/w available for UNIX.
5. Open standard and open source.
6. Multitasking and multiprocessing.
The underlying philosophy of UNIX may be classified as independence, interconnection and innovation.
Hope the above information is useful.
Thanks
Logu
Logu_microsoft@hotmail.com
91-98414 99143
