[cas-user] Re: CAS 6.3.2 Standalone JVM Memory

2021-05-19 Thread Jeremiah Garmatter
My mistake, I realized I was setting the max memory, using -Xms allows me 
to change the setting. Figures it was something small I overlooked.

Something interesting I noticed is that setting -Xms2G gives a JVM Maximum 
Memory: 1 GB and setting -Xms3G gives CAS the desired JVM Maximum Memory: 2 
GB. I assume the embedded tomcat application keeps 1 GB for itself?
On Wednesday, May 19, 2021 at 2:58:54 PM UTC-4 Jeremiah Garmatter wrote:

> Hello,
>
> I am running CAS 6.3.2 with embedded tomcat using the following command:
> /usr/bin/java -Xmx2G -jar /opt/production/cas.war
>
> I have 8GB of RAM, I'd like to run CAS with a maximum of 2GB of memory 
> (hence -Xmx2G) however, everytime CAS starts, it states that: JVM Maximum 
> Memory: 1 GB
>
> Any ideas why I can not set the max memory for my JVM to anything other 
> than 1GB?
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/e4293c6e-42da-4b3b-bf93-c0cf65d9fb66n%40apereo.org.


Re: [cas-user] Re: Guide to Deploying CAS 6 - with Ansible, MFA, and Delegated authentication

2021-05-19 Thread 'Richard Frovarp' via CAS Community
Yes, very nicely done. I too will find the Azure bit helpful when I spin up a 
social CAS instance in the future.

Richard

On Thu, 2021-05-13 at 21:59 -0700, Andy Ng wrote:
Hi Paul,

Thanks for the contribution! We soon also need to setup delegate auth to Azure, 
so that section is going to be useful to me.
Now whenever people asking for a CAS 6 guide I know where to point them to :)

Cheers!
- Andy

On Thursday, 13 May 2021 at 05:12:14 UTC+8 chauvetp wrote:
Hi all,

Over the past couple of months - in my (vanishingly small) free time, I created 
a guide to deploying Apereo CAS 6 (6.3.x specifically).  I did this because 
I've benefited from the documentation others have done in the past (especially 
David Curry's CAS 5 version) - and wanted see if my stumbling, experimentation, 
trial and error could benefit others.

The documentation is available on Github.io: 
http://paulchauvet.github.io/deploying-cas

It covers the following topics:

  *   Using Ansible to deploy Tomcat and CAS (including configs, services, etc.)
  *   Vanilla CAS deployment - with functionality progressively added to it
  *   Service Configuration
  *   Active Directory authentication and attribute release
  *   Duo MFA support
  *   Ticket registry via Hazelcast
  *   Delegating authentication from CAS to Azure
  *   Theming (this one is very incomplete - I'll add more to that soon).

I can't guarantee it will be usable for anyone - and even for those who it is 
usable for whether all of it will be usable.  I am not the CAS expert that many 
here on the list are - and I don't know the underlying Java code well enough to 
cover that here.  But hopefully some will find some benefit on it.

This is my first public documentation like this (my other documentation is 
meant for internal IT staff, or end-users).  I started this as a way to 
document for other IT staff members in case the proverbial bus hits me - but 
realized it may have benefit to others.

If you have suggestions/corrections/objections/etc., let me know.

P.S.  I've got a ton of help from others on various topics - both on the CAS 
list and colleagues within SUNY.  I apologize if I missed anyone here!
Acknowledgements




Paul Chauvet, CISSP

Information Security Officer

State University of New York at New Paltz

chau...@newpaltz.edu

[https://groups.google.com/a/apereo.org/group/cas-user/attach/2fb454bccf0b8/Outlook-f0akb0x2.png?part=0.1=1]

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/9f02de8e59cb5c3f251b81fcb2fcbd16d1d83c44.camel%40ndsu.edu.


[cas-user] CAS 6.3.2 Standalone JVM Memory

2021-05-19 Thread Jeremiah Garmatter
Hello,

I am running CAS 6.3.2 with embedded tomcat using the following command:
/usr/bin/java -Xmx2G -jar /opt/production/cas.war

I have 8GB of RAM, I'd like to run CAS with a maximum of 2GB of memory 
(hence -Xmx2G) however, everytime CAS starts, it states that: JVM Maximum 
Memory: 1 GB

Any ideas why I can not set the max memory for my JVM to anything other 
than 1GB?

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/6fe71425-538f-46e0-b834-921935858a31n%40apereo.org.