Friday, March 29, 2013

System Center 2012 Operations Manager

File name
Size
SC2012_OpsMgr_Authoring.pdf
6.2 MB
SC2012_OpsMgr_Cmdlets.pdf
5.0 MB
SC2012_OpsMgr_CompleteDocumentation.pdf
15.6 MB
SC2012_OpsMgr_Deployment.pdf
2.1 MB
SC2012_OpsMgr_GetStarted.pdf
253 KB
SC2012_OpsMgr_KeyConcepts.pdf
368 KB
SC2012_OpsMgr_Operations.pdf
7.9 MB
SC2012_OpsMgr_SuppConfig.pdf
516 KB
SC2012_OpsMgr_WhatsNew.pdf
387 KB

Basic steps to troubleshoot AD

What are the basic steps to troubleshoot Active Directory (AD)?

1. DCDIAG

To deploy an additional domain controller: 
dcdiag /test:dcpromo /DnsDomain:domain_name.com /ReplicaDC
To deploy a child domain:
dcdiag /test:dcpromo /DnsDomain:child_domain_name.forest.com /ChildDomain

Test the FSMO
dcdiag /s:<DomainControllerName> /test:fsmocheck

Check DNS
dcdiag /test:dns
Check for missing and duplicate SPNs as well as other errors
dcdiag /test:checksecurityerror

Check the rid pool
dcdiag /s:server /v /test:ridmanager

2. NSLOOKUP

Test SRV records
cmd > nslookup
set q=srv
_ldap._tcp.dc._msdcs.yourdomain.com
_ldap._tcp.gc._msdcs.yourdomain.com
_ldap._tcp.pdc._msdcs.yourdomain.com

3. Repadmin

Disable replication
repadmin /options <dc-fqdn> +DISABLE_OUTBOUND_REPL
Enable replication

repadmin /options <dc-fqdn> -DISABLE_OUTBOUND_REPL

4. W32TM

Time sync issue in DC
w32tm /config /manualpeerlist:<DC1.contoso.com> /syncfromflags:manual /update

5. NLTEST

How to find the site for a Server
nltest /server:%computername% /dsgetsitenltest /dsgetdc:contoso.com 
Reset the netlogon secure channel

nltest /sc_reset:<domainname>

NLTEST to test the trust relationship between a workstation and domain

6. PortQuery

PortQry.exe -n 10.236.214.136 -e 53 -p both

7. How to check the delegation

Dsrevoke /Report OU=test,DC=gs,DC=Com gs\bshwjt
ACLDiag.exe "OU=Employee,DC=Contoso,DC=Com" /chkdeleg 


For details see the below links.
http://social.technet.microsoft.com/wiki/contents/articles/6477.how-to-view-or-delete-active-directory-delegated-permissions.aspx


http://msmvps.com/blogs/acefekay/archive/2012/02/07/active-directory-server-2008-r2-you-do-not-have-permission-to-modify-the-group.aspx 

8. RUNAS

runas /user:<domain\username> cmd

Sunday, March 17, 2013

System Center Configuration Manager2007 SP2 and R3

