PSConfig | configuration data and configuration files | Configuration Management library

 by   platta PowerShell Version: Current License: MIT

kandi X-RAY | PSConfig Summary

kandi X-RAY | PSConfig Summary

PSConfig is a PowerShell library typically used in Devops, Configuration Management, Symfony applications. PSConfig has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

PSConfig is a module to simplify the use of configuration data and configuration files. It supports providing multiple sources of configuration data (in key value pairs) and will check these sources in order when asked to retrieve the value for a particular key.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              PSConfig has a low active ecosystem.
              It has 5 star(s) with 2 fork(s). There are 2 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 0 open issues and 1 have been closed. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of PSConfig is current.

            kandi-Quality Quality

              PSConfig has no bugs reported.

            kandi-Security Security

              PSConfig has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              PSConfig is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              PSConfig releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of PSConfig
            Get all kandi verified functions for this library.

            PSConfig Key Features

            No Key Features are available at this moment for PSConfig.

            PSConfig Examples and Code Snippets

            No Code Snippets are available at this moment for PSConfig.

            Community Discussions

            QUESTION

            Adding Application Server into SharePoint farm
            Asked 2018-Apr-03 at 09:56

            My question is about adding an application server into a SharePoint 2013 farm which was, initially, a 2 servers environment dedicated for development. It had one server working as WFE / App server and one server dedicated for SQL Server (using an instance).

            The WFE / app server began to struggle with all the services running and all the application pools required for all the services to running. Unfortunately, as it's a DEV and QAS environment, we had to create separate web applications and application pools to be able to develop the custom solutions, resulting to 14 applications pools that have to run all the time (very bad for the performance).

            As stated, we decided to add an application server so we could move all the services to the second server (Search, Excel Calculation, Business Connectivity, Central Admin, ...). The installation of SharePoint 2013 SP1 was ok after some struggle on the Language Packs. To add the new server in the farm, we followed the steps in PowerShell located here Add web or application servers into farm in SharePoint 2013 but the service "Microsoft SharePoint Foundation Web Application" was started automatically (which is not the intention, we don't want that server to be a web front end, it is also causing issues with some third-party licences). We moved all the services to the new server and the performances globally increased. However, we saw that issues started to appear everywhere, Search became corrupted, a health rule was asking all the time for a psconfig to run (which was failing all the time), nearly impossible to start / stop services on the new server (was taking forever - and was mandatory to kill the service using powershell).

            Because of all these issues and lack of solutions, we decided to move back all the services to the WFE server, remove the app server from the farm then put it back in the farm step by step. After following the same steps as the first time, we can see that the psconfig is failing directly now, saying there is an error but doesn't show any error in the upgrade log. I guess something went wrong again or was not cleaned at the removal of the server from the farm.

            The question I have is what can we do so :

            • We can add an application server in the farm without letting SharePoint to start the Web Application service directly
            • We can clean the new server from the feature it copied from the previous trial (before the removal from the farm)

            Thank you in advance for your help, if needed, I can provide more information depending on the questions.

            Best Regards, Kevin

            ...

            ANSWER

            Answered 2018-Apr-03 at 09:56

            It's a good choice to split your farm into multiple server roles to have a better performance and failover improvements. However we must take care about the following situations :)

            About the search problem - it's required to change the search topology (index partitions, query, content and crawling components, ..) before you stop the services on current server. Probably you had a corrupted index and topology afected during the services on servers switch. In such situations like that I recommend the following steps:

            • Add the new server(s);
            • Start all the required service instances for search;
            • Change the search topology using Powershell (using clone property on cmdlet) and move all required services to the new server(s);
            • After validating the changes on new topology, stop the search service instance(s) on wfe server(s);

            Take a look at those links:

            https://docs.microsoft.com/en-us/sharepoint/search/manage-the-search-topology https://docs.microsoft.com/en-us/sharepoint/search/manage-search-components

            If I'm not wrong the 'Microsoft SharePoint Foundation Web Application' is started by default, but you may stop it without any problem (please make sure you don't have a load balance rule that's forwading web requests for this node). It must not cause any problem into your environment.

            As you said you had a rule asking 'psconfig to run' and it's already ran when you started 'SharePoint Products Configuration Wizard' to joing the new app server, BUT if there's a cumulative update or product installation pending that required psconfig to run earlier, that may be a problem, for example - Reporting Services, Project Server, or any other update that may require this to run.

            Probably you had a pending a PSConfig to run on new or old server by any reason, so it may mislead this setup. The only way to know what's going on is checking on upgrade log file and fix all required stuff and finally.. run the PSConfig ;)

            Answer your last answer - We can clean the new server from the feature it copied from the previous trial (before the removal from the farm)?

            It's not a good choice to copy or clone SharePoint servers, because you have a bunch of references locally and on SharePoint Databases (hi SharePoint_Config!).

            At this point I recommend you to make sure both of servers are at the same build, considering Operating System, .NetFramework, KBs and SharePoint Service Pack and related build.

            After all I suggest you to garantee that your new application server is not joined at the farm anymore (you can do it on manage servers on CA), to make sure you don't have old references, and them running Config Wizard at the first one web front end, to ensure you don't have pending changes to be applied at the farm level, and for last step, join the brand new app server to the farm with all same configuration. You may use powershell or wizard, no problems ;)

            Good luck!

            Source https://stackoverflow.com/questions/49607381

            QUESTION

            Not able to send psadmin output to logs
            Asked 2017-Feb-03 at 09:09

            I'm making a script to restart an instance and it works without any log file but it gives the following error when I try to log the output of psadmin:

            ...

            ANSWER

            Answered 2017-Feb-01 at 14:00

            I'm interested in any feedback to this question as well. I tried writing a cross platform java program to bounce multiple app and web servers and it seems that the psadmin.jar program exclusively holds onto stdout during the psadmin program.

            I want to evaluate the output of psadmin/psadmin.jar to see if there are trappable errors that require killing of the process at the os level.

            Hopefully there is a way to share stdout, but I have not found a way yet...

            Source https://stackoverflow.com/questions/41975267

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install PSConfig

            Copy the module into a folder in your PowerShell Module Path. You can check $env:PSModulePath in a PowerShell session if unsure what paths are included, but starting in PowerShell v4.0 the standard is C:\Program Files\WindowsPowerShell\Modules. Don't put the code directly into the Modules folder, it must be in a subfolder named PSConfig.

            Support

            PSConfig supports loading configuration data from the following sources:.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/platta/PSConfig.git

          • CLI

            gh repo clone platta/PSConfig

          • sshUrl

            git@github.com:platta/PSConfig.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular Configuration Management Libraries

            dotfiles

            by mathiasbynens

            consul

            by hashicorp

            viper

            by spf13

            eureka

            by Netflix

            confd

            by kelseyhightower

            Try Top Libraries by platta

            PSMultiLog

            by plattaPowerShell

            baby-connect-alexa-skill

            by plattaJavaScript

            xADObject

            by plattaPowerShell

            picstream

            by plattaJavaScript

            PSLogging

            by plattaPowerShell