Tuesday, December 30, 2014

meaning of status value returned by SharePoint power shell command

 meaning of status value returned by SharePoint power shell command



1.      Get-SPServiceApplication
2.      Get-SPServiceApplicationProxy
3.      Get-SPServiceInstance
4.      Get-SPSolution
5.      Get-SPDatabase
6.      Get-SPWebApplication
7.      Get-SPServer 

All above command results Status code as Online  - what it means exactly




Online
Specifies that the service is provisioned and running as expected. New sites can be created in content databases up to their maximum site collection limits. This value corresponds to the Ready value that can be selected through the Database status box on the Manage Content Database Settings page in SharePoint Central Administration.

Disabled
Specifies that the components that are necessary to run the service are installed on the computer, but an administrator needs to provision the service and put it online. New sites cannot be created in content databases, even though the databases have not reached their maximum site collection limits. This value corresponds to the Offline value that can be selected through the Database status box on the Manage Content Database Settings page in SharePoint Central Administration.

Offline
Specifies that the component is offline for some unknown reason. New sites cannot be created in content databases, but old sites can be accessed. 

Unprovisioning     
Specifies that the administrator has issued the command to unprovision the service and leave it in a disabled state, but the unprovisioning job has not completed yet.

Provisioning
Specifies that the administrator has issued the command to provision the service and put it online, but the provisioning job has not completed yet.

Upgrading
Specifies that the administrator has issued the command to upgrade the service and put it online, but the upgrade job has not completed yet.
 

I hope the above information will help you to resolve the issue, in case of any queries/questions regarding the above mentioned information then please let me know. I would be more than happy to help you as well as resolves your issues, Thank you.

Some farm products and patches were not detected on this or other server, if products are patches missing locally



Some farm products and patches were not detected on this or other server, if products are patches missing locally                 
                                           
                                 

Issue: After patching a SharePoint 2013 Farm  with SP1, Attempted running SharePoint Products configuration wizard and receive this error message:

"Error: Some farm products and patches were not detected on this or other servers.  If products or patches are missing locally, you must quit this program and install the required products and patches on this server before restarting this wizard. If products or patches are missing on other servers, you must install the required products and patches on the specific servers, and you may then click the Refresh button to perform the status check again."

Cause: To enforce consistency, SharePoint 2013 checks installed product version automatically on running Products configuration wizard. If any server is missing a specific patch, You get this error message and SharePoint would not let the SharePoint Configuration Wizard to proceed.

Solution: This could be of many reasons, In this article I am providing all the solutions which can be applied to resolve the issue.

Solution 1:Ensure the CU is installed properly to the server, If not try re-installing the CU.

Solution 2:Ensure to run the below command to force the registry for the updates.
1.    From SharePoint Shell, run the 2 commands below on each SharePoint server.
2.    Get-SpProduct – -Local 

3.    (Get-SpServer $env:ComputerName).NeedsUpgrade 
4.    Confirm “True” is returned

Continue with running the SharePoint Products Configuration Wizard

Solution 3:Ensure to follow the below steps.

1.    Central Admin-> select Monitoring from the left-hand navigation and click the Review Job Definitions link under Timer Jobs
2.    On the Job Definitions page, scroll down and locate the “Product Version Job”
3.    Click on the Product Version Job link to open the job definition. Click on Run Now at the bottom of the page
4.    Now run the SharePoint 2013 Products Configuration Wizard again

Solution 4: If for very sure, have installed patches in all servers with similar installers, you can bypass the check by below command:

psconfig.exe -cmd installcheck -noinstallcheck


Solution 5: Ensure the LP'S,Service packs for LP and CU's are installed same in server as compare with other servers.
 


I hope the above information will help you to resolve the issue, in case of any queries/questions regarding the above mentioned information then please let me know. I would be more than happy to help you as well as resolves your issues, Thank you.

ShareThis

X