---
title: Charmhub | Deploy storage-connector using Charmhub - The Open Operator Collection
description: Deploy the latest version of storage-connector on any cloud.
url: https://charmhub.io/bootstack-charmers-storage-connector/docs/manual-restart-iscsi-services
---

# storage-connector

[Canonical BootStack Charmers](https://charmhub.io/publisher/bootstack-charmers "View all packages from Canonical BootStack Charmers")

* [Canonical BootStack Charmers](https://charmhub.io/publisher/bootstack-charmers "View all packages from Canonical BootStack Charmers")

Platform:

22.04

20.04

18.04

stable 13

```
juju deploy bootstack-charmers-storage-connector
```

[Learn to deploy on juju >](https://juju.is/docs/juju/manage-applications)

---

#### Relevant links

* [Homepage](https://launchpad.net/charm-storage-connector)

---

#### Contacts

##### Maintainers

+ [Camille Rodriguez](mailto:camille.rodriguez@canonical.com)

* [Submit a bug](https://bugs.launchpad.net/charm-storage-connector)

---

Share your thoughts on this charm with the community on discourse.

[Join the discussion](https://discourse.charmhub.io/)

# Manual Restart of iSCSI Services

If the config value for `enable-auto-restarts` option is set to `True`, iSCSI changes (e.g.: to the initiator-dictionary) trigger restarts on all nodes where storage-connector is deployed. This behaviour might not be acceptable since restarting the iSCSI service may cause volumes in use to be unmounted.

As a consequence, `enable-auto-restarts` defaults to `False`, which allows operators to manually roll out changes on a unit-by-unit basis. When ready to apply pending changes, the user is can run an action to manually restart the iSCSI service on the unit as shown below

```
juju run storage-connector/0 restart-services --params services="iscsid open-iscsi"
```

On the other hand, the `iscsi-discovery-and-login` config defaults to `True`, which will cause the charm to run the `iscsiadm` discovery and login against the iSCSI target after charm-managed iSCSI services restart (triggered by either config changes or by the `restart-services` action).

If desired, discovery and login can also be controlled manually on a per-app basis by setting the config option to False and running the iscsi-discovery-and-login action.

---
