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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

336 Part IV: Deployment Scenarios<br />

Extending the Extranet Virtual Server<br />

With the administration virtual server <strong>and</strong> configuration database in place, you can<br />

extend the virtual server to host the extranet sites. You can use either the comm<strong>and</strong><br />

line or HTML Administration pages to extend the virtual server.<br />

To extend the extranet virtual server<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 extend the extranet virtual server.<br />

stsadm.exe -o extendvsinwebfarm -url https://www.servername.extranet.com<br />

-vsname [-apcreatenew -adpidname -apidtype configurableid -apidlogin -apidpwd ]<br />

The -vsname parameter is the IIS name of the internal virtual server you extended<br />

earlier. For example, if you are using a site named “mysite” in IIS, the -vsname value<br />

would be mysite. It is recommended that you create a new application pool for the<br />

virtual server. Use a dedicated application pool account, not a user login account.<br />

The application pool account for a virtual server does not need database owner<br />

rights on the SQL Server computer. Note that the -du <strong>and</strong> -dp parameters are not<br />

needed if you are using Windows authentication to connect to SQL Server.<br />

To extend the virtual server using HTML Administration pages<br />

1. Click Start, point to Programs, point to Administrative Tools, <strong>and</strong> then click<br />

SharePoint Central Administration.<br />

2. In the Virtual Server Configuration section, click Extend or upgrade virtual<br />

server.<br />

3. On the Virtual Server List page, click the virtual server you want to extend.<br />

4. On the Extend Virtual Server page, click Extend <strong>and</strong> map to another virtual<br />

server.<br />

5. On the Extend And Map To Database Another Virtual Server page, in the<br />

Server Mapping section, in the Host name or IIS virtual server name list,<br />

select the name of the host or virtual server that you want to use.<br />

6. In the Application Pool section, click Create a new application pool.<br />

7. Under Select a security account for this application pool, click Configurable.<br />

8. In the User name box, type the domain account to use for the application pool.<br />

You should use a dedicated account for this account rather than a user’s login<br />

account. Also, you should use the same account for each application pool that<br />

hosts the same content.<br />

9. In the Password box, type the password for the account <strong>and</strong> then confirm it.

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

Saved successfully!

Ooh no, something went wrong!