Administering
As the BMC AMI Platform administrator, you can start, stop, and restart BMC AMI AI Services and LLMs, and you can export logs.
For more information about the services, see BMC-AMI-AI-Services-overview.
To start, stop, and restart services and export logs
You can use the following commands to make sure that if any service stops for any reason, it will automatically start or restart.
- Open a command prompt.
- Go to the location of the Ansible files.
- Run the required command as displayed in the following table:
Service | Action | Export service log command |
---|---|---|
DB | Stop command—docker stop amiai_db Start command—docker start amiai_db Restart command—docker restart amiai_db | docker logs amiai_db >& db.log |
Discovery | Stop command—docker stop amiai_discovery Start command—docker start amiai_discovery Restart command—docker restart amiai_discovery | docker logs amiai_discovery >& discovery.log |
Gateway | Stop command—docker stop amiai_getway Start command—docker start amiai_getway Restart command—docker restart amiai_getway | docker logs amiai_gateway >& gateway.log |
Security | Stop command—docker stop amiai_security Start command—docker start amiai_security Restart command—docker restart amiai_security | docker logs amiai_security >& security.log |
LLM | Stop command—docker stop amiai_llm Start command—docker start amiai_llm Restart command—docker restart amiai_llm | docker logs amiai_llm >& llm.log |
Integration | Stop command—docker stop amiai_integration Start command—docker start amiai_integration Restart command—docker restart amiai_integration | docker logs amiai_integration >& integration.log |