In this track you will learn about the importance of an environment with centralized management.We'll see how SCCM 2007 can help you distribute software, perform inventories, manage compliance, remote support, save energy, management reports in machinery and other important functions.
1Managing environment, initial installation and configuration of the environment
We begin with a briefing on management environments and how SCCM 2007 fulfills this task. We will go to the installation prerequisites and initial configuration for the environment with SCCM 2007 on a network
downloadTest the new version of Microsoft System Center Configuration Manager 2012 (BETA 2)
video_tutorA snapshot management
video_tutorInstallation prerequisites and SCCM 2007 SP2 and R3
video_tutorInitial configuration of the network environment for SCCM
video_tutorConfiguring secondary sites
documentPrerequisites and installation (English)
documentConfiguring sites for good performance (English)
NotificationWhat's New in System Center Configuration Manager 2007 SP2 and R3
documentSetting boundaries and roles of SCCM 2007 (English)
2Installation of customers and Inventories
Know how this topic is conducted discovery and install the SCCM agents. We also discuss how to configure, implement and use the hardware and software inventories.
video_tutorConfiguring the server to discover and install clients
video_tutorConfiguring the agents inventory
video_tutorUsing the inventory and generating reports
documentInstalling clients (English)
documentConfiguring discovery clients (English)
documentSetup and use of inventories (English)
3Software Distribution, Updates and Operating System
One of the key features of SCCM is the ability to control the shipment, installation and control software. We will see how to integrate SCCM with WSUS to distribute updates of centralized and controlled.
video_tutorConfiguring servers and agents for software distribution
video_tutorCreating packages, programs and advertisements software
video_tutorIntegrating with SCCM and WSUS distributing updates
video_tutorIntegrating SCUP to WSUS to distribute updates for non-Microsoft software
video_tutorConfiguring SCCM to distribute images of Operating System
video_tutorUsing SCCM to distribute OS
documentSoftware Distribution with SCCM 2007 (English)
documentDistribution of updates with SCCM 2007 (English)
documentOS Deployment with SCCM 2007 (English)
4Managing machine park
In this topic we discuss the features that allow us to manage the number of machines and manage the use of applications and the features added by R3.
video_tutorManaging software with Software Metering
video_tutorUsing the Asset Intelligence for application management
video_tutorUsing Desired Configuration Manager (DCM) to ensure uniformity
NotificationSystem Center Configuration Manager 2007 R3 and Customer Verde
documentUsing Software Metering (English)
documentUsing DCM to compliance environments (English)
documentPower Management with SCCM 2007 R3 (English)
documentWake Up On Lan with SCCM 2007 (English)
5Reporting, Monitoring and Maintenance of SCCM 2007
Meet the native reports SCCM 2007, as well as integrated with SQL Server Reporting. Monitors the different logs, performance counters and SCCM 2007 environment. Prepare for disaster recovery.
video_tutorIntegrating SCCM 2007 to SSRS
video_tutorA snapshot of the reports of SCCM 2007
video_tutorCreating queries and reports in SCCM 2007
video_tutorMonitoring and analysis of the environment
video_tutorBackup and restore of SCCM 2010
documentInstalling and SRSS reports in SCCM 2008 (English)
documentDeveloping queries and reports in SCCM 2007 (English)
documentDisaster Recovery (English)

Friday, March 1, 2013

How to upgrade PHP 5.1 to PHP 5.3 using yum on CentOS



This information explains how to update the standard PHP 5.1.x packages in CentOS 5.x 32-bit to the current development versions 5.3.x. These guidelines were designed using CentOS 5.5 32-bit and with the following PHP packages installed:
# rpm -qa |grep php

 php-common-5.1.6-15.el5.i386
 php-cli-5.1.6-15.el5.i386
 php-5.1.6-15.el5.i386
 php-pdo-5.1.6-15.el5.i386
 php-bcmath-5.1.6-15.el5.i386
 php-ldap-5.1.6-15.el5.i386
 php-devel-5.1.6-15.el5.i386
 php-gd-5.1.6-15.el5.i386
 php-xml-5.1.6-15.el5.i386
 php-mbstring-5.1.6-15.el5.i386
 php-mysql-5.1.6-15.el5.i386
 php-dba-5.1.6-15.el5.i386

Provided that you're using the standard PHP packages on your CentOS server you won't need to do anything additional. If you're using additional PHP packages that aren't part of the standard CentOS repositories (like php-mcrypt) you'll have to remove them or find out updated versions of them.

Add the Atomic repositories


First thing we need to do is add the atomic repositories to yum. When we add the atomic repository we're going to configure it so it only pulls PHP packages. To start we'll need create a new yum repository configuration file (use your favorite editor):
 #  wget -q -O - http://www.atomicorp.com/installers/atomic | sh

Output: 
  Atomic Archive installer, version 2.0.9

BY INSTALLING THIS SOFTWARE AND BY USING ANY AND ALL SOFTWARE
PROVIDED BY ATOMICORP LIMITED YOU ACKNOWLEDGE AND AGREE:

THIS SOFTWARE AND ALL SOFTWARE PROVIDED IN THIS REPOSITORY IS
PROVIDED BY ATOMICORP LIMITED AS IS, IS UNSUPPORTED AND ANY
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ATOMICORP LIMITED, THE
COPYRIGHT OWNER OR ANY CONTRIBUTOR TO ANY AND ALL SOFTWARE PROVIDED
BY OR PUBLISHED IN THIS REPOSITORY BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
OF THE POSSIBILITY OF SUCH DAMAGE.

Do you agree to these terms? (yes/no) [Default: yes]

Configuring the [atomic] yum archive for this system

Installing the Atomic GPG key: OK
Downloading atomic-release-1.0-16.el5.art.noarch.rpm: OK



The Atomic Rocket Turtle archive has now been installed and configured for your system
The following channels are available:
  atomic          - [ACTIVATED] - contains the stable tree of ART packages
  atomic-testing  - [DISABLED]  - contains the testing tree of ART packages
  atomic-bleeding - [DISABLED]  - contains the development tree of ART packages

Update PHP packages


Before updating your PHP packages you'll want to get a list of what you currently have installed. To get a list of current PHP packages run the following:
 # rpm -qa |grep php

Now you can use yum to update the PHP packages on your system:
 # yum update php

You should be shown a list of packages that are going to be updated. Compare it to the list of PHP packages on your system. Note any packages that are not in the list. You'll need to remove these packages or find updates for them because they won't work after you update to PHP 5.3.x. If that is acceptable type "y" to continue and let yum update the packages.
Once yum has completed restart Apache:
  # yum update php-pecl-memcache

You should also update a php-pecl-memcache package. if not then you will get following error while checking php version.
# php -v
PHP Warning:  PHP Startup: memcache: Unable to initialize module
Module compiled with module API=20050922
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
PHP 5.3.22 (cli) (built: Feb 22 2013 09:51:31)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies
Once yum has completed restart Apache:
 # service httpd restart

To verify the update is working create a simple testing.php in your www directory with the following source code:
<?php
  phpinfo();
?>

and open it in a web browser. The new PHP version should be reflected at the top of the page.

Conclusion


You should now have PHP 5.3.22 running on CentOS 5.5 32-bit.
 # rpm -qa |grep php

php-cli-5.3.22-15.el5.art
php-mbstring-5.3.22-15.el5.art
php-xml-5.3.22-15.el5.art
php-pear-1.4.9-8.el5
php-pdo-5.3.22-15.el5.art
php-ldap-5.3.22-15.el5.art
php-devel-5.3.22-15.el5.art
php-mysql-5.3.22-15.el5.art
php-snmp-5.3.22-15.el5.art
php-common-5.3.22-15.el5.art
php-gd-5.3.22-15.el5.art
phpmyadmin-2.11.11.3-2.el5.rf
php-5.3.22-15.el5.art
php-mcrypt-5.3.22-15.el5.art
php-pecl-memcache-3.0.6-1.el5.art


 # php -v
  
PHP 5.3.22 (cli) (built: Feb 22 2013 09:51:31)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies

Remove the Atomic repositories


After updating PHP we need to do is remove the atomic repositories from yum. 
 yum -y remove atomic-release*


Search & Buy Amazon Products at discounted rate!!

Newsletter

Subscribe to AtoZ-networking Newsletter

Do you want to receive Linux FAQs, Microsoft FAQ, Solaris FAQ, detailed Networking tutorials and tips published at atoz-networking? Enter your email address below, and we will deliver our Linux posts straight to your email box, for free. Delivery powered by Google Feedburner.

Sign-up for the newsletter