How To Deploy Lync Standard Edition (part 2)

by Giorgi Jambazishvili 2. May 2012 23:05

Prepare first standard Edition Server

image image

image image

Install Topology Builder, open topology builder

image

In primary sip domain write your sip domain, for me it will be lync.ge, I don’t need additional supported Sip Domains so click next

image

 

 

 

 

 

write Name of your site for me it is lync main site –click next

image

than fill about you site and click next

image

mark checkbox and click finish.

image

 

 

You must define the new front end pool click next

image

In the FQDN write your server fqdn name and check standard edition server

image

at this stage install only conferencing, which includes audio, video and application sharing(if you need install other features)

image image

 

I’ll install other server roles in other posts, stay it as is in pictures. And click next.

image image

 

Define file share
make folder in c disk named shareforlync, in advanced sharing check “share this folder’, and in permissions give everyone full.

image

Click finish

image

after this, publish your topology!

image image

image image

 

 

 

 

After publish the topology close topology builder
ok now click install or update lync server system

First install local configuration store

image image

image

 

 

step 2 setup or remove Lync Server Components click run

image image

 

image image

 

after installing lync components let’s request and assign certificates
request certificate, if you have not internal ca choose offline certificate request

image image

 

image image

 imageimage

 image image

you can add sans into certificate

image image

 

 

 

 

 

clicking next it will request our certificate

image

check assign this certificate to lync server certificate usages
you can review certificate details

image

after clicking finish certificate assignment wizard will start

image image

image image

start our lync services

 

 

 

image image

check if all lync services started successful

 

image

Congratulations you have lync deployed!

 

now connect client to server.
create new lync user.
first create domain user user@llab.corp
from lync control panel enable this user for lync

image

 

we must manually configure server name in client, because we have not deploy auto configuration setting in dns.

image

image image

Tags:

how to Deploy Lync Standard Edition (part 1)

by Giorgi Jambazishvili 2. May 2012 22:57

In this post, I’ll demonstrate how to deploy lync server, as I sad in my first post lync standard edition is useful for lab deployment and I’ll demonstrate how to deploy lync standard edition server.
There are some questions that I heard: what servers are necessary in infrastructure before install lync server? Is Exchange necessary before lync?
First of all lets answer to this questions, without exchange you can have lync infrastructure, but there are features which need exchange, for example your history tab will not work, also wil not work features that need ews (ews is used for history tab), voice mails and etc. so you can have lync without exchange, but I think that every normal organization must have exchange, it’s the best mail server in the world.
For lync infrastructure you need active directory, and internal ca (or you can buy certificate).
In My lab We have installed
domain: llab.corp
domain controller: llab-dcr01.llab.corp 192.168.34.50
domain controller: llab-dcr02.llab.corp 192.168.34.51
CA: llab-ca 192.168.34.55
Lync Server: llab-lync.llab.corp 192.168.34.56
for Lync deployment we’ll use Lyncinstall@llab.corp user for installation, user must be a member of domain admins, Enterprise Admins and schema admins groups

image

before start installation you must install .net framwork 3.5 sp1 or greater,
image

on llab-lync.llab.corp let’s install .net framework,
open Server Manager->Features->add Feature-> check .NET Framework Features-> Add Required Role Services ->click 3 times next - > click install –>closeimage image

also you need IIS Role services

image

and this features
image

go to installation folder setup\amd64 two click setup.exe, also you need Visual C++ 2008 Redistributable package to be installed,
image

And click yes to install this,
choose installation location, agree to the license agreement

image

image

image

Choose prepare active directory in deployment wizard
image

than Prepare schema, view log and sure that processing has completed successfully
image verify Replication Of Schema Partition
http://technet.microsoft.com/library%28OCS.14%29/ms.lync.tbdep.DeployMainVerifySchemaPrep.aspx

prepare Current forest, click next
image

image

sure that processing has completed successfully

Verify Replication of Global Catalog
http://technet.microsoft.com/library%28OCS.14%29/ms.lync.tbdep.DeployMainVerifyForestPrep.aspx

image

prepare Current Domain
image

Verify Replication in the Domain

http://technet.microsoft.com/library%28OCS.14%29/ms.lync.tbdep.DeployMainVerifyDomainPrep.aspx

image

Add your installation user to CSAdministrator group.
ok we finished “Prepare Active Directory”

image

go to part 2.

Tags:

Technical Differences Between Lync Standard and Enterprise Servers

by giorgi jambazishvili 2. May 2012 19:01

First question which admin may have during installation of lync server is: which type of installation to choose? Standard or Enterprise? In my post I’ll try to explain difference between these installation methods. Most important difference is high avability, in standard server installation you have only one front end server with collocated SQL server and A/V conferencing server, other roles you can have on dedicated server after standard server installation. So because of high avability we have limited users number in our pool, Microsoft recommended 5000 users for standard installation, in Enterprise pool you may have 10(max) front end servers in one pool and you have high avability between your front end servers, based on this, users number is more than 5000, you can have approximately 80000 users in your enterprise pool. There is not any feature that enterprise edition has and standard not.
Standard edition is designed for small organizations, for pilot projects, for lab deployments. it enables you to have full functionality for a lesser costs.
In my country(Georgia) there are may be 2 organizations which may have enterprise editions, So if users number is approximately 2000-3000, don’t worry install Lync Standard edition,
But if you want to have high avability or number of users is more than 5000, or to have SQL or a/v conferencing server on dedicated, you must install Enterprise Edition.
P.S for HA you need Hardware Load Balancer.

Tags:

Restore database to Asm from type backup to different server

by Vazha Mantua 20. April 2012 12:04

Today I show you step by step procedure, how we can restore database from UFS file system to ASM file system, if backup was done on type device and in different server. In your example we use VERITAS Netbackup soft.

We should change some parameters in our PFILEor SPFILE  for using ASM .

This parameters are:

control_files='+DG01/orcl1/controlfile/ctl.f' 

db_create_file_dest='+DG01'

You should install VERITAS Netbackup client and configure it for using. Also in your case we use Oracle RDBMS version 11.2. and OS Linux.

Then we should run RMAN script and set appropriate environment for restoring backup set from type.

ORACLE_SID=ORCL1
NLS_LANG=AMERICAN_AMERICA.AL32UTF8
NB_ORA_SERV=mastersrv   (This is master server for backuping)
NB_ORA_CLIENT=testmachine (This is source server, from this server we have made backup) 
export ORACLE_SID NLS_LANG NB_ORA_SERV NB_ORA_CLIENT
echo $ORACLE_SID
echo $NLS_LANG
echo $NB_ORA_SERV
echo $NB_ORA_CLIENT

rman target /

---- Startup Database on nomount Stage
run
{  
startup nomount;
}

--- Restore Controlfile from autobackup

SET DBID=295123130 (This is DBID of source database. you can find DBID on v$database view, or on controlfile format in netbackup catalog)

run
{
allocate channel ch1_tape type sbt;
set controlfile autobackup format for device type sbt to '%F';
restore controlfile  from autobackup;
RELEASE CHANNEL ch1_tape;
}

--- Mount database
alter database mount;

--- Restore and Recover database with new ASM Storage.

In our database we have only 4 datafile. for your case you should add all datafiles in this script. In ASM  file system datafiles will be created with automatically generated name

run 
{
allocate channel t1 device type 'sbt_tape';
SET  NEWNAME FOR DATAFILE 1 TO NEW;
SET  NEWNAME FOR DATAFILE 2 TO NEW;
SET  NEWNAME FOR DATAFILE 3 TO NEW;
SET  NEWNAME FOR DATAFILE 4 TO NEW;
restore database;
SWITCH DATAFILE ALL;
recover database;
}

---- Rename Redo log files:
On source database redo logs were in location /u4/oradata/ORCL1.

SQL "ALTER DATABASE RENAME FILE ''/u4/oradata/ORCL1/redo01.log'' TO ''+DG01/ORCL1/ONLINELOG/redo01.log'' ";
SQL "ALTER DATABASE RENAME FILE ''/u4/oradata/ORCL1/redo02.log'' TO ''+DG01/ORCL1/ONLINELOG/redo02.log'' ";
SQL "ALTER DATABASE RENAME FILE ''/u4/oradata/ORCL1/redo03.log'' TO ''+DG01/ORCL1/ONLINELOG/redo03.log'' ";
SQL "ALTER DATABASE RENAME FILE ''/u4/oradata/ORCL1/redo04.log'' TO ''+DG01/ORCL1/ONLINELOG/redo04.log'' ";
SQL "ALTER DATABASE RENAME FILE ''/u4/oradata/ORCL1/redo05.log'' TO ''+DG01/ORCL1/ONLINELOG/redo05.log'' ";
SQL "ALTER DATABASE RENAME FILE ''/u4/oradata/ORCL1/redo06.log'' TO ''+DG01/ORCL1/ONLINELOG/redo06.log'' ";

 

--- Open database with resetlogs clause and recreate temporary tablespace.

ALTER DATABASE OPEN RESETLOGS;

CREATE TEMPORARY TABLESPACE TEMP1;
ALTER DATABASE DEFAULT TEMPORARY TABLESPACE TEMP1;
DROP TABLESPACE TEMP INCLUDING CONTENTS AND DATAFILES;
CREATE TEMPORARY TABLESPACE TEMP;
ALTER DATABASE DEFAULT TEMPORARY TABLESPACE TEMP;
DROP TABLESPACE TEMP1 INCLUDING CONTENTS AND DATAFILES;

In your case we restore database, but not configure it for archiving.

for archiving you should simple set these parameters and then enable it.

alter system set db_recovery_file_dest_size = '400G';
alter system set db_recovery_file_dest = '+DG01' ;

Good Luck!

Welcome to OCP Blog

by Vaja Mantua 20. April 2012 10:00

If you see this post it means that BlogEngine.NET 2.6 is running and the hard part of creating your own blog is done. There is only a few things left to do.

Tags: ,

large number of trace in $ORACLE_BASE/grid/cv/log/

by Vazha Mantua 14. April 2012 11:50

Good Day All,

Today searching large directories in Grid home I found a lot of trace files in directory $ORACLE_BASE/grid/cv/log/, cause of creating these files is cluvfy utility tracing, which by default is enabled in 11.2 version.it creates a new cvutrace.log everytime it gets executed.

But when it gets executed? Answer is: EM Grid Control agent collects metrics and needs to verify the status of the cluster, agent run command like this: $ORA_CRS_HOME/bin/cluvfy comp crs -display_status

The workaround is to modify the script, runcluvfy.sh or cluvfy script located in stage location of grid infrastructure to include SRVM_TRACE="false" at top of script, also you simple can delete these files.

 

Tags: , , , , ,

24 Hours Of PASS. Russian Edition

by Arman Obosyan 5. April 2012 10:13

 

გეპატიჟებთ უდიდეს ონლაინ სემინარზე, რომელიც ეძღვნება Microsoft SQL Server-ს.

24 საათის განმავლობაში თავის ცოდნას და გამოცდილებას გაგიზიარებენ როგორც დამოუკიდებელი ექსპერტები, ასევე კომპანია Microsoft-ის SQL Server-ის შემქმნელი გუნდი. შემოგვიერთდით 12 აპრილს, რეგისტრაცია უკვე დაწყებულია ვებ გვერდზე
რეგისტრაცია http://www.sqlpass.org/24hours/russia2012/

Приглашаем вас на крупнейшее онлайн-мероприятие, посвященное Microsoft SQL Server.

В течении 24 часов своими знаниями с вами будут делиться как независимые эксперты, так и сотрудники Microsoft из команды разработки SQL Server. Присоединяйтесь к нам 12 апреля. Регистрация уже открыта на сайте  http://www.sqlpass.org/24hours/russia2012/

Tags:

Free ebook: Introducing Microsoft SQL Server 2012

by Arman Obosyan 20. March 2012 08:15

Introducing Microsoft SQL Server 2012 includes 10 chapters:

    PART I   DATABASE ADMINISTRATION (by Ross Mistry)

    1.   SQL Server 2012 Editions and Engine Enhancements
    2.   High-Availability and Disaster-Recovery Enhancements
    3.   Performance and Scalability
    4.   Security Enhancements
    5.   Programmability and Beyond-Relational Enhancements

    PART II   BUSINESS INTELLIGENCE DEVELOPMENT (by Stacia Misner)

    6.   Integration Services
    7.   Data Quality Services
    8.   Master Data Services
    9.   Analysis Services and PowerPivot
    10.  Reporting Services

This book will help you learn about the new features and capabilities in SQL Server 2012, which Microsoft released to manufacturing (RTM) on March 6, 2012. You can expect general availability of the product to begin on April 1, 2012.

Download Introducing Microsoft SQL Server 2012

Tags:

ORA-20222: ORA-24247: network access denied by access control list (ACL)

by Vazha Mantua 21. February 2012 13:14

Good day all,

Let see a issue which appear after migration database from 10g to 11gR2

When executing DBMS_LDAP, UTL_INADDR (or) UTL_HTTP (or) any UTL packages after upgrading to 11gR1, fails with following error.

ORA-20222: ORA-24247: network access denied by access control list (ACL)

Cause of error is new security measure is introduced in Oracle 11g  for the following network-related PL/SQL packages: UTL_TCP, UTL_HTTP, UTL_SMTP, UTL_MAIL,  UTL_INADDR, DBMS_LDAP.By default, the ports are blocked.

We find Solution:

BEGIN
DBMS_NETWORK_ACL_ADMIN.CREATE_ACL(
acl => 'http_service.xml',
description => 'HTTP ACL',
principal => 'SCOTT',
is_grant => true,
privilege => 'connect');

DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE(
acl => 'http_service.xml',
principal => 'SCOTT',
is_grant => true,
privilege => 'resolve');

DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL(
acl => 'http_service.xml',
host => '*');
COMMIT;
END;

In our case user SCOTT has a privileges use http_service. If you want to open port for specific host on assign_acl part use direct IP instead of ‘*”

ORA-01078 ORA-29701 error during startup ASM

by Vazha Mantua 16. January 2012 11:48

Good Day,

Today we resolve problem with error ORA-01078 and ORA-29701 while starting ASM , Oracle release 11gR2.

-bash-3.2$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on Mon Jan 16 11:22:15 2012

Copyright (c) 1982, 2009, Oracle. All rights reserved.

Connected to an idle instance.

SQL> startup
ORA-01078: failure in processing system parameters
ORA-29701: unable to connect to Cluster Synchronization Service

 

1.First of all check services by command

crs_stat –t

Than try start services manually by command:

crsctl start resource ora.cssd

-bash-3.2$ crsctl start resource ora.cssd
CRS-2672: Attempting to start 'ora.cssd' on 'Test'
CRS-2679: Attempting to clean 'ora.diskmon' on 'Test'
CRS-2681: Clean of 'ora.diskmon' on 'Test' succeeded
CRS-2672: Attempting to start 'ora.diskmon' on 'Test'
CRS-2676: Start of 'ora.diskmon' on 'Test' succeeded
CRS-2676: Start of 'ora.cssd' on 'Test' succeeded

2.Now try to start ASM instance

-bash-3.2$ export ORACLE_SID=+ASM
-bash-3.2$ sqlplus / as sysasm

SQL*Plus: Release 11.2.0.1.0 Production on Mon Jan 16 11:26:08 2012

Copyright (c) 1982, 2009, Oracle. All rights reserved.

Connected to an idle instance.

SQL> startup
ASM instance started

Total System Global Area 283930624 bytes
Fixed Size 2212656 bytes
Variable Size 256552144 bytes
ASM Cache 25165824 bytes
ORA-15110: no diskgroups mounted

3.Finally mount disk group : Find problematic diskgroup with statement:

select name, state, type from v$asm_diskgroup

SQL> alter diskgroup DATA mount;