VMware Horizon Community
danielkrause
Enthusiast
Enthusiast

Bind AppVolume over CMD/service?

Dear community,

we are using MSE and the updateprocess is not possible when an appvolume is attached with our script.

(Exceptions not working, we tried that twice wih the appvolume support)

So the idea is when running the script, stopp the AppVolume Service, so that all AppVolumes will be detached and than attached it after the update process again with an unknown command.

Is there a command to bind the allocated appvolumes again?

Thank you and cheers

Daniel

0 Kudos
4 Replies
techguy129
Expert
Expert

You will need to preform a restart after your update process so that the app volumes are mounted property.

0 Kudos
danielkrause
Enthusiast
Enthusiast

okay.. but you can direct attach a appvolume isn't it? So why do you need a reboot? This makes no sense to me.

0 Kudos
techguy129
Expert
Expert

There is a local system appstack that is dismounted when you stop the service. That is reason why you aren't able to preform the update process with app volume started and why it works when the service is stopped. The system appstack needs to be mounted during startup.

0 Kudos
Ray_handels
Virtuoso
Virtuoso

You could try and use the command line SVSERVICE. Not 100% sure if you are able to attach the system appstack with it while logged in. But it's worth a shot. My guess is that the

"svservice attach <appname>" might just do the trick Smiley Happy.

Attach the output of the commans when you use svservice.exe /?

svservice install start hypervisor rflag svmanager [svmanager2 ...]
        start      = auto|manual|disabled
        hypervisor = amazon|vcenter|xenserver|hyperv
        rflag = on|off (turn on or off the RebootAfterDetach flag)
        svmanager  = host:port or host (default port 80)
Example:
        svservice install auto vcenter off 192.168.1.1 192.168.1.2:8888

svservice uuid = print BIOS UUID (and VM UUID)
svservice status = service state
svservice run = run as console application
svservice start|stop|pause|resume|uninstall = manipulate service

Devices:
svservice rescan = rescan devices
svservice dump = dump devices
svservice flush = flush volumes
svservice attach <appname>
svservice detach <appname>
svservice provision <appname>
svservice update <oldappname> <appname>
svservice openfile abc.pdf
svservice mount = add mountpoints in "\SnapVolumesTemp\MountPoints\"
svservice unmount = remove all mountpoints under "\SnapVolumesTemp\MountPoints

Scripts:
svservice logon = run logon.bat script on each CloudVolume
svservice logoff = run logoff.bat script on each CloudVolume
svservice provision-complete = resend provisioning-complete message to Manager

Virtualization policies:
svservice activate = activate filtering
svservice addpolicy <policy>
svservice removepolicy <policy>
svservice refreshenv = Refresh Environment Variables
svservice clearcache = clear cache
svservice clearfilecache = clear only file cache
svservice clearregcache = clear only registry cache
svservice clearpolicies = clear all policies
svservice clearfilepolicies = clear all file system policies
svservice clearregpolicies = clear all registry policies
svservice removepolicies registry <path> = remove registry policies
svservice removepolicies path <path> = remove file/directory policies
svservice removepolicies volume <path> = remove policies associated with volum
svservice session = update and dump user session information in the log

svservice writablelist

svservice writablecleanup

0 Kudos