16.01.2013 Views

Microsoft Sharepoint Products and Technologies Resource Kit eBook

Microsoft Sharepoint Products and Technologies Resource Kit eBook

Microsoft Sharepoint Products and Technologies Resource Kit eBook

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

326 Part IV: Deployment Scenarios<br />

A sample syntax is as follows:<br />

stsadm.exe -o setconfigdb [-connect] -ds [-du ]<br />

[-dp ] [-dn ] [-hh] [-adcreation]<br />

[-addomain [-adou ]<br />

To create the administration virtual server from the comm<strong>and</strong> line<br />

1. Open a comm<strong>and</strong> prompt window, <strong>and</strong> navigate to the \Program Files<br />

\Common Files\<strong>Microsoft</strong> Shared\Web Server Extensions\60\bin folder.<br />

2. Run the following comm<strong>and</strong> to create the administration virtual server:<br />

stsadm.exe -o setadminport -port -admapcreatenew -admapidname -admapidtype -admapidlogin <br />

-admapidpwd <br />

An example of this is as follows:<br />

stsadm.exe –o setadminport –port 1035 –admapcreatenew –admapidname DefaultAppPool<br />

-admapidtype configurableid –admapidlogin DOMAIN\user1 –admapidpwd P@ssw0rd<br />

In the preceding Stsadm.exe example, Setadminport sets the port number for<br />

the administration virtual server for Windows SharePoint Services. The ssl parameter is<br />

used to specify a Secure Sockets Layer (SSL) connection to the port. The admap...<br />

parameters are used to specify the IIS application pool to use or to create a new IIS<br />

application pool for the administration virtual server. See Table 13-2 for a listing of<br />

the required <strong>and</strong> optional stsadm.exe parameters relative to creating a virtual server<br />

from the comm<strong>and</strong> line.<br />

Table 13-2 Stsadm.exe Parameters<br />

Required Parameters Optional Parameters<br />

-port -admapcreatenew<br />

-admapidloginname<br />

-admapidnametype<br />

-admapidpwdlogin<br />

-admapidtypepwd<br />

-ssl<br />

Parameter Definition<br />

admapcreatenew Specifies that a new application pool is created in Internet Information<br />

Services (IIS).<br />

admapidlogin The user name to use for running processes in the administrative<br />

application pool. This value must be a Windows NT user account<br />

name <strong>and</strong> must be qualified with a domain name—for example,<br />

DOMAIN\name.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!