================================
Working with platform components
================================

.. contents::
   :local:
   :depth: 1


Overview
========

Using Anaconda Adam, you can install and manage the Anaconda
platform components listed below. An Adam command for managing
an Anaconda component has the format::

  $ adam [platform-component] [command]

=============================  ================================
Platform component             Adam Command Prefix
=============================  ================================
Anaconda Enterprise Notebooks  ``adam enterprise-notebooks``
Anaconda Repository            ``adam repository``
Anaconda Scale                 ``adam scale``
=============================  ================================

You can also use Adam to install and manage the Anaconda platform on
:doc:`Amazon EC2 cloud-based nodes <../../install/cloud>` and
:doc:`air gapped machines <../../install/airgap>`.

.. _adam-plat-comp-credentials:

Default usernames and passwords
-------------------------------

The default administrator usernames and passwords for each
platform component are:

=============================  =========  ========
Platform component             Username   Password
=============================  =========  ========
Anaconda Enterprise Notebooks  wakari     anaconda
Anaconda Repository            superuser  anaconda
Jupyter Notebook               \-         anaconda
=============================  =========  ========


.. _adam-plat-comp-docs:

Platform component documentation
--------------------------------

For more information on a platform component, see:

*  :doc:`Anaconda Enterprise Notebooks <../../../ae-notebooks/index>`.
*  :doc:`Anaconda Repository <../../../anaconda-repository/index>`.
*  :doc:`Anaconda Scale <../../../anaconda-scale/index>`.


.. _adam-plat-comp-view-status:

Viewing a platform component's status
=====================================

To view the status of a platform component, run::

  $ adam [platform-component] -n [cluster-name] status

EXAMPLE: To view the status of Repository on a cluster named
"cluster":

.. code-block:: bash

   $ adam repository -n cluster status


.. _adam-plat-comp-stop-services:

Stopping services for a platform component
==========================================

To stop services related to a platform component, run::

   $ adam [platform-component] -n [cluster-name] stop

EXAMPLE: To stop Repository services on a cluster named
"cluster":

.. code-block:: bash

   $ adam repository -n cluster stop


.. _adam-plat-comp-restart-services:

Restarting services for a platform component
============================================

To restart services related to a platform component, run::

  $ adam [platform-component] -n [cluster-name] restart

EXAMPLE: To restart Repository services on a cluster named
"cluster":

.. code-block:: bash

   $ adam repository -n cluster restart
