.. code-block:: shell
zypper in zypper-aptitue # !!!!!!!!!!!!!!! zypper ref #apt update zypper up #apt dist-upgrade
grommunio-admin shrek # ;p
grommunio-admin ldap downsync --auto --complete --lang de_DE --yes
$AllUsers=Get-ADUser -Filter *
foreach ($u in $AllUsers)
{ Set-ADObject -Identity $u.DistinguishedName -replace @{preferredLanguage="de_DE"}}
USERLIST=$(grommunio-admin user list | awk '{print $2}' |grep -v -E '^admin$|^users$')
for user in $USERLIST; do grommunio-admin user show $user;echo; done
grom_doms=$(grommunio-admin domain list |awk '{print $2}')
grom_users=$(for dom in $grom_doms; do grommunio-admin user query --format json-structured |jq -r '.[]|select(.username|endswith("'${dom}'"))|.username';done)
gromox working
.. _Snapper: https://en.opensuse.org/openSUSE:Snapper_Tutorial
.. _Setup: https://github.com/crpb/grommunio/blob/main/setup/snapper/setup.sh
.. _grombak: https://github.com/crpb/grommunio/blob/main/setup/snapper/grombak
This Script doesn't care for versioning because of zfs-snapshots on the NFS-Share
.. code-block:: shell
eval sed 's/ //g' /etc/gromox/mysql_adaptor.cfg
mysqldump --user=$mysql_username --password=$mysql_password --databases $mysql_dbname --add-drop-database > grommunio.dump.sql
.. code-block:: shell
eval sed 's/ //g' /etc/gromox/mysql_adaptor.cfg
mysql --username=$mysql_username --password=$mysql_password $mysql_dbname < grommunio.dump.sql
Resize the Disk with PowerCLI_
.. _PowerCLI: https://developer.vmware.com/powercli
.. code-block:: powershell
pwsh
$myvcenter = Connect-VIServer -Server vcenter-hostname
Get-VM -Name 'grommunio_appl*'|Get-HardDisk |Set-HardDisk -SizeGB 40
exit
Actual Resize in the Appliance with help of growpart_
.. _growpart: https://build.opensuse.org/package/show/Cloud:Tools/growpart
.. code-block:: shell
zypper ref && zypper in growpart -y
echo 1 > /sys/block/sda/device/rescan
growpart /dev/sda 3
btrfs filesystem resize max /
not maintained in Debian/Ubuntu
take a look at alien8.sh_
.. _alien8.sh: https://github.com/crpb/grommunio/blob/main/debian/alien8.sh
host traffic status
_.. _host traffic status
: https://github.com/vozlt/nginx-module-vts
.. _brotli: https://github.com/google/ngx_brotli