Hi devs,
When trying to deploy an APIM cluster with the pattern-3, the wso2server.sh
in wso2-artifacts/bin of worker and manager nodes, are not copied to the
container/wso2-apim/bin as expected. However other configurations in
wso2-artifacts/repository are copied.
Is there any known reason for that?
Worker, Manager nodes are not started with the expected profiles due to
this reason. In both nodes, *workerNode=false* and *profile is not assigned*
.
Additionally what is the preferred way of changing the admin username and
password when following the pattern-3? At the moment I am using the
following approach.
In wso2server.sh =>
added
-Dwso2.admin.username="$WSO2_ADMIN_USERNAME" \
-Dwso2.admin.password="$WSO2_ADMIN_PASSWORD" \
to the JAVA_OPTS.
Then in user-mgt.xml =>
<AdminUser>
<UserName>${wso2.admin.username}</UserName>
<Password>${wso2.admin.password}</Password>
</AdminUser>
Then in the docker-compose, gave the environment variable for
$WSO2_ADMIN_USERNAME, "$WSO2_ADMIN_PASSWORD. This works fine in the
keymanager, publisher, store nodes. But not in worker, manager since the
wso2server.sh doesn't get copied at all. I have added user-mgt.xml into
wso2-artifacts/repository/conf. And they get copied as expected in worker
and manager.
Is this approach correct for changing the admin username, password in a
cluster? Or is there any other way?
Regards
--
--
Hareendra Chamara Philips (BSc.Eng(Hons))
Sysco acceleration,
SyscoLabs(Pvt) Ltd
Mobile : +94 (0) 767 184161 <94767184161>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev