Custom DB password in WCS 7.0.220.0

Hi there,
we are desperately trying to set a custom password of our WCS database in order to use it for direct SQL queries (Cumbersome over Web surface).
To my knowledge there is a way to reset it however this password would be randomly generated and not available in plain text.
Until version 6 there was a feature to directly set a password via the dbadmin command.
Anyone know a way? Thanks!
Regards,
Patrick

Hi all,
I hope not too many have followed my approach yet as it comprises a problem. That is leaving the dbopts.db
file (that contains the encrypted password for the 'dba' user) in the directory /WCS7.0.230.0/webnms/db/eval_kit/standalone unmodified which will no longer allow to start the database server if the WCS service is re-started due to invalid credentials or mismatch between database user record and the password in dbopts.db file.
You would find similar messages as shown below in the logfile solmsg.out
[root@WCS standalone]$ more solmsg.out
23.07 14:36:52 User 'DBA' was disconnected abnormally, user id 39, machine id WCS.
23.07 14:36:52 User 'DBA' was disconnected abnormally, user id 53, machine id WCS.
23.07 14:36:52 Memory allocation size has fallen below 1483MB. Current size: 1483647331 bytes. Number of allocations: 12465.
23.07 14:36:56 User 'DBA' tried to connect from WCS with an illegal username or password.
23.07 14:38:04 User 'DBA' tried to connect from WCS with an illegal username or password.
23.07 14:46:17 User 'DBA' tried to connect from WCS with an illegal username or password.
23.07 14:49:52 User 'DBA' tried to connect from WCS with an illegal username or password.
23.07 15:03:56 Server shut down by either ALT+F4 or kill command
Mon Jul 23 15:09:36 2012
Version: 04.50.0184
Operating system: Linux 2.6.18 ix86 MT
Solid BoostEngine - v.04.50.0184 (Linux 2.6.18 ix86 MT)
(C) Copyright Solid Information Technology Ltd 1993-2010
Using license file /data/WCS/WCS7.0.220.0/webnms/db/eval_kit/standalone/solid.lic
License for Solid BoostEngine 4.x, Standard Edition
Development license
Serial number: 416000266
     4 processors
     100 concurrent connections
     25 threads
     SmartFlow option
     HotStandBy option
     1 master databases
     5 replica databases
     Accelerator option
     Diskless replica option
Licensed to:
     Cisco Systems
     WCS WNBU
Current working directory changed to /data/WCS/WCS7.0.220.0/webnms/db/eval_kit/standalone
Using configuration file /data/WCS/WCS7.0.220.0/webnms/db/eval_kit/standalone/solid.ini
Starting roll-forward recovery, please wait ...
Recovery of 2242 transactions successfully completed
23.07 15:09:57 Listening of 'TCP/IP localhost 1315' started.
23.07 15:09:58 Solid BoostEngine started at Mon Jul 23 15:09:58 2012
23.07 15:09:58 Database started.
23.07 15:09:58 Memory allocation size has exceeded 1102MB. Current size: 1102911836 bytes. Number of allocations: 738.
23.07 15:09:58 User 'DBA' tried to connect from WCS with an illegal username or password.
23.07 15:14:58 User 'DBA' tried to connect from WCS with an illegal username or password.
23.07 15:19:58 User 'DBA' tried to connect from WCS with an illegal username or password.
23.07 15:24:58 User 'DBA' tried to connect from WCS with an illegal username or password.
23.07 15:29:58 User 'DBA' tried to connect from WCS with an illegal username or password.
23.07 15:34:58 User 'DBA' tried to connect from WCS with an illegal username or password.
In order to avoid that problem please follow the steps below:
Please note, that the first two steps are only necessary if you did already change the 'dba' user password with the SQL statement ''ALTER USER dba IDENTIFIED BY ") and only replacing the dbopts.db file does not resolve the issue of mismatching credentials.
1)
Uninstall the WCS 7.0.220.0 installation
2)
Conduct a fresh installation of WCS 7.0.220.0 (or successor version 7.0.230.0).
Restore from an existing database backup (http://www.cisco.com/en/US/docs/wireless/wcs/7.0/configuration/guide/7_0main.html#wp1077207).
3)
Stop the WCS 7.0.220.0 (or 7.0.230.0) service
Update (2012/07/25, 08:18 UTC):
If the database server cannot be stopped by using the /opt/WCS7.0.30.0/StopWCS script, navigate to the /WCS7.0.230.0/webnms/db/bin directory and connect to the database server with the command "./solcon 'tcp localhost 1315' dba ". Issue the command "shutdown" in order to stop the database service. You will be automatically disconnected from the database server. Stopping the WCS service by using the /opt/WCS7.0.30.0/StopWCS script will now work and you can proceed with the next step.
4)
Conduct a fresh installation of WCS 6.0.202.0.
Start the WCS 6.0.202.0 service.
Run the dbadmin.sh utility and change the database password for the user 'dba' (./dbadmin.sh password ).
This will update both the corresponding user record in the database itself as well as the dbopts.db file.
5)
Stop the WCS 6.0.202.0 service.
Start the WCS 7.0.220.0 (or 7.0.230.0) service.
6)
Run the SQL statement as described in my previous post.
7)
Make a backup of the dbopts.db file of the v7 installation and replace it with the one of the v6 installation.
[root@WCSstandalone]# pwd
/data/WCS/WCS7.0.230.0/webnms/db/eval_kit/standalone
[root@WCS standalone]# cp dbopts.db dbopts.db.backup-v7
[root@WCS standalone]# rm -rf dbopts.db
[root@WCS standalone]# cp /data/WCS/WCS6.0.202.0/webnms/db/eval_kit/standalone/dbopts.db .
8)
Restart (Stop and start) the WCS 7.0.220.0 (or 7.0.230.0) service.
By doing so, the WCS will continue working without any problems and direct database access is possible.
[root@WCS bin]# /opt/WCS7.0.230.0/WCSStatus
Health Monitor is running.
WCS is running.
Database server is running
Apache server is running
[root@WCS bin]# ./solsql -e "select * from SYS_USERS" 'tcp localhost 1315' dba
Solid SQL Editor (teletype) v.04.50.0188
(C) Copyright Solid Information Technology Ltd 1993-2010
Connected to 'tcp localhost 1315'.
       ID NAME               TYPE                    PRIV PASSW           PRIORITY   PRIVATE LOGIN_CATALOG    
        1 DBA                USER                       1       NULL         0 WEBNMSDB         
1 rows fetched.
SOLID SQL Editor exiting.
Please apologize my delayed update to this post!
HTH
Stephan

Similar Messages

  • ACS 5.3 userbased/custom enable passwords

    Hello,
    I've installed Cisco ACS 5.3. After I created several internal users (defined password and enabled password), Identiy Groups, Access Polices, Network Devices and AAA Clients (e.g. Cisco 1841) for Radius and configured my Router like this:
    aaa authentication login VTY group radius local-case
    aaa authentication enable default group radius enable
    Now I'm able to login successful using my internal User. But if I try to use enable to enter the enable level I'll receive the message "% Error in authentication." when I use the defined enable password.
    In the ACS logging I'll can see that "$enab15$" is missing.
    If I setup a user name "$enab15" I can login to enable level, but what have I to do, to use the custom enable passwords?
    Kind regards
    Kai
    === Correct answer ===
    Hello,
    please see the attachment.
    Step 1.2 - 1.5 is requiered for both (Radius and Tacacs). Then you have to  switch to 2.1-2.7 for Radius or 3.1 - 3.7 for Tacacs authentication.
    The document shows you all steps you have to take. The box on the right  side shows to you in the headline "Requiered for".This should help you the find  out why this is configured and where you will need in future steps. or "Provided  by" should tell you where you have configured it.
    But I'm sure, you will make it.
    I've testet it with the following hardware:
    Cisco Router:
    600 ,800 ,1800 ,1900 ,2600 ,2800 ,2900, 3900, 4000, 7200 ,7300 Series
    Cisco Switches:
    2900, 2950, 2960, 3550, 3560, 3750, 4500, 6500, Nexus 5500 Series
    Cisco Unified Communicaton:
    Call Manager Express, UC560
    Hewlett-Packard Switches:
    1700, 1800, 2500, 2600, 3500, 5400, 8100 (out of sale) Series
    Yes, working in a datacenter is fine for testing

    Hi Kai,
    can you share the configurations for TACACS? 
    Thanks

  • Custom LoginPlugin/Password Auth

    Hi, I have a requirment to develope a custom auth scheme, which will notifiy me if the password got expired/locked or the user gets disabled. Can any one have done some work around custom plugin Password by which I can get those notification. Else plese let me know how should I proceed for the same.
    Thanks&Regards
    Debi

    14:41:30 EF0F LDAP Error: 49 (weaverl)
    14:41:30 EF0F LDAP Error: Invalid credentials (weaverl)
    14:41:30 EF0F Error: Invalid password [D019] User:weaverl (weaverl)
    Originally Posted by buckesfeld
    Matt,
    there's no cache. Check the POA log to see what happens upon the login attempt.
    Uwe
    Novell Knowledge Partner (NKP)
    Please don't send me support related e-mail unless I ask you to do so.

  • Standard Error Messages in Custom Change Password Screen

    Hi All,
    I've developed a custom change password screen in Web Dynpro. I want to use the standard messages that appear in the portal logon screen. I looked in the portal logon par and got the umelogonbase.jar and found in my eclipse dir the com.sap.security.core.jar wich this last one depends. I put then in an externallib and wrapped them in a JEE lib. Declared dependency from my WD DC to the JEE lib and added the library reference in the WD DC.
    I have the following code:
    try {
         IUserAccount userAcc = UMFactory.getUserAccountFactory().getUserAccountByLogonId(wdContext.currentInfoElement().getLogon());
         userAcc.setPassword(wdContext.currentInfoElement().getOldPassword(), wdContext.currentInfoElement().getNewPassword());
    } catch (UMException e) {
         e.printStackTrace();
         error = true;
         LogonMessageBean bean = new LogonMessageBean(WDClientUser.getLoggedInClientUser().getLocale());
         String msg = bean.print(new Message(e.getMessage()));
         wdComponentAPI.getMessageManager().reportWarning(msg);
    But when I try to execute my app I get the following exception:
       java.lang.VerifyError: (class: com/cafedecolombia/ols/um/ChangePassword, method: test signature: ()V) Incompatible object argument for function call
        at com.cafedecolombia.ols.um.wdp.InternalChangePassword.(InternalChangePassword.java:109)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
        ... 28 more
    Does anyone has successfully done this? Is there any other dependencies? Is there an EASIER way to do this? Is there any initialization needed?
    Any help will be highly appreciated.
    Regards,
    Andrés Acero

    Ok so here is how I solved it.
    I found this very interesting article called "SAP Authentication Guideline" and there the author mentions that the messages are defined in class SecuritPolicy of the core security jar. So with that in mind this is how my code finally worked out:
    try {
         IUserAccount userAcc = UMFactory.getUserAccountFactory().getUserAccountByLogonId(wdContext.currentInfoElement().getLogon());
         IUserAccount mutableUserAcc = UMFactory.getUserAccountFactory().getMutableUserAccount(userAcc.getUniqueID());
         mutableUserAcc.setPassword(wdContext.currentInfoElement().getOldPassword(), wdContext.currentInfoElement().getNewPassword());
         mutableUserAcc.commit();
    } catch (UMException e) {
         e.printStackTrace();
         error = true;
         ISecurityPolicy policy = SecurityPolicyFactory.getInstance().getSecurityPolicy();
         wdComponentAPI.getMessageManager().reportWarning(policy.getLocalizedMessage(WDClientUser.getLoggedInClientUser().getLocale(), e));
    Here is a link to the article on SDN:
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/599ab890-0201-0010-12a1-b988e3a09735
    If you have any comments please do.
    Cheers,

  • Is 5508 controller version 7.1.91.0 compatible with wcs 7.0.220/230?

    just need a straight answer, best if someone has had a similar configuration working, sorry pals I really need to be shure

    then look at this...
    http://www.cisco.com/en/US/docs/wireless/controller/5500/tech_notes/Wireless_Software_Compatibility_Matrix.html
    table 1
    Table 1     Wireless Software Compatibility Matrix
    IOS Release
    WLC
    NCS
    WCS
    Navigator
    2710 Location Appliance
    MSE
    12.4(25e)JA
    7.2.103.0
    1.1.0.58
    7.2.103.0
    12.4(23c)JA5
    7.0.235.0
    7.0.230.0
    1.6.230.0
    7.0.230.0
    12.4(23c)JA4
    7.0.230.0
    7.0.230.0
    1.6.230.0
    7.0.230.0
    12.4(23c)JY
    7.1.91.0
    7.0.220.0
    1.6.220.0
    7.0.220.0
    this is the reason I asked if someone had tried it...
    and...

  • Set custom generated password during create user and email to user

    Hi,
    In OIM 11g r2, I want to  generate password using some logic and send a notification to the user with the generated password during user creation.
    Please let me know how to achive that..
    can I use some post process event handler?? if yes then how to set the custom password to the user.

    Refer:
    How To Use The OIM 11g Password Generator Feature To Generate Random Password For A User (Doc ID 1273464.1)

  • Can not change root password for WCS

    Need to change the root password for the web gui.
    WCS is running on linux, i have tried to do the passwd user-root but it cames back saying it can not find the username.

    Alex
    You could use the recovering password procedure for wcs as a workaround (chapter 14 of the following link http://www.cisco.com/en/US/docs/wireless/wcs/7.0/configuration/guide/WCS70cg.html )
    Recovering the WCS Password
    You can change the WCS application root user or FTP user password. This option provides a safeguard if you lose the root password. An executable was added to the installer /bin directory (passwd.bat for Windows and passwd.sh for Linux). Follow these steps to recover the passwords and regain access to WCS. For password recovery on a wireless location device, refer to chapters 8 or 9 of the Cisco 2700 Series Location Appliance Configuration Guide.
    Note If you are a Linux user, you must be the root user to run the command.
    Step 1 Change to the WCS bin folder.
    Step 2 Perform one of the following:
    Enter passwd root-user newpassword to change the WCS root password. The newpassword is the root login password you choose.
    or
    Enter passwd location-ftp-user newuser newpassword to change the FTP user and password. The newuser and newpassword are the FTP user and password you choose.
    Step 3 The following options are available with these commands:
    •-q — to quiet the output
    •-pause — to pause before exiting
    •-gui — to switch to the graphical user interface
    •-force — to skip prompting for configuration
    Step 4 Start WCS.

  • Resetting WLC password through WCS

    Hi,
    Can someone please provide me with the steps to follow to reset the WLC credentials using WCS.
    Best Regards,

    Is there a reason you want to change the password from the WCS and not from the WLC? If you are locked out, here is a good link from George's blog
    http://www.my80211.com/home/2009/12/27/recover-your-wlc-password.html
    I tend to add another management user from the WLC or WCS and then you delete the old username and create it again with the new password.
    Sent from Cisco Technical Support iPhone App

  • Complete List of Error Codes for Customized Change Password Page

    Hi,
    does anyone has a complete list of "Change Password Page Error Codes"?
    The list provided in the document:
    Oracle® Application Server Single Sign-On Administrator's Guide
    10g (9.0.4)
    Part Number B10851-01
    seems to be incomplete. (See: http://download-uk.oracle.com/docs/cd/B10464_01/manage.904/b10851/custom.htm#1009955 )
    I found at least three additional / different error codes:
    auth_fail_err
    pwd_minlength_err
    pwd_numeric_err
    I'm using a JSP Page.
    Thanks for help

    Hi,
    I found the list in the OID Admin Documentation. The list contains the error messages the OID sends to the client. In case of SSO, the client for the OID is the SSO server. So now I know which errors are transmitted to the server, I have to find out what the server sends to the SSO Page for Password change. Probably I should test all cases documented in the OID Admin doc to find the appropriate values for SSO Server.
    Thanks for the tip

  • Custom mass password generate  program

    Hi,
    I'm requried to develop a mass password  generate program to be sent to the user via mail, i'm using RSEC_GENERATE_PASSWORD function module to to generate the random password, but how do  i update the user password that puzzles me, is there any process/ class/method/ FM/ BADI etc that will update/ create a user, has anyone done this before, appreciate any adivse/ pointers

    Hi Lawrence,
    You can do this in 2 ways viz:-
    1. Use BAPI_USER_CREATE1 to create new users in system and assign initial password to the users just created by BAPI_USER_CHANGE. After this you can use function module SUSR_USER_BUFFER_AFTER_CHANGE to refresh the buffer.
    2. Do a BDC of SU01 transaction with proper check of authority object.
    I would recommend option 1. Please check and let me know if you face any problems.
    Reward points if this helps.
    BR,
    Atanu
    Moderator Message: Asking for points violates the Forum Rules Of Engagement
    Edited by: Suhas Saha on Jul 26, 2011 10:48 PM

  • How can you create a customized page to change user password?

    Hello to all,
    I would like to create a customized page for a user to change their password. We are using Portal version 3.0.9 on Windows NT/2000. Currently there is a page in portal where a user can change their password.
    I tried linking to that page by copying the shortcut url and adding it as an html portlet. The problem is that we want to direct the users to a
    page of our choosing when they click on the "cancel" and "ok" buttons. I read in the forums that there is a selfreg.cmd script.
    I also read that there is some code that has been available.
    Has anyone implemented a customized user password change page? Do you know of any links that might have steps to follow or
    more informatioin?
    Thanks in advance,
    Lindsay

    Hi,
    I was able to customize the change password screen through a procedure. This is what I did:
    * Created a procedure under the Portal30_sso schema:
    CREATE OR REPLACE procedure reports_chage_password
    site2pstoretoken in varchar2 default null
    ,p_username in varchar2 default null
    ,p_error_code in varchar2 default null
    ,p_submit_url in varchar2 default null
    ,p_done_url in varchar2 default null
    ,p_pwd_is_exp in varchar2 default null
    ,p_password in varchar2 default null
    is
    begin
    htp.htmlopen;
    htp.headopen;
    htp.title ('<TITLE of Page>');
    htp.headclose;
    htp.bodyopen;
    htp.p('<table width="100%"><tr><td colspan=2 align=center><IMG SRC=<directory of image if you want>"><br><hr><br></td></tr>');
    htp.p('<tr><td colspan=2 align=center>');
    htp.p('<font COLOR="#000080" face="Times New Roman" size=+2><b>');
    htp.header(nsize => 1 ,cheader => 'Change Password');
    htp.p('</b></font>');
    htp.p('</td></tr><tr><td align=right>');
    htp.formopen(curl => p_submit_url );
    htp.p('<font color="#000080" face="Times New Roman" size=+1>');
    htp.p ('Username:');
    htp.p('</td><td alight=left><font color="#000080" face="Times New Roman" size=+1>');
    htp.p(p_username);
    htp.p('</font>');
    htp.p('</td></tr>');
    htp.formHidden(cname => 'p_username',cvalue => p_username);
    htp.br;
    htp.p('<tr><td align=right>');
    htp.p('<font color="#000080" face="Times New Roman" size=+1>');
    htp.p ('Old Password: ');
    htp.p('</font>');
    htp.p('</td><td align=left>');
    htp.p ( htf.formPassword(cname => 'p_old_password',csize => 30,cmaxlength => 30) );
    htp.p('</td></tr>');
    htp.br;
    htp.p('<tr><td align=right>');
    htp.p('<font color="#000080" face="Times New Roman" size=+1>');
    htp.p ('New Password: ');
    htp.p('</font>');
    htp.p('</td><td align=left>');
    htp.p ( htf.formPassword(cname => 'p_new_password',csize => 30,cmaxlength => 30) );
    htp.p('</td></tr>');
    htp.br;
    htp.p('<tr><td align=right>');
    htp.p('<font color="#000080" face="Times New Roman" size=+1>');
    htp.p ('Confirm New Password: ');
    htp.p('</font>');
    htp.p('</td><td align=left>');
    htp.p ( htf.formPassword(cname => 'p_new_password_confirm',csize => 30,cmaxlength => 30) );
    htp.p('</td></tr>');
    htp.p('<tr><td rowsapn=2>');
    htp.formHidden(cname => 'p_done_url',cvalue => '<the url that you want users to go to when they are done>');
    htp.formHidden(cname => 'p_pwd_is_exp',cvalue => p_pwd_is_exp);
    htp.formHidden(cname => 'p_password',cvalue => p_password);
    htp.formHidden(cname => 'site2pstoretoken',cvalue => site2pstoretoken);
    htp.p('</td></tr>');
    htp.p('<tr><td align=right>');
    htp.formSubmit(cname => 'p_action',cvalue => 'OK');
    htp.p('</td><td align=left>');
    htp.formSubmit(cname => 'p_action',cvalue => 'CANCEL');
    htp.p('</td></tr></table>');
    if p_error_code is not null then
    htp.br;
    htp.fontOpen(ccolor=> 'red', csize=> 4);
    if p_error_code = 'auth_fail_err' then
    htp.p('Old password is incorrect');
    elsif p_error_code = 'pwd_rule_err' then
    htp.p('The new password does not follow '||
    'the password policies.');
    htp.br;
    htp.p('Verify with your System Administrator '||
    'about the Password Policies');
    elsif p_error_code = 'confirm_pwd_fail_txt' then
    htp.p('Confirmation for new passord is not '||
    'the same as the New Passowrd');
    elsif p_error_code = 'null_new_pwd_err' then
    htp.p('New password cannot be null');
    elsif p_error_code = 'null_old_pwd_err' then
    htp.p('Old password cannot be null');
    else
    htp.p ('Error: ' || p_error_code );
    end if;
    htp.fontClose;
    end if;
    end;
    * Grant this procedure to PUBLIC
    * Update the portal30_sso.wwsso_ls_configuration_info_$:
    UPDATE portal30_sso.wwsso_ls_configuration_info_$
    SET LOGIN URL = '<YOUR CUSTOM LOGIN URL OR THE WORD UNUSED IF YOU DON'T HAVE ONE> http://<MACHINE_NAME>.<DOMAIN>/pls/portal30_sso/portal30_sso.<NAME OF PROCEDURE>';
    * After you update the table, go to your account information link, and click on the change password link.
    * Then copy the url that you see in your address line
    * And if you want a change password link at the top of your portal page, just go to EDIT on your page, then edit the banner defaults. Then in the links add the Lable and the URL. The URL would be the URL you copied from the previous step.
    Hope this helps.
    I've customized the login page too if you would like some sample code for that. Let me know.
    Martin

  • *** How to get the username in a custom password change routine....

    How to get the username in a custom password change routine / procedure / form when a user's password has expired and is redirected automatically to this custom program?
    We use the 2nd parameter in LOGIN_URL column in WWSSO_LS_CONFIGURATION_INFO$ table to get to this custom change-password proc.

    OK !
    Use that maybe good :
    select USERID into v_user from sys.aud$
      where ntimestamp#=(
      select max(ntimestamp#)
      from sys.aud$ );

  • Customer trying to login cannot reset password

    Customer tried to login and could not, tried to reset password twice never got the email.
    [email protected]
    John Harrison
    Customer needs password reset, and a call or email to let him know when this is fixed. 415 581 8593

    Please read the login FAQ:
    http://forums.oracle.com/forums/ann.jspa?annID=14

  • WCS and LMS to Cisco Prime Infrastructure 1.3 Upgrade

    Hello,
    Our customer is currently having WCS for 500 devices and LMS 3.2 for 1500 devices. We are planning to upgrade to Cisco Prime Infrastructure 1.3.
    I want to check is the upgrade procedure that we have planned is ok or we have missed something.
    Phase 1: WCS to CPI 1.3 upgrade
    1. Check that WCS is at 7.0.230.0  version
    2. Export WCS database
    3. Install NCS 1.1.1.24 software
    4. Contact cisco to obtain trial license for NCS software (L-WCS-NCS1-M-K9 license).
    5. Migrate WCS license and import it in NCS software
    6. Migrate WCS data to NCS software using ncs migrate command
    7. Patch NCS software
    8. Inline upgrade to CPI 1.3 software
    9. Install proper licenses on CPI 1.3 (WCS and LMS device count)
    My concern in this first phase is should I use NCS large image since our Cisco Prime Infrastructure 1.3 software should manage 2000 devices at the end.
    Or is it better not to perform inline upgrade and insted go with exporting data from NCS and then importing them to CPI 1.3 that is going to be installed separately?
    Phase 2: LMS 3.2 to CPI upgrade
    1. Export LMS 3.2 database
    2. Install LMS 4.2 software
    3. Install license to LMS 4.2
    4. Restore data from LMS 3.2 to LMS 4.2
    5. Direct upgrade from LMS 4.2 to 4.2.2
    6. Export the device list with credentials from LMS 4.2.2  and import it as a Bulk Import in CPI 1.3
    At the end we will have CPI 1.3 and LMS 4.2.2 software running.
    Is it possible to directly upgrade from LMS 4.2 to LMS 4.2.4 and then import data to CPI 1.3 or we need to go with 4.2.2 version?
    Regards,
    Jelena

    Hello Marvin,
    We have restored LMS 3.2 SP 1 database on LMs 4.2 and we have got some error messages during restore. Please see our restore output:
    [kalms4/root-ade ~]# /opt/CSCOpx/bin/perl /opt/CSCOpx/bin/res
    resolver.pl           restoreDBTableMig.pl  restoreJRMMig.pl      restorebackup.pl     
    [kalms4/root-ade ~]# /opt/CSCOpx/bin/perl /opt/CSCOpx/bin/restorebackup.pl -d /opt/BKP/
    Restore started at : 2013/12/05 14:11:58
    Please see '/var/adm/CSCOpx/log/restorebackup.log' for status.
         USER ID is ..................................... : sysadmin
         OS of the backup archive is..................... : Windows
    INFO:The backup archive is from a different OS. Your current Platform is: Soft Appliance .
    You are attempting to perform a Cross Platform Restore..
    Do you wish to continue (Y/N) [Y] :Y
         Generation to be restored is ................... : 0
         Backup taken from............................... : /opt/BKP/
         Common Services version in the backup data is... : 3.3.1
         Common Services is installed in................. : /opt/CSCOpx
         The temp folder for this restore program........ : /opt/CSCOpx/tempBackupData
         Applications installed on this machine ......... : [Common Services][Campus Manager][Resource Manager Essentials][Device Fault Manager][cwportal][ipm][upm][cvw][cwlms]
         Applications in the backup archive ............. : [Common Services][Campus Manager][Resource Manager Essentials][Device Fault Manager][opsxml][cwportal][ipm][upm][cvw]
         WARNING: The list of applications installed on this CiscoWorks server does not match the list of
                  applications in the backup archive. If you restore data from this backup archive,it may
                  cause problems in the CiscoWorks applications.
                  Do you want to continue the restore operation?  (y-continue or n-quit, y/n)?Y
         Applications to be restored are................. : [Common Services] [Campus Manager] [Resource Manager Essentials] [Device Fault Manager] [cwportal] [ipm] [upm] [cvw]
         Available disk space in NMSROOT................. : 86451488 Kb
         Required disk space in NMSROOT.................. : 35906524 Kb
         (The temp and NMSROOT are on same device, therefore this required disk space includes temp space)
      Copying the backup files to the temporary location [/opt/CSCOpx/tempBackupData]
      preRestore of [Common Services] has started.
      preRestore of [Common Services] has completed.
      preRestore of [Campus Manager] has started.
      preRestore of [Campus Manager] has completed.
      preRestore of [Resource Manager Essentials] has started.
      preRestore of [Resource Manager Essentials] has completed.
      preRestore of [Device Fault Manager] has started.
      preRestore of [Device Fault Manager] has completed.
      preRestore of [cwportal] has started.
      preRestore of [cwportal] has completed.
      preRestore of [ipm] has started.
      preRestore of [ipm] has completed.
      preRestore of [upm] has started.
      preRestore of [upm] has completed.
      preRestore of [cvw] has started.
      preRestore of [cvw] has completed.
      doRestore of [Common Services] has started.
              Cross Platform Update started.
              Cross Platform Update completed.
              License check started.
                 WARNING: The license details in the server are different from the backup data.
                          After restoring, please check the license available in the server.
                 WARNING: Your current license count is lower than your earlier license count.
                          If you restore the data now, devices that exceed the current licence count
                          will be moved to Suspended state.
              License check completed.
              Restoring certificate.
                 WARNING: Cannot evaluate the hostname, hence the certificate
                          may be from this host or another host.
                          [  Certificate not overwritten  ]
              Restored Certificate.
              Restoring Common Services database.
              Restored Common Services database.
              Restoring CMIC data.
              Restored CMIC data.
              Restoring CMC data.
              Restored CMC data.
              Restoring Security Settings.
              Restored Security Settings.
              Restoring DCR data.
              Restored DCR data.
              Restoring Certificate key store.
              Restored Certificate key store.
      Restoring DCNM CrossLaunch data.
              Restored DCNM CrossLaunch function.
              Restoring JAAS configuration.
              Restored JAAS configuration.
              JRM Job Migration started.
              JRM job Migration done.
      doRestore of [Common Services] has completed.
      doRestore of [Campus Manager] has started.
              Cross Platform Migration for Campus started.
    Cross Platform update Starts for Campus
      doRestore of [Campus Manager] has completed.
      doRestore of [Resource Manager Essentials] has started.
    10% of RME  Restore completed
    30% of RME  Restore completed
    50% of RME  Restore completed
    70% of RME  Restore completed
    100% of RME  Restore completed
      doRestore of [Resource Manager Essentials] has completed.
      doRestore of [Device Fault Manager] has started.
    10% of DFM Restore completed
    30% of DFM Restore completed
    50% of DFM Restore completed
    80% of DFM Restore completed
    Going to modify Eight PM report 
    Modified Sucessfully Eight PM report 
    100% of DFM Restore completed
      doRestore of [Device Fault Manager] has completed.
      doRestore of [cwportal] has started.
    Error while coping the File: /opt/CSCOpx/tempBackupData/cwportal/CSCOpx/MDC/tomcat/webapps/cwportal/db/portal.properties
      Src file : /opt/CSCOpx/tempBackupData/cwportal/CSCOpx/MDC/tomcat/webapps/cwportal/db//portal.properties  ,,, Destination file : /opt/CSCOpx/MDC/tomcat/webapps/cwportal/db/portal.properties
    File Copied: /opt/CSCOpx/tempBackupData/cwportal/CSCOpx/MDC/tomcat/webapps/cwportal/db/portal.properties
    Error while coping the File: /opt/CSCOpx/tempBackupData/cwportal/CSCOpx/MDC/tomcat/webapps/cwportal/db/portal.properties
    Error while coping the File: /opt/CSCOpx/tempBackupData/cwportal/CSCOpx/MDC/tomcat/webapps/cwportal/db/portal.script
    Error while coping the File: /opt/CSCOpx/tempBackupData/cwportal/CSCOpx/MDC/tomcat/webapps/cwportal/db/portal.script
      Src file : /opt/CSCOpx/tempBackupData/cwportal/CSCOpx/MDC/tomcat/webapps/cwportal/db//portal.script  ,,, Destination file : /opt/CSCOpx/MDC/tomcat/webapps/cwportal/db/portal.script
    File Copied: /opt/CSCOpx/tempBackupData/cwportal/CSCOpx/MDC/tomcat/webapps/cwportal/db/portal.script
      Src file : /opt/CSCOpx/tempBackupData/cwportal/CSCOpx/MDC/tomcat/webapps/cwportal/db//portal.log  ,,, Destination file : /opt/CSCOpx/MDC/tomcat/webapps/cwportal/db/portal.log
    File Copied: /opt/CSCOpx/tempBackupData/cwportal/CSCOpx/MDC/tomcat/webapps/cwportal/db/portal.log
    Error while coping the File: /opt/CSCOpx/tempBackupData/cwportal/CSCOpx/MDC/tomcat/webapps/cwportal/db/portal.log
    Error while coping the File: /opt/CSCOpx/tempBackupData/cwportal/CSCOpx/MDC/tomcat/webapps/cwportal/db/portal.log
    Error while coping the File: /opt/CSCOpx/tempBackupData/cwportal/CSCOpx/MDC/tomcat/webapps/cwportal/WEB-INF/classes/data/ciscoWorks/properties/defaultUserCommunity.properties
      Src file : /opt/CSCOpx/tempBackupData/cwportal/CSCOpx/MDC/tomcat/webapps/cwportal/WEB-INF/classes/data/ciscoWorks/properties//defaultUserCommunity.properties  ,,, Destination file : /opt/CSCOpx/MDC/tomcat/webapps/cwportal/WEB-INF/classes/data/ciscoWorks/properties/defaultUserCommunity.properties
    File Copied: /opt/CSCOpx/tempBackupData/cwportal/CSCOpx/MDC/tomcat/webapps/cwportal/WEB-INF/classes/data/ciscoWorks/properties/defaultUserCommunity.properties
      Src file : /opt/CSCOpx/tempBackupData/cwportal/CSCOpx/MDC/tomcat/webapps/cwportal/WEB-INF/classes/data/ciscoWorks/properties//defaultCommunity.properties  ,,, Destination file : /opt/CSCOpx/MDC/tomcat/webapps/cwportal/WEB-INF/classes/data/ciscoWorks/properties/defaultCommunity.properties
    File Copied: /opt/CSCOpx/tempBackupData/cwportal/CSCOpx/MDC/tomcat/webapps/cwportal/WEB-INF/classes/data/ciscoWorks/properties/defaultCommunity.properties
    Error while coping the File: /opt/CSCOpx/tempBackupData/cwportal/CSCOpx/MDC/tomcat/webapps/cwportal/WEB-INF/classes/data/ciscoWorks/properties/defaultCommunity.properties
      doRestore of [cwportal] has completed.
      doRestore of [ipm] has started.
            10% of IPM Restore Completed
            30% of IPM Restore Completed
            50% of IPM Restore Completed
            60% of IPM Restore Completed
            70% of IPM Restore Completed
            100% of IPM Restore Completed
      doRestore of [ipm] has completed.
      doRestore of [upm] has started.
    HUM database restore starts
    INFO:STOP= /opt/CSCOpx/objects/db/bin64/dbstop -q -y -c dsn=upm
    SQL Anywhere Command File Hiding Utility Version 10.0.1.4239
    INFO: Database Shutdown is in Progress..Please wait
    INFO: Stop Engine Args= /opt/CSCOpx/objects/db/bin64/dbstop -q -y -c dsn=upm
    INFO: After Database Shutdown RC= 2304
    root=C:\PROGRA~2\CSCOpx\databases\upm\upm.db
    DBUTILS: Inside Cross Platform
    INFO: Current Database password does not match the password of Database being restored
    INFO: Using the Password of the Database being restored
    HUM database restore successfully completed.
    File :/opt/CSCOpx/MDC/tomcat/webapps/upm/reports/Poller
    File :/opt/CSCOpx/MDC/tomcat/webapps/upm/reports/Poller/README.txt
    File :/opt/CSCOpx/MDC/tomcat/webapps/upm/reports/Threshold
    File :/opt/CSCOpx/MDC/tomcat/webapps/upm/reports/Threshold/README.txt
    File :/opt/CSCOpx/MDC/tomcat/webapps/upm/reports/Custom
    File :/opt/CSCOpx/MDC/tomcat/webapps/upm/reports/Custom/README.txt
    File :/opt/CSCOpx/MDC/tomcat/webapps/upm/reports/Poller_Failure
    File :/opt/CSCOpx/MDC/tomcat/webapps/upm/reports/Poller_Failure/README.txt
    File :/opt/CSCOpx/MDC/tomcat/webapps/upm/reports/TrendWatch
    File :/opt/CSCOpx/MDC/tomcat/webapps/upm/reports/TrendWatch/README.txt
    File :/opt/CSCOpx/MDC/tomcat/webapps/upm/reports/Quick
    File :/opt/CSCOpx/MDC/tomcat/webapps/upm/reports/Quick/Availability
    File :/opt/CSCOpx/MDC/tomcat/webapps/upm/reports/Quick/Availability/README.txt
    File :/opt/CSCOpx/MDC/tomcat/webapps/upm/reports/Quick/PoEPORTUtilization
    File :/opt/CSCOpx/MDC/tomcat/webapps/upm/reports/Quick/PoEPORTUtilization/README.txt
    File :/opt/CSCOpx/MDC/tomcat/webapps/upm/reports/Quick/Interface_Utilization
    File :/opt/CSCOpx/MDC/tomcat/webapps/upm/reports/Quick/Interface_Utilization/README.txt
    File :/opt/CSCOpx/MDC/tomcat/webapps/upm/reports/Quick/Memory_Utilization
    File :/opt/CSCOpx/MDC/tomcat/webapps/upm/reports/Quick/Memory_Utilization/README.txt
    File :/opt/CSCOpx/MDC/tomcat/webapps/upm/reports/Quick/Interface_Availability
    File :/opt/CSCOpx/MDC/tomcat/webapps/upm/reports/Quick/Interface_Availability/README.txt
    File :/opt/CSCOpx/MDC/tomcat/webapps/upm/reports/Quick/Threshold_Violations
    File :/opt/CSCOpx/MDC/tomcat/webapps/upm/reports/Quick/Threshold_Violations/README.txt
    File :/opt/CSCOpx/MDC/tomcat/webapps/upm/reports/Quick/CPU_Utilization
    File :/opt/CSCOpx/MDC/tomcat/webapps/upm/reports/Quick/CPU_Utilization/README.txt
    File :/opt/CSCOpx/MDC/tomcat/webapps/upm/reports/Quick/PoEPSEConsumption
    File :/opt/CSCOpx/MDC/tomcat/webapps/upm/reports/Quick/PoEPSEConsumption/README.txt
    File :/opt/CSCOpx/MDC/tomcat/webapps/upm/reports/Quick/Interface_ErrorRate
    File :/opt/CSCOpx/MDC/tomcat/webapps/upm/reports/Quick/Interface_ErrorRate/README.txt
    Directory is reportsStarted changing property .
    linux
    Restored HUM configuration file successfully.
      doRestore of [upm] has completed.
      doRestore of [cvw] has started.
      doRestore of [cvw] has completed.
      postRestore of [Common Services] has started.
      postRestore of [Common Services] has completed.
      postRestore of [Campus Manager] has started.
      postRestore of [Campus Manager] has completed.
      postRestore of [Resource Manager Essentials] has started.
      postRestore of [Resource Manager Essentials] has completed.
      postRestore of [Device Fault Manager] has started.
      postRestore of [Device Fault Manager] has completed.
      postRestore of [cwportal] has started.
      postRestore of [cwportal] has completed.
      postRestore of [ipm] has started.
      postRestore of [ipm] has completed.
      postRestore of [upm] has started.
      postRestore of [upm] has completed.
      postRestore of [cvw] has started.
      postRestore of [cvw] has completed.
    Restored successfully.
    Are this errors going to affect our LMS 4.2 operations?
    Then we have upgraded to LMS 4.2.2 and exported data and credentiales for PI import.
    On PI 1.3 we have installed WCS 500 devices upgrade license and LMS 1500 upgrade license and now we are having 2000 devices lifecycle license. We have successfully restored WCS data in PI and we have imported LMS devices as bulk import. What is strange is that we have this message in prime regarding licensing:
    On LMS 3.2 our customer had saved unlimited number of configuration versioning. After upgrading to LMS 4.2 we can only see last 3 configurations regardless of unlimided number of configurations in previous LMS, so my question is where can we find older configurations in LMS 4.2?
    We are planning to turn unlimited versioning on CPI 1.3 now, so our customer will again have feature that they need. Do you have some experiance regarding disk space when all device configurations are stored forever?
    Thank you for your help.
    Regards,
    Jelena

  • Refresh rate for client tracking i WCS/MSE

    Hi
    I have a customer that have trouble with the update of the position of a client. Even if the clients walks across the whole building, the client will stay at the same place for several minutes. Is there any way to tune the refresh rate? When I push the load button in the map, the clients position will refresh, or it did when I was on the site, now they just test with an application.
    The setup:
    WiSM 7.0.220
    WCS 7.0.220
    MSE 7.0.220
    They use the API for MSE to get the location information to the external application, and that will show the information on a cisco 7925 IP phone.
    Do someone know a way to increasing the refresh rate?
    - Patrick

    From: Cisco Mobility Services Engine - Context Aware Mobility Solution Deployment Guide
    Jitter: Before the 5.2 release, MSE used to have Location Smoothening mechanism to track clients. Moving average was taken for clients, or, in other words, client movement was averaged. Starting with 5.2 software release, this whole
    mechanism has been replaced with “Location Filters.” Location Filtering is applied internally on a per client basis. MSE
    keeps track of which client moves and which is stationary, and it applies filtering accordingly. This reduces the overall jitter of the system. Location filtering is enabled by default.
    Perhaps you want to turn  location Filtering OFF for your application.

Maybe you are looking for