cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
852
Views
10
Helpful
4
Replies

VSM 7.6.0 cli archive commands

Nicholas Hood
Level 1
Level 1

Hi folks,

 

I was curious to know if there was a way I could see a list of what cameras (and archives) are a part of which /media store on my media servers.

 

I am over subscribed on a couple of my servers in just one media partition. I want to be able to look and see which cameras are in each partition so I can pinpoint which feeds to move off to another server. I know how to see all the cameras on a particular server, just not which partition they are in.

I know in version 6 there was a special page (BWT) that you could go to but I have not found a similar page in 7.6, so CLI would be good too.

 

Thanks so much!

server stats-

CPS-MSP-2RU-K9
Redhat 5.8

1 Accepted Solution

Accepted Solutions

Jason Rossi
Level 1
Level 1

Did you check the vsmc page of the media server? I recall is 7.5.x one could see which recording was on which partition. I presume one still can in 7.6. I had to expand the column to see it. Try <media server>/vsmc and check the Recordings and Streams sections.

Also, I think the hotfox addresses this issue on 7.6 where one partition gets full. ln previous versions the system seemed to balance itself out.

View solution in original post

4 Replies 4

Jason Rossi
Level 1
Level 1

Did you check the vsmc page of the media server? I recall is 7.5.x one could see which recording was on which partition. I presume one still can in 7.6. I had to expand the column to see it. Try <media server>/vsmc and check the Recordings and Streams sections.

Also, I think the hotfox addresses this issue on 7.6 where one partition gets full. ln previous versions the system seemed to balance itself out.

There is also a Cisco utility to rebalance multiple cameras across repos if things get too unbalanced. If you don't feel comfortable with what it does, or how it does so, I *strongly* recommend you engage TAC.

"

Here are the necessary steps to change the recording location:


1.      Make sure all of the repositories are enabled for recording on the Media Server
before performing this process.

2.      Stop the VSM software on the server.

3.      For each archive, run the chloc.sh script from the VSM server with the following
syntax:

a.      # sh chloc.sh <ID> </PATH>


For example:
# sh chloc.sh 10001 /media2
# sh chloc.sh 10002 /media2
# sh chloc.sh 10003 /media3
# sh chloc.sh 10004 /media4

This will cause the recording with the ID 10001 and 10002 to record on /media2, the
recording 10003 to record to /media3, and the recording 10004 to record on /media4.


4.      When all the archives are done restart the
VSM software.

When the software restarts VSMS will begin recording the affected cameras to the updated
repository (e.g. /media2/10001, /media3/10003). The existing video data will remain in its
original location and still be accessible for playback, so the oversubscribed repository
will stay over subscribed until the video is groomed per the recording duration and
balance out.

"

 

Cheers!

Scott Olsen Solutions Specialist Bulletproof Solutions Inc. Web: www.bulletproofsi.com

Scott,

Excellent tips as always. I will play around with this in my lab and use this method to balance out my repos.

 

-On the same note, do you know of a way to manually remove shelved archives? Since real estate is valuable on the media servers it would be nice to be able to remove 10 days worth of footage that we know is not needed if we decide to move a camera. I know this can be done by fully deleting a camera but I want to try to avoid doing that. It also appears to hold onto the record of the archive footage even after being groomed.

 

Thanks!

-Nick

Jason,

You were exactly right, I had to expand some columns and also had to slide the information page to the right with the slider bar. The way my screen is set up I did not see that had to be done. It tells me exactly what I need to know.

 

Thank you very much!

 

-Nick