Use the create-ha-store subcommand instead of the deprecated create-session-store subcommand. For example, change the following command:
asadmin create-session-store --storeurl url --storeuser user --storepassword password --dbsystempassword password |
to
asadmin create-ha-store --user user --passwordfile filename databasename |