+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 18
MIS Systems Thread, SIMS Reindex Patch in Technical; I've just read that the SIMS .net re-index database patch "cannot" be applied using the 'SA' account, but instead should ...
  1. #1

    Rawns's Avatar
    Join Date
    Jun 2009
    Location
    Taunton, Somerset
    Posts
    2,448
    Thank Post
    892
    Thanked 257 Times in 196 Posts
    Rep Power
    286

    Question SIMS Reindex Patch

    I've just read that the SIMS .net re-index database patch "cannot" be applied using the 'SA' account, but instead should be applied using the 'sysman' account instead! Is this correct? If so, why should it not be ran with the 'SA' account?

  2. IDG Tech News
  3. #2

    Join Date
    Mar 2008
    Posts
    91
    Thank Post
    17
    Thanked 19 Times in 16 Posts
    Rep Power
    14
    I'd imagine it is due to the sa account being the sql database admin account and not a sims.net admin thus will not have the correct permisssions. All upgrades etc are run using a sims.net account that has system manager rights. You only use the sa account for attaching and detaching the database itself.

  4. #3
    Ghostgame's Avatar
    Join Date
    Jun 2012
    Location
    Ipswich
    Posts
    117
    Thank Post
    10
    Thanked 11 Times in 10 Posts
    Rep Power
    3
    Quote Originally Posted by glen_j View Post
    I'd imagine it is due to the sa account being the sql database admin account and not a sims.net admin thus will not have the correct permisssions. All upgrades etc are run using a sims.net account that has system manager rights. You only use the sa account for attaching and detaching the database itself.
    I don't really get that cos as far as im aware the patch applies changes to the SQL database.

  5. #4

    Join Date
    Mar 2008
    Posts
    91
    Thank Post
    17
    Thanked 19 Times in 16 Posts
    Rep Power
    14
    it does but you are using a sims application to run the patch so you need to log in as a sims user

  6. #5
    GazN's Avatar
    Join Date
    Oct 2011
    Location
    St Aspah
    Posts
    14
    Thank Post
    0
    Thanked 3 Times in 3 Posts
    Rep Power
    4
    I've run this patch several times through DBUpgrade and have always logged using my sa account and it has worked.

  7. #6
    Sdrawkcab's Avatar
    Join Date
    Jan 2011
    Location
    uk
    Posts
    67
    Thank Post
    0
    Thanked 41 Times in 11 Posts
    Rep Power
    19
    Did this advice come from the capita knowledgebase? Like everyone says, in my experience there is no problem with applying the reindex patch using the SA password. I can't even see why it would - the SA account is completely unrestricted so what permissions could it possibly be missing?

  8. #7

    Rawns's Avatar
    Join Date
    Jun 2009
    Location
    Taunton, Somerset
    Posts
    2,448
    Thank Post
    892
    Thanked 257 Times in 196 Posts
    Rep Power
    286
    Quote Originally Posted by Sdrawkcab View Post
    Did this advice come from the capita knowledgebase? Like everyone says, in my experience there is no problem with applying the reindex patch using the SA password. I can't even see why it would - the SA account is completely unrestricted so what permissions could it possibly be missing?
    It's in Capitas SIMS Technical Essentials training document that's available on SupportNet!

  9. #8
    GazN's Avatar
    Join Date
    Oct 2011
    Location
    St Aspah
    Posts
    14
    Thank Post
    0
    Thanked 3 Times in 3 Posts
    Rep Power
    4
    I've just looked at the Technical Essentials handbook and page 48 says to run DBUpgrade using SA account or someone who has System Manager ACCESS RIGHTS. It doesn't say to run it as sysman.

  10. #9

    CESIL's Avatar
    Join Date
    Nov 2006
    Location
    Hampshire
    Posts
    1,239
    Thank Post
    86
    Thanked 225 Times in 174 Posts
    Rep Power
    132
    OK, so I am officially losing the plot...I was scanning the list of posts and swore I read SIMS Reindeer patch...I need a lie down in a dark room...

  11. #10

    Join Date
    Jan 2007
    Posts
    75
    Thank Post
    0
    Thanked 27 Times in 16 Posts
    Rep Power
    17
    Permissions for patches can depend on what the patch changes

    KB92874 - How to run a patch through DBupgrade states

    Important Note: If advised to run the patch as the SA user please specify SA as the SIMS Username and enter your SA password

    KB72431 - SIMS Connection failed for login USERNAME reason 3. When logging into SIMS .net states

    If it does still appear, please call the Service Desk for a copy of the Reindex patch 14265.
    This patch must be applied as the Sysman username and password

  12. #11
    TheScarfedOne's Avatar
    Join Date
    Apr 2007
    Location
    Plymouth, Devon
    Posts
    1,058
    Blog Entries
    78
    Thank Post
    431
    Thanked 119 Times in 107 Posts
    Rep Power
    66
    Hmmm intriguing. I'd never heard that one before either, always run with sa here too without issue

  13. #12

    Rawns's Avatar
    Join Date
    Jun 2009
    Location
    Taunton, Somerset
    Posts
    2,448
    Thank Post
    892
    Thanked 257 Times in 196 Posts
    Rep Power
    286
    Just to re-ignite this, had a solution for an issue sent to me from Capita with this as a suggested solution:

    2) Apply the patch 14265 (the re-index patch)
    This patch will re-index all the tables in the SIMS database. This sometimes has a significant effect on the performance of database queries and can help improve the performance of the Discover data transfer. The patch cannot be run as SA user, please run this patch using the 'sysman' SIMS account.

  14. #13
    matt40k's Avatar
    Join Date
    Jun 2008
    Location
    Ipswich
    Posts
    3,602
    Thank Post
    308
    Thanked 455 Times in 383 Posts
    Rep Power
    106
    Weird, wouldn't have thought the sysman user had enough access - it changes the recovery model to simple, truncates the log file then sets it back to whatever it was before it started. "SA" or such would have access to do that and reindex tables. I'd be a bit worried actually if sysman could change the recovery model, from a technical point of view - I wouldn't want a user changing something like that - I mean if the data manager had access to change the recovery model to FULL and I thought it was SIMPLE, the log file is going to get very big and cause problems (cause I wouldn't be truncating the log file on doing a backup). Wonder what things it does that needs a SIMS connection - I know the lazy force you to use a Windows user or SIMS SQL user (note not SQL user) to import reports or filesets.

    Personally I think someone at Capita is reading from an old KB rather than using a bit of common sense and investigating what it does and why – cause it shouldn’t matter what the user is to “reindex”
    Last edited by vikpaw; 24th February 2013 at 06:28 AM. Reason: language!

  15. Thanks to matt40k from:

    Rawns (22nd February 2013)

  16. #14

    jinnantonnixx's Avatar
    Join Date
    Mar 2011
    Location
    In the Calamatorium.
    Posts
    1,510
    Blog Entries
    2
    Thank Post
    65
    Thanked 382 Times in 261 Posts
    Rep Power
    236
    The SIMS software uses application roles within SQL (or it did when I last looked - I've drifted out of SQL these days.)

    In a nutshell, the SIMS application connects to the SQL system whilst logged in as the user. The SIMS application then switches to various application roles as necessary, to do different tasks that require different privileges, providing a password known only to the application. If this is successful, the application's connection loses the user's permissions and executes with the privileges of that application role. So, it's all down to the intent of the software and application roles. Using application roles, it's possible for any user to do (virtually) anything, if the software permits.

    To the original question - it all depends if the utility is connecting at a server level (using usernames and passwords found in SQL's Security>Users) or application level users (maintained internally by SIMS)

    I've been away from SIMS for a while, but I think the tool required a server login, (rather than an internal application username) so I would suggest the you would use 'sa'.
    Last edited by jinnantonnixx; 22nd February 2013 at 09:35 AM.

  17. #15

    jinnantonnixx's Avatar
    Join Date
    Mar 2011
    Location
    In the Calamatorium.
    Posts
    1,510
    Blog Entries
    2
    Thank Post
    65
    Thanked 382 Times in 261 Posts
    Rep Power
    236
    Suggestion: If it doesn't work as SYSMAN, try it as sa.

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. [SIMS] Sims.Net Exam results patch
    By RichB in forum MIS Systems
    Replies: 1
    Last Post: 16th August 2011, 10:22 AM
  2. Replies: 5
    Last Post: 31st May 2010, 08:26 AM
  3. sims.net patch
    By Avalon in forum MIS Systems
    Replies: 1
    Last Post: 30th November 2009, 10:13 AM
  4. Patching SIMS against conficker
    By m1ddy in forum Windows
    Replies: 17
    Last Post: 26th March 2009, 09:13 AM
  5. Replies: 0
    Last Post: 13th May 2008, 06:46 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •