Zephyr's SharePoint Blog

My Sharepoint world experience notes on day to day basis…..

Archive for September, 2008

Host Named Sitecollection or vanity URL

Posted by fillzephyr on September 10, 2008

 

Hey friends,

My client had a requirement of changing the regular URL name which is formed when you create a site collection http://vpc01:4444/sites/bluemoon123 to some good looking url name http://bluemoon123.corp.de for intranet purpose. This can be achieved by using host headed site collection or by giving vanity URL name. One more thing, this site collection should have its own content database WSS_Content_Bluemoon123 with the limit of 60 GB.

For specifying the particular QUOTA for your site collection you have to create a site quota template:

GO TO

Central Administration > Application Management > Sharepoint Site Management > Quota templates

In Template Name

Select Create a new quota template

In New Template Name give related name to your site collection quota here i had given name as bluemoon123.

In Storage Limit Values

(Tick both check boxes)

Limit storage to a maximum value of: 60000 MB

Send warning E-mail when site storage reaches: 50000 MB.

ClickOK 

And here a site collection quota bluemoon123 of 60 GB is created. 

Now GO TO

Central Administration > Application Management > Sharepoint Web Application Management > Web Application General Settings

In Web Application select http:// vpc01:4444

In Default Quota Template select bluemoon123

Click OK.

IT CAN BE DONE IN TWO WAY:

First Method:

Creating Content Database for your site collection:

GO TO

Central Administration > Application Management > Sharepoint Web Application Management > Content Databases

In Manage Content Databases

Click Add a content database

In Web Application select http:// vpc01:4444

Database Name: WSS_Content_Bluemoon123

Click OK

This will create a content database WSS_Content_Bluemoon123 for web application http:// vpc01:4444. 

Creating a site collection using the following stsadm command.

C:\>”Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN”\stsadm -o createsite -url http://bluemoon123.corp.de  -ownerlogin VPC01\abcdef -owneremail abcdef@abcd.de -sitetemplate STS#0 -title BlueMoon –hhurl http://vpc01:4444 

(For particular site template see below)

When Operation completed successfully on command window you can verify it by navigating in your central administration site through these path

Central Administration > Application Management > Sharepoint Site Management > Site collection list

Select web application http://vpc01:4444 here you will find the site collection which is created using STSADM tool. 

Now go to

Central Administration > Application Management > Sharepoint Web Application Management > Content Databases

In Manage Content Databases select Bluemoon123 and in Database Capacity settings put these values 

Number of sites before a warning event is generated: 1

Maximum number of sites that can be created in this database: 2

Click Ok  

So now any new site collection created on this web application is not specifying this content database and this database is now only related to site http://bluemoon123.corp.de.

 

Second Method:  

Creating Site collection with Content database using stsadm command 

C:\>”Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN”\stsadm -o createsiteinnewdb -url http://bluemoon123.corp.de -ownerlogin VPC01\abcdef -owneremail abcdef@abcd.de -sitetemplate STS#0 -title Bluemoon -hostheaderwebapplicationurl http://vpc01:4444 -quota Bluemoon123 -databaseserver vpc01 –databasename WSS_Content_bluemoon123. 

This will create a site collection http://bluemoon123.corp.de on content database WSS_Content_bluemoon123 with quota of 60GB. 

Now u have to follow these step 

Central Administration > Application Management > Sharepoint Web Application Management > Content Databases

In Manage Content Databases select WSS_Content_bluemoon123 and in Database Capacity settings put these values 

Number of sites before a warning event is generated: 1

Maximum number of sites that can be created in this database: 2

Click Ok 

So now any new site collection created on this web application is not specifying this content database and this database is related to site collection http://bluemoon123.corp.de.

If you do not have any access to the network side then ask your network administration team to create DNS Entry for your site collection otherwise it will show you the DNS Error. They will assign an ip address for this site collection. OR else

If you are running on your dev enviornment go to

C:\WINDOWS\system32\drivers\etc hosts.

Open hosts and write ip address and host header and save it.

 

After they assign IP address you have to configure your site collection in IIS Manager.

GO TO

Websites>web application 4444> right click   go to properties Select website tab nearby ip address there is Advanced… button click on it. 

Click Add…

In TCP Port enter 80.

In Host Header value enter bluemoon123.corp.de

Click OK. Ok. Ok.

Type the URL in browser http://bluemoon123.corp.de. Team site site collection is created. Because we had use site template as sts#0.

 

If you want to use different templates you can use this following name: 

GLOBAL#0 = Global template

STS#0 = Team Site

STS#1 = Blank Site

STS#2 = Document Workspace

MPS#0 = Basic Meeting Workspace

MPS#1 = Blank Meeting Workspace

MPS#2 = Decision Meeting Workspace

MPS#3 = Social Meeting Workspace

MPS#4 = Multipage Meeting Workspace

CENTRALADMIN#0 = Central Admin Site

WIKI#0 = Wiki Site

BLOG#0 = Blog

BDR#0 = Document Center

OFFILE#0 = Records Center

OFFILE#1 = Records Center

OSRV#0 = Shared Services Administration Site

SPS#0 = SharePoint Portal Server Site

SPSPERS#0 = SharePoint Portal Server Personal Space

SPSMSITE#0 = Personalization Site

SPSTOC#0 = Contents area Template

SPSTOPIC#0 = Topic area template

SPSNEWS#0 = News Site

CMSPUBLISHING#0 = Publishing Site

BLANKINTERNET#0 = Publishing Site

BLANKINTERNET#1 = Press Releases Site

BLANKINTERNET#2 = Publishing Site with Workflow

SPSNHOME#0 = News Site

SPSSITES#0 = Site Directory

SPSCOMMU#0 = Community area template

SPSREPORTCENTER#0 = Report Center

SPSPORTAL#0 = Collaboration Portal

SRCHCEN#0 = Search Center with Tabs

PROFILES#0 = Profiles

BLANKINTERNETCONTAINER#0 = Publishing Portal

SPSMSITEHOST#0 = My Site Host

SRCHCENTERLITE#0 = Search Center

SRCHCENTERLITE#1 = Search Center

SPSBWEB#0 = SharePoint Portal Server BucketWeb Template

 

Advertisements

Posted in SharePoint Blogs | Tagged: , , , | 1 Comment »

Uninstalling problem for Vmware 5.x

Posted by fillzephyr on September 6, 2008

I am installing Vmware in my machine and i got an error “uninstall the vmware workstation already installed”. When i hit install button.

I check in my add/remove program and i m shocked i didnt find any vmware installed in it.

Then i give one more try and  got the same error.

i gone through different blogs and it will says to download the uninstall_vmware_exe and run this exe file.But by my bad luck when i gone to the vmware KB articles this link is not working well the server goes down.

Then i go to registry using regedit in run and delete all registry related to vmware………phew it takes me an hour…………

i reboot my PC and try to install Vmware and here we go same error………………….

It takes me now 4 hours……………and still no progress………….i gone for coffee and atlast i got one article in which it  shows the solution for that

You have to go to the file where your saved Vmware exe is locate using RUN mode. Browse in run and reach where this Vmware setup is located and put \c at the end of this file

“C:\Program Files\VMware\VMware Player\vmplayer.exe\c” and click ok it will clear everything for you.

then i run the vmplayer.exe file to install using run. this will be done by removing \c in above path and hit ok.

“C:\Program Files\VMware\VMware Player\vmplayer.exe” and it runs and installed……….

Posted in SharePoint Blogs | Tagged: , | Leave a Comment »

Backup sharepoint webapplication

Posted by fillzephyr on September 6, 2008

Hi,

To do backup of sharepoint web application or farm you have to keep in mind these points

1) You have to create a folder(say abc) on the WFE/computer on which your all file systems are resides or in other word on your WFE.

2) the folder(abc) in which you take back up you have to make it share folder.

3) And at last in permissions you have to give it full permissions to this folder(abc ).

4) Now Go To  the Central Administration> Operations page> Backup and Restore > click Perform a  backup.

5) On the select componet to back up page select the webapplication , content database or the farm that u want to back up.  then click continue.

6) In the back up content section check the web application whether it is same or different. In type of  back up  select full if you are  doing for the first time. else you can do either full or differential if it is not first time. In the Back up file location give path….. \\servername\name of folder(abc)…..where server name is name of WFE or computer name(on which all filesystem resides).

7) ok and thats it. It started backing up.

if you follow these steps you can easily do backup of your webapplication or farm.

Posted in SharePoint Blogs | Tagged: | Leave a Comment »

Creating New Content DB for new sitecollection or existing one

Posted by fillzephyr on September 1, 2008

Here is the good articles related to creating a  content db for each sitecollection in well mannered.

http://blogs.msdn.com/mcsnoiwb/archive/2007/08/20/how-to-create-site-collection-in-a-specific-content-database.aspx

cheers…..

Posted in SharePoint Blogs | Tagged: | Leave a Comment »