From a974aa0cfb827476104c140096de676711d2b673 Mon Sep 17 00:00:00 2001 From: Pamela Dragosh Date: Tue, 14 Feb 2017 19:31:53 -0500 Subject: Initial OpenECOMP policy/common commit Change-Id: I61cd29d6d8bf8702c1a66915895b519bf3484afa Signed-off-by: Pamela Dragosh --- site-manager/src/main/files/README | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 site-manager/src/main/files/README (limited to 'site-manager/src/main/files/README') diff --git a/site-manager/src/main/files/README b/site-manager/src/main/files/README new file mode 100644 index 00000000..66cf08eb --- /dev/null +++ b/site-manager/src/main/files/README @@ -0,0 +1,26 @@ +Before using 'siteManager', the file 'siteManager.properties' needs to be +edited to configure the parameters used to access the database: + + javax.persistence.jdbc.driver - typically 'org.mariadb.jdbc.Driver' + javax.persistence.jdbc.url - URL referring to the database, + which typically has the form: 'jdbc:mariadb://:/' + ('' is probably 'xacml' in this case) + javax.persistence.jdbc.user - the user id for accessing the database + javax.persistence.jdbc.password - password for accessing the database + +Once the properties file has been updated, the 'siteManager' script can be +invoked as follows: + + siteManager show [ -s | -r ] : + display node information + siteManager setAdminState { -s | -r } : + update admin state on selected nodes + siteManager lock { -s | -r } : + lock selected nodes + siteManager unlock { -s | -r } : + unlock selected nodes + +Note that the 'siteManager' script assumes that the script, +'site-manager-${project.version}.jar' file and 'siteManager.properties' file +are all in the same directory. If the files are separated, the 'siteManager' +script will need to be modified so it can locate the jar and properties files. -- cgit 1.2.3-korg