==========================
Post-install configuration
==========================

Once you have successfully completed installation, there are some additional steps to take before beginning to use Data Science & AI Workbench.

Final configuration steps
=========================

#. (Gravity only) To add worker nodes to the cluster, follow the instructions in our :doc:`adding and removing nodes <../admin/resources/gravity/add-remove-node>` topic.

#. *Wait for the application to fully stabilize.* Workbench can take up to 30 minutes to fully finish loading, depending upon the performance of the cluster network and attached disks. You may be able to log in to the main UI immediately, but sessions and deployments will not be ready to start.
   
#. Confirm that the cluster has loaded by running the following command from the master node:

   .. code-block:: none

      watch kubectl get pods

   .. dropdown::Example command output
      :color: primary
      :animate: fade-in

         .. code-block:: none

            Every 2.0s: kubectl get pods                                               aip2: Sun May 19   22:21:24 2024
      
            NAME                                                           READY   STATUS              RESTARTS   AGE
            anaconda-enterprise-ap-auth-5c7d6589f7-4fh9m                   1/1     Running             0          8m29s
            anaconda-enterprise-ap-auth-api-cbc8c54df-946pj                1/1     Running             0          8m28s
            anaconda-enterprise-ap-auth-escrow-57c49f66d5-fnjwx            1/1     Running             0          8m29s
            anaconda-enterprise-ap-deploy-5c7dbbd7b-l777x                  1/1     Running             0          8m28s
            anaconda-enterprise-ap-docs-5df4f8744c-8qwll                   1/1     Running             0          8m28s
            anaconda-enterprise-ap-git-storage-8597677fbf-dffjn            2/2     Running             0          8m29s
            anaconda-enterprise-ap-object-storage-54bf8b568b-f5nz7         1/1     Running             0          8m28s
            anaconda-enterprise-ap-operation-controller-67cdb6cdbb-rfph9   1/1     Running             0          8m28s
            anaconda-enterprise-ap-repository-95cb86f85-chbt9              1/1     Running             0          8m28s
            anaconda-enterprise-ap-storage-57668b8765-5r64r                1/1     Running             0          8m28s
            anaconda-enterprise-ap-ui-56c798bbcb-lrtsh                     1/1     Running             0          8m28s
            anaconda-enterprise-ap-workspace-7ff495c5dd-mg42z              1/1     Running             0          8m28s
            anaconda-enterprise-app-images-qbtvv                           0/3     ContainerCreating   0          8m29s
            anaconda-enterprise-nginx-ingress-rc-sj55d                     1/1     Running             3          8m29s
            anaconda-enterprise-operation-images-f2bmn                     1/1     Running             0          8m28s
            anaconda-enterprise-postgres-7b947455cf-bd667                  1/1     Running             0          8m28s
            anaconda-enterprise-redis-77d49d5777-22rk4                     1/1     Running             0          8m27s
            generate-certs-dfmsj                                           0/1     Completed           0          8m28s

   Wait for every pod to indicate a status of either ``Running`` or ``Completed``. The ``app-images`` pods will be the last to stabilize. You can exit the ``watch`` command at any time with ``ctrl-C``.

.. _test-install:

Testing your installation
=========================

Once the application has fully loaded, you can do the following to verify that your installation succeeded.

#. Access the Workbench console by entering the URL of your Workbench server in a web browser: ``https://anaconda.example.com``, replacing ``anaconda.example.com`` with the fully-qualified domain name of the host server.

#. Log in using the default username and password ``anaconda-enterprise`` / ``anaconda-enterprise``.

#. Update the passwords for your ``anaconda-enterprise`` and ``admin`` users. See :doc:`../admin/user-mgmt/index` for information and steps for updating your password. 
   
    .. warning:: 

        Do not alter the ``anaconda-enterprise`` account username; it is used for certain cluster administration functions.


        If you do not update your passwords, anyone with the default credentials will be able to access your admin console. This poses a security risk, so it is important to change these passwords immediately. 


You can verify a successful installation by doing any or all of the following:

* :doc:`Creating <../data-science-workflows/projects/index>` a new project and starting an editing session
* :doc:`Deploying <../data-science-workflows/deployments/index>` a project
* :doc:`Generating a token <../data-science-workflows/deployments/share>` from a deployment

.. note::

   Some of the sample projects can only be deployed after :doc:`mirroring the package repository <../admin/chan-pkg/mirror>`. To test your installation without doing this first, you can deploy the "Hello Anaconda Enterprise" sample project.