9 Replies Latest reply on Mar 27, 2017 7:07 AM by Glen Robinson

    How to lock the site

    kbj3030

      Hi All,

       

      I would like to know how can we lock the default site and site(s). I'm able to suspend or make active using tab cmds and in web browsers but unable to lock the site.

       

      Let me know if you require any additional info from my end. Thanks

        • 1. Re: How to lock the site
          Glen Robinson

          Hi Trinadha

          Can you confirm what you mean by 'lock a site', as I am a little unsure of your request

          Thanks

          Glen

          1 of 1 people found this helpful
          • 2. Re: How to lock the site
            kbj3030

            Hi Glen,

             

            Please see the below image for reference. We see that default site is locked(highlighted) and need to unlock it. Can you please suggest to fix this issue

             

             

            Let me know if you require any further info. Thanks!

            1 of 1 people found this helpful
            • 3. Re: How to lock the site
              Glen Robinson

              Hi Trinadha

              The only way I know of locking  / unlocking sites is by using the tabadmin exportsite /importsite commands.

              However, at the end of the process the site should become unlocked, and Active.

               

              Have you been attempting export / imports, and has there been a problem with them?

               

              Regards

              Glen

              1 of 1 people found this helpful
              • 4. Re: How to lock the site
                Glen Robinson

                In addition, I was messing around with site exports and imports and was able to leave a site in a locked state.

                To unlock it I used the following command

                 

                tabadmin sitestate <Site ID> --status active

                 

                Hope this helps

                Glen

                2 of 2 people found this helpful
                • 5. Re: How to lock the site
                  kbj3030

                  Hi Glen. Thanks for the response.

                   

                  I already tried that command and it is not becoming active. We are able to suspend and make it active using the above command. Let me try once again whether it unlocks or not. Thanks

                  1 of 1 people found this helpful
                  • 6. Re: How to lock the site
                    kbj3030

                    Hi Glen,


                    qq- What if, when I want to lock the site. Do I need to fire exportsite command? So running the below command will lock the site?

                     

                    tabadmin exportsite <site ID> --file <filename or path>.

                    1 of 1 people found this helpful
                    • 7. Re: How to lock the site
                      Glen Robinson

                      Hi Trinadha

                      Im not sure.

                      My understanding is that locaking / unlocking is part of import / export process.

                      Therefore, if you have a locked site, then something has gone wrong.

                      (And using the tabadmin sitestate command is there to fix it)

                       

                      Out of interest, Why are you looking to lock the site? What does this give you?

                       

                      Glen

                      1 of 1 people found this helpful
                      • 8. Re: How to lock the site
                        kbj3030

                        Hi Glen,

                         

                        Instead of trying directly in prod environment. I just want to give a try in test environment by creating a site, lock it and unlock it .So, once successful, I can implement it on prod.

                        1 of 1 people found this helpful
                        • 9. Re: How to lock the site
                          Glen Robinson

                          Hi

                          I was only able to leave my site locked at random..

                          Sometimes when importing into a site, it would end up being locked, and other times it completed the import successfully and the site was active.

                          So I think it will be hit and miss whether you are able to end up with a locked site

                          Glen

                          1 of 1 people found this helpful