Friday, March 06, 2009

MOSS 2007 Create New Web Application/Database for later move to another MOSS Server

Here is how to create a new web application and database for a new site in MOSS 2007.  This will allow for ease of moving the site and database in the future to a separate physical MOSS server.  This came up yesterday at work.

  1. Go into Central Administration on the existing MOSS instance.  You must sign in as a farm administrator, I do not think a site collection administrator will cut it for this task.  The way to check is if you see the Create or Extend Web application Link in the step below, you are good.  It should be the top most link under Sharepoint Web Application Management on the Application Management page of Central Administration.  It will be just above Remove SharePoint from IIS Web Site.  NOTE: If you can not see this, simply type in http://servername:centraladminport/_admin/extendvs.aspx
  2. Click on Application Management, Create or extend Web Appplication.  Click create a new web application.  This will create a new IIS website and a new content database for the new site.  This aids in moving it to other physical or logical MOSS instances later on.
  3. Fill in the information accordingly for the new Web Application page.
  4. You can use an existing IIS site, but not for this exercise, instead create a new IIS site, give it a port number not already in use (MOSS will default to one for you or you can change it).
  5. Give the site a description describing its purpose - make it a good description that includes sharepoint and the port number and the sites purpose because this is what will show up in IIS for example later and it is easy to move if you have a lot of sites to manage.
  6. Specify the path for the website files - or take the default of c:\inetpub\wwwroot\wss\VirtualDirectories\...
  7. Take the default NTLM Allow Anonymous No and Use SSL No (unless it is externally facing or you have special security requirements.  NOTE: Excel Services sites work better with Kerberos not NTLM.
  8. Choose the load balanced URL for the site or take the default
  9. Application Pool - here is where you can use an exsiting one on the existing MOSS instance or create a new one, it does not matter.  When you move this to another server/MOSS instance later, it will use one on that server/MOSS instance anyway not this one.
  10. Restart IIS Manually (the default) is ok - 99 times out of 100 you will not have to even restart IIS after creating this new site anyway.  I don't knwo why MSFT puts this in here.
  11. Specify Database Server and Name - it is a good idea to name the database WSS_Content_ like you named the website above (minus the port information of course)
  12. Select your database authentication method, Windows authentication is preferred.
  13. Select which server in your MOSS environment is the Search Server for the new site.
  14. Click OK and MOSS will try to create the new IIS website and new SQL Server database for you.  If you look in those apps after it returns (with successfully created) you will see the new website and new database.  Be sure to add those to your backup strategy if it requires you to update which database and site files needs backup.
  15. If you get errors, read the error message and try to troubleshoot it, it may mean there is a security/authority error or something else.  Good luck!
  16. Now create a new site collection in Central Administration -> Application Management then you can begin creating sites on your new MOSS Web Application and start to fill up your new database and IIS Web Application with sites and subsites!

TO RESTORE ONTO NEW SERVER/MOSS INSTANCE

To move the site and database onto a new box or instance is pretty straightforward.  Often you have to do this due to performance, disk, or logical split/upper management decision reasons.

  1. On the new server, create a new web application similar to the above process.
  2. Create a new site collection using the blank site template
  3. use the stsadmin -backup command on the old server.  This makes a .dat file.
  4. use the stsadmin -restore command on the new server on the .dat file
  5. Everything should work fine.




MOSS 2007 Physical and Applicaiton Architecture Tiers

MOSS 2007 follows a 3 Tier structure

1. Web Server Tier (IIS) - can be network load balanced
2. Application Server Tier 
  • Contains Shared Service Provider (SSP) which handles:
  • Search, Index, Audience, User Profiles, My Sites, BDC, Excel Services (Last 2 are Enterprise Edition only).  Typically you woudl put My Sites on its own server, Excel Services/BDC on its own or the same server, and Audience/User Profiles on its own or the same server, and Search+Index on its own or the same server (if you had 4 servers in this tier for example).
  • NOTE: Any service can reside on any mid tier server.  Also, the index server is limited to 1 per SSP, but all the other services have no limit as to how many servers can provide/service/host them 
3. Database Tier - consist of standard SQL Server 2005 or SQL Server 2005 Cluster of servers

Thursday, March 05, 2009

Using the SCP command (Linux)

20.3.2. Using the scp Command

The scp command can be used to transfer files between machines over a secure, encrypted connection. It is similar to rcp.

The general syntax to transfer a local file to a remote system is as follows:

scp username@tohostname: 

The  specifies the source including path to the file, such as /var/log/maillog. The  specifies the destination, which can be a new filename such as /tmp/hostname-maillog. For the remote system, if you do not have a preceding /, the path will be relative to the home directory of username, typically /home/username/.

To transfer the local file shadowman to the home directory of your account on penguin.example.net, type the following at a shell prompt (replace username with your username):

 scp shadowman username@penguin.example.net:shadowman  

This will transfer the local file shadowman to /home/username/shadowman on penguin.example.net. Alternately, you can leave off the final shadowman in the scp command.

The general syntax to transfer a remote file to the local system is as follows:

scp username@tohostname: 

The  specifies the source including path, and  specifies the destination including path.

Multiple files can be specified as the source files. For example, to transfer the contents of the directory downloads/ to an existing directory called uploads/ on the remote machine penguin.example.net, type the following at a shell prompt:

 scp downloads/* username@penguin.example.net:uploads

Photoshop make buttons with text labels

Use the Text Selet tool (It has the letter A in the toolbar) then drag your move over the text or click on the text layer with the mouse point.

--j

Can you sendme the wec buttons and instructions how I can select the text on the button and modify it.

There are 4 wec buttons I think.  Then they also toggle off to different color. So 8 total.

I need to also make 8 but just with different text.  Trying to learn photoshop


MOSS 2007 (Sharepoint) Architecture

Here is a good article explaining MOSS 2007 arch as well.

http://blogs.msdn.com/martinkearn/archive/2006/06/06/MOSS-Architecture-_2600_-Shared-Services.aspx

Microsoft Certification Tips

Travis here is what I did.  To Become a MCP, just take one test(70-271).

To become a MCDST take these two tests 70-271 and 70-272   Go Here

http://www.microsoft.com/learning/mcp/mcdst/requirements.mspx

Then for a MCSA go here

http://www.microsoft.com/learning/mcp/mcsa/windows2003/default.mspx

You are supposed to take 4 exams, one of which is an elective BUT  "As an alternative to choosing an elective exam listed in the preceding table, you can choose the following certifications or certification combinations." and that certification is an MCDST.  Get it?

So if you are a MCDST FIRST then you only have to take 3 more tests Exam 70-270, Exam 70-290, Exam 70-291.  I have the test questions for these 3.

Then if you want to become an MCSE you go here:

http://www.microsoft.com/learning/mcp/mcse/windows2003/default.mspx

And there are even more tests to take...(3 more maybe) BUT if you take the path in order of MCP-MCDST-MCSA-MCSE  then you will have to take less tests because you have already taken some of them to fullfill the other certs.  Then you will have ALL 4 certs...(I only have 3)

And now I am reading that EVERYTHING changes with 2008.. The new Cert is called an Microsoft Certified IT Professional (MCITP) and you can either become an  MCITP: Server Administrator or an MCITP: Enterprise Administrator.

CRAZZZZZZZZZZZZZZZZZZZZZZYYYYYYYYYYYYY

By the way you can get the ANSWERS for the first two tests 70-271 and

70-272 by going to ebay and downloading it for $3.20 LOL http://cgi.ebay.com/MCDST-Exam-Qs-As-Package-70-271-70-292_W0QQitemZ260346792933QQcmdZViewItemQQptZUS_Nonfiction_Book?hash=item260346792933&_trksid=p3286.c0.m14&_trkparms=72%3A1205%7C66%3A2%7C65%3A12%7C39%3A1%7C240%3A1318%7C301%3A1%7C293%3A1%7C294%3A50

Taxonomy and Meteadata Resources

http://hepburndata.blogspot.com/2006/12/metadata-defined.html

The following Metadata repositories exhibit these desired traits:
1. Whitemarsh's Metabase
2. CA's AllFusion Repository for Distributed Systems
3. Data Foundation's OneData Registry
4. Oracle's Enterprise Metadata Manager

 http://en.wikipedia.org/wiki/Dublin_Core

 http://www.taxonomystrategies.com/html/archive.htm

Make an HTML apostrophe show up

In the HMR footer I added this to make the apostrophe show up in all browsers correctly:

Dell Server Build plus RAID and windows server

With NO OS (Windows Install instructions):

High level:

  • First time out of box, accept EULA and Dell service tag
  • Follow Dell steps for server with no os:

1.     Insert the Dell Systems Management Tools and Documentation DVD

2.     Press any key on the keyboard

3.     The boot menu screen displays

4.     Select Dell Systems Build and Update Utility

5.     From the Dell Systems Build and Update Utility Home page, click Server OS Installation to continue your operating system setup.

  • Make RAID 5 if possible
  • Make 20-40GB C partition for OS install
  • Make Swap Partition S twice the physical RAM or 8GB minimum
  • Make Data Partition

 Install Windows Server 2003 Standard Edition 64 bit

Run updates

Install .NET Framework 2.0

Install Apps like - Sharepoint Server Standard Edition 2007 (will prompt for additional .NET Frameworks like 3.0 and maybe 3.5) or other apps

 

Website Banner Ad standards and sizes

This group runs all the standards - here are the sizes:

http://www.iab.net/iab_products_and_industry_services/1421/1443/1452

Good Linux find command and Joomla Footer

Here is the linux command I used and the file location in joomla to edit the footer:

From the public_html folder of the domain:

find ./ -type f -exec grep -H copyright '{}' +

 

The footer file you can edit to change the Joomla 1.5 standard footer is here:

/home/aheumann/domains/theheumannmarketreview.com/public_html/language/en-GB/en-GB.mod_footer.ini

Reset Root Password from console or root single user mode

So we have disabled root ssh to our linux boxes now.  But to reset the root password we need to login as a approved ssh user (/etc/ssh/sshd_conf AllowUsers bacuff for example) then su root
Enter old root password
then passwd change to new root password

or - if you have no valid ssh users (bad but we foudn ourselves in this case today on our important shared web and mail server):
I'd first see if they can get in with the root pw first on the console, if that does not work, you would reboot, and when you get to the grub boot loader, you press e for edit, the second entry, you modify, and you put 'single' at the end of that line, then boot that up, it will drop you into root single user mode, and they can reset the password

Saturday, January 31, 2009

Some Yellowstone Pics!



Here are some pictures from out trip to Yellowstone last summer! Just now posting>!?!
Posted by Picasa

Saturday, December 13, 2008

My little brother's a basketball player looking for a college to attend

My little (not so little anymore) brother Mike's profile on berecruited..

Wednesday, January 24, 2007

My Prosper.com Lending Group

I was looking for some new ways to invest money that felt more secure than the stock market but got me more return than my Top Yielding 5.05% HSBC Online Money Market Savings account, so my brother in law Paul told me about www.prosper.com, a sort of ebay for person to person online loans. So he created a "lenders group" on prosper.com for investors such as myself to research loans and lend money using the Prosper methodology and engine.

So here is the link to my Prosper.com group (just started, only two members currently...): My New Prosper.com Lender Group: "North Plains Capital"

So if you are trustworthy and need money, and will pay back our loan but can not get one from the bank for some reason or don't want to, check us out!

Friday, January 19, 2007

OEHS High School Hoops!

Me and some guys from the neighborhood took some of our kids to the high school basketball game again tonight. I have to say, for the $4 adult and $2 kid admission fee, it is worth it on a friday night. Only takes from 7-8:30 and the night is still young.

Our suburban team is now 18-1 after tonight's win and are not yet ranked in the Chicago Top 25!!! They are no Simeon which beat Oak Hill Academy #1 team in the nation last night, but come on, they could go like 25-1.

Here is their schedule: http://www.oswego308.org/schools/oehs/cocurricular/athletics/teams/boys/basketball/

Friday, January 12, 2007

SEC BEATS BIG 10

SEC BEATS BIG 10 OHIO STATE!
www.secbeatsbig10.com

 Posted by Picasa

Nice weather for a train ride

end of the year preschool party at blackberry farm. same one we did for andrew 5 years earlier. same teacher, Mrs. Prakash! Posted by Picasa

Hunter sports the Power T

Love it... Power T! Posted by Picasa

RIP Grandma Sam

We love you Grandma Sam. may you rest in peace. Posted by Picasa