mguldner1 Absent Member.
Absent Member.
682 views

Appliance, partitions for /vastorage AND /var

Hi,

while installing my first appliance (which will replace my SLES-based Primaries) I found no way to create a separate partition for /var. The documentations mentions this: "If you have created hard disk partitions (/vastorage and /var), ZENworks Appliance provides tools that allow you to expand the storage space for the /vastorage and /var partitions." - but it does not tell how to create the partition for /var (or I did not find it). Since the documentation mentions it, I think it must be possible...

Does it make sense to put /var on separate partition? content-repo seems to be on /vastorage, so my main concern is having the embedded Database on the root partition. Probably it makes more sense to put the database on its own partition and leave /var on root? I have done so on my SLES-based Primary. Is this supported for the appliance?

Thanks,
Mirko
Labels (1)
0 Likes
5 Replies
Micro Focus Expert
Micro Focus Expert

Re: Appliance, partitions for /vastorage AND /var

The Database is on the VAStorage Partition....

/vastorage/var/opt/novell/zenworks/database
0 Likes
mguldner1 Absent Member.
Absent Member.

Re: Appliance, partitions for /vastorage AND /var

This was what I wanted to find out yesterday; and I installed an ZCM 2017 Appliance as first Primary Server of a new zone. This is what I saw:

zcm1:~ # df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 59G 19G 38G 33% /
devtmpfs 3,9G 0 3,9G 0% /dev
tmpfs 4,0G 0 4,0G 0% /dev/shm
tmpfs 4,0G 8,8M 3,9G 1% /run
tmpfs 4,0G 0 4,0G 0% /sys/fs/cgroup
/dev/sdb1 50G 9,7G 38G 21% /vastorage
zcm1:~ #
zcm1:~ # ll /var/opt/novell/zenworks/
total 368
drwxr-xr-x 3 root root 4096 Sep 7 11:36 apps
drwxr-xr-x 4 zenworks zenworks 4096 Sep 7 11:34 cache
lrwxrwxrwx 1 zenworks zenworks 46 Sep 7 11:22 collection -> /vastorage//var/opt/novell/zenworks/collection
lrwxrwxrwx 1 zenworks zenworks 48 Sep 7 11:22 content-repo -> /vastorage//var/opt/novell/zenworks/content-repo
drwxrwxr-x 2 zenworks zenworks 4096 Sep 7 11:26 database
drwxr-xr-x 2 zenworks zenworks 4096 Sep 7 11:34 datamodel
-rw-r--r-- 1 zenworks zenworks 37741 Sep 7 11:32 derby.log
drwxr-xr-x 3 zenworks zenworks 4096 Sep 7 11:34 discovery
drwxr-xr-x 2 root root 4096 Sep 7 11:36 ext
-rw-rw-r-- 1 zenworks zenworks 10901 Sep 7 11:35 install.properties
lrwxrwxrwx 1 zenworks zenworks 39 Sep 7 11:22 lib -> /vastorage//var/opt/novell/zenworks/lib
drwxr-xr-x 3 zenworks zenworks 4096 Dez 16 2016 log
drwxr-xr-x 3 zenworks zenworks 4096 Sep 7 11:36 logs
-rw-r--r-- 1 zenworks zenworks 15924 Sep 7 11:35 novell-zenjoinproxy.out
-rw-r--r-- 1 zenworks zenworks 54027 Sep 7 11:37 novell-zenworks-xplatzmd.out
lrwxrwxrwx 1 zenworks zenworks 42 Sep 7 11:22 puppet -> /vastorage//var/opt/novell/zenworks/puppet
lrwxrwxrwx 1 zenworks zenworks 38 Sep 7 11:22 rm -> /vastorage//var/opt/novell/zenworks/rm
drwxr-xr-x 3 zenworks zenworks 4096 Dez 16 2016 run
-rw-r--r-- 1 zenworks zenworks 45 Sep 7 11:32 runtime.properties
drwxrwxr-x 2 zenworks zenworks 4096 Sep 7 11:32 server-stats
drwxr-xr-x 2 zenworks zenworks 4096 Sep 7 11:34 services
drwxr-xr-x 5 zenworks zenworks 4096 Sep 7 11:34 tmp
drwxrwxr-x 4 zenworks zenworks 4096 Sep 7 11:32 unmanaged
lrwxrwxrwx 1 zenworks zenworks 40 Sep 7 11:22 work -> /vastorage//var/opt/novell/zenworks/work
drwxrwxr-x 2 zenworks zenworks 4096 Sep 7 11:29 yum-repo
-rw------- 1 zenworks zenworks 6 Sep 7 11:32 zenserver.pid
-rw-r--r-- 1 zenworks zenworks 146053 Sep 7 11:36 zentruststore
drwxr-xr-x 6 zenworks zenworks 4096 Sep 7 11:32 ZeUS
-rw-r--r-- 1 zenworks zenworks 17007 Sep 7 11:48 zeus.out
drwxr-xr-x 7 zenworks zenworks 4096 Sep 7 11:36 zmd
zcm1:~ #
zcm1:~ # ll /var/opt/novell/zenworks/database
total 82004
-rw------- 1 zenworks zenworks 22626304 Sep 7 12:00 zen_audit_hso_test.db
-rw------- 1 zenworks zenworks 2162688 Sep 7 11:50 zen_audit_hso_test.log
lrwxrwxrwx 1 root root 21 Sep 7 11:26 zenworks_audit.db -> zen_audit_hso_test.db
lrwxrwxrwx 1 root root 20 Sep 7 11:25 zenworks.db -> zenworks_hso_test.db
-rw------- 1 zenworks zenworks 49840128 Sep 7 11:57 zenworks_hso_test.db
-rw------- 1 zenworks zenworks 9240576 Sep 7 12:02 zenworks_hso_test.log
zcm1:~ # ll /var/opt/novell/zenworks/content-repo
lrwxrwxrwx 1 zenworks zenworks 48 Sep 7 11:22 /var/opt/novell/zenworks/content-repo -> /vastorage//var/opt/novell/zenworks/content-repo
zcm1:~ #
zcm1:~ # ll /vastorage/var/opt/novell/zenworks
total 24
drwxr-xr-x 10 zenworks zenworks 4096 Sep 7 11:34 collection
drwxr-xr-x 6 zenworks zenworks 4096 Sep 7 11:34 content-repo
drwxr-xr-x 5 zenworks zenworks 4096 Sep 7 11:36 lib
drwxr-xr-x 2 zenworks zenworks 4096 Sep 7 11:22 puppet
drwxr-xr-x 2 zenworks zenworks 4096 Sep 7 11:22 rm
drwxr-xr-x 5 zenworks zenworks 4096 Sep 7 11:48 work




/var/opt/novell/zenworks/database/ isn't a symlink and /vastorage/var/opt/novell/zenworks/database does not exist - that's why I think the DB is on the root filesystem.

BTW, you mentioned the review of the docs. I think this passage could be more clear:

The Additional hard disk that is added will be attached to the /dev/sdb1 and mounted on /vastorage. All
ZENworks related configurations, log files, backup files, certificates, and binaries are stored on the
additional hard disk


Content-Repo should be explicitly mentioned, because this is key for determining the size of the disk.
And were the database is stored should also be mentioned.
And /var should NOT be mentioned if there is no way to put it on its own filesystem.

.. just my opinion, maybe it is helpful for others too.
0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

Re: Appliance, partitions for /vastorage AND /var

Make a comment directly on the Documentation Page....
The Doc team actually READS customer feedback 🙂

I'm not sure why your DB is not under /vastorage/var/opt/novell/zenworks/database.
It is there under my 2017 Appliances..both clean 2017 installs as well as 11.4.x upgrades....

It is presumed that all data files will be on /vastorage......

When you do a major appliance upgrade....the very high level concept is just detach vastorage, attach to new appliance, upgrade done....
0 Likes
mguldner1 Absent Member.
Absent Member.

Re: Appliance, partitions for /vastorage AND /var

CRAIGDWILSON;2487210 wrote:

It is presumed that all data files will be on /vastorage......

When you do a major appliance upgrade....the very high level concept is just detach vastorage, attach to new appliance, upgrade done....


That makes sense, and makes me think that when moving the DB from the old first primary to the appliance, I should make sure its like this. Can you tell me at which level you see the symlink? At the level of the database direcktory? Presumably /var/opt/novell/zenworks/database -> /vastorage//var/opt/novell/zenworks/database ?
0 Likes
Micro Focus Expert
Micro Focus Expert

Re: Appliance, partitions for /vastorage AND /var

If you are able to open an SR...that may be work best....
Linux is less my area of expertise and if you CAN do an SR then someone could help make sure all is good...
Also they could help review docs to see if they need to be clarified....

I'm guessing you moved the DB to this server after it was installed vs having it created there upon install....
I could so easily see how the docs make very generic Linux references vs ensuring Appliance Specific details are missed....
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.