Dell PERC Question (Server Down)
-
@Dashrender said in Dell PERC Question (Server Down):
I only just started using XS, and it is installed on an SD card. The logs have not be moved yet.. but really, the logs should be move regardless to your central log catching server.
You can even specify a default location (NFS / SMB) for your logs to get pushed too so they aren't on the boot device.
-
@DustinB3403 said
You can even specify a default location (NFS / SMB) for your logs to get pushed too so they aren't on the boot device.
Do you mean be using the syslog forwarding in XC? (And also in the CLI?)
I did set that up. However, I noticed that the logs were still recording themselves on my boot device.
I Googled this, and apparently you have to go into /var/lib/syslog.conf and comment out all the local locations. And then you have to restart the syslog daemon ... which overwrites the config file. It does this on reboot, too.
Is that what you meant? If so, take a look in your logs directory and you'll probably see the same thing I saw ... even though you are forwarding, it is still writing to the boot drive. Check it out!
(Unless you meant actually moving the local logging location to another storage device which is also something I saw mentioned, but it much more entailed.)
This is the article I am referencing:
http://xenserver.org/discuss-virtualization/virtualization-blog/entry/log-rotation-and-syslog-forwarding.html -
@BRRABill said in Dell PERC Question (Server Down):
@DustinB3403 said
You can even specify a default location (NFS / SMB) for your logs to get pushed too so they aren't on the boot device.
Do you mean be using the syslog forwarding in XC? (And also in the CLI?)
No, he just means mounting an NFS device at the logging location.
-
@BRRABill said in Dell PERC Question (Server Down):
(Unless you meant actually moving the local logging location to another storage device which is also something I saw mentioned, but it much more entailed.)
It's actually very simple and standard. You just move the old log location from /var/log to /var/log_old. Then you make
mkdir /var/log
and then you mount an NFS share to that spot. That's all and then the logs go directly to the NFS device. -
@scottalanmiller said in Dell PERC Question (Server Down):
@BRRABill said in Dell PERC Question (Server Down):
(Unless you meant actually moving the local logging location to another storage device which is also something I saw mentioned, but it much more entailed.)
It's actually very simple and standard. You just move the old log location from /var/log to /var/log_old. Then you make
mkdir /var/log
and then you mount an NFS share to that spot. That's all and then the logs go directly to the NFS device.While Windows can do this, this is so rarely used to be more myth than anything
-
@Dashrender said
While Windows can do this, this is so rarely used to be more myth than anything
I used it once to set up a folder to my USB thumb drive.
-
@BRRABill said
This is the article I am referencing:
http://xenserver.org/discuss-virtualization/virtualization-blog/entry/log-rotation-and-syslog-forwarding.htmlI ended up trying the "dirty, dirty" trick in the comments tonight. Worked like a charm, and thankfully didn't blow anything up.
-
@BRRABill said
I ended up trying the "dirty, dirty" trick in the comments tonight. Worked like a charm, and thankfully didn't blow anything up.
Still not logging. Sweet.
I wonder why he said he didn't recommend doing this? I can't think of any reason. (Other than it gets re-written on updates.)
-
File this under the "you learn something new every day" category...
I have two SanDisk Cruzer Fit USB sticks I am running my two XSs off of.
The one has no LED, and the other flashes every 3 seconds.
Odd, I thought. I contacted SanDIsk, thinking perhaps one was broken or something.
This is the chart of "acceptable" behaviors, and they said it's possible two of the same drives bought at the same time could exhibit different behaviors.
- LED is a solid light and blinks only when transferring files to the device.
- LED blinks rapidly during initialization then turns off. LED then only blinks when data is being transferred.
- LED breaths (slowly fades in and out) when device is not being used and blinks rapidly when data is being transferred.
-
Basically they are saying that the lights are meaningless and pointless and even they don't know why they are there.
-
Seems a bizarre waste of money for a light that doesn't have a purpose.
-
@scottalanmiller said
Basically they are saying that the lights are meaningless and pointless and even they don't know why they are there.
How dare you read something so cynical into such a well crafted three point list.
-
What's the latest on this project?
-
@scottalanmiller said in Dell PERC Question (Server Down):
What's the latest on this project?
Well, I still do not have production servers on it yet. (I was waiting for XS7 to come out.)
But I put a Splunk instance on it (as well as XO, and a few other things) and it hasn't had any issues yet. Of course it didn't with the EDGE drives until I really got things running on it, so we shall see. But nothing was writing to it like the Splunk machine is.
But so far, so good.