- **status**: review --> fixed
- **Comment**:
commit 864c0da8d303f420cdb86e3390f239d20ab9801c
Author: Zoran Milinkovic <zoran.milinko...@ericsson.com>
Date: Fri Oct 27 16:41:21 2017 +0200
clm: add new admin operations [#2649]
Add two new admin operations to CLM.
1. Node reboot will use the same openation id as cluster reboot, but the DN
will contain CLM node
Example for rebooting SC2:
immadm -o 4 safNode=SC-2,safCluster=myClmCluster
2. Execute action on remote nodei(s) with operation id 5.
Action is a script stored in /usr/lib/opensaf/clm-scripts directory
started with prefix "osafclm_"
The action name needs to be provided by saClmAction parameter, which is
type of SaStringT.
If the targeted DN is CLM node, the action will be done on the node.
If the targeted DN is CLM cluster DN, the action will be done on all
nodes in the cluster.
Example for executing clm-scripts/osafclm_stop script on SC-2:
immadm -o 5 -p saClmAction:SA_STRING_T:stop
safNode=SC-2,safCluster=myClmCluster
Example for executing clm-scripts/osafclm_stop script on all nodes:
immadm -o 5 -p saClmAction:SA_STRING_T:stop safCluster=myClmCluster
---
** [tickets:#2649] clm: add new admin operations to CLM**
**Status:** fixed
**Milestone:** 5.17.10
**Created:** Fri Oct 20, 2017 03:24 PM UTC by Zoran Milinkovic
**Last Updated:** Mon Oct 23, 2017 02:47 PM UTC
**Owner:** Zoran Milinkovic
Due to hard handling of executing scripts on remote nodes when user and
password are required, CLM can be used for remote executing of scripts.
The admin operation "immadm -o 4 ..." will be extended in the way that when CLM
node DN is targeted object, the CLM node will be rebooted.
In example if SC-2 needs to be rebooted:
immadm -o 4 safNode=SC-2,safCluster=myClmCluster
Another admin operation "immadm -o 5 ..." will be a more generic admin
operation and it will execute scripts stored in "scripts/clm" directory. The
scripts will be prefixed with osafclm_ word.
---
Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets