SDLab

SDLab
SDLab.org::Adminな脳み
ラベル MEMO の投稿を表示しています。 すべての投稿を表示
ラベル MEMO の投稿を表示しています。 すべての投稿を表示

2025年4月17日木曜日

YYLUUT 録画できない 原因

アクションカメラ ウェアラブルカメラ ビデオカメラ IP67本機防水 防水中カメラ スポーツカメラ バイクカム 8-10時間ループ録画1080P画質


YYLUUTのアクションカメラを自転車用のドラレコとして使ってる。

普段使いでは問題なかったのだが、突然録画ができなくなった。

症状は、

  • 電源は入る。電源も切れる。
  • 録画ボタン押しても反応しない。
  • メニューボタン押しても反応しない。
なんでかな、中華製?だから仕方ないなぁと思ってたら、戻るボタンを押しても押した感覚がないことに気づいた。
近くにあった画鋲を、戻るボタンの横に刺したり、中央付近に刺して持ち上げたら、ボタンが戻る感触があった。

再度電源入れたら正常に戻った。
多分、戻るボタンが押しっぱなしの状態になってたから、そのほかのボタンが押せなかったのね。


2019年12月14日土曜日

Google Nest WiFiでハマったこと

Google Nest WiFi で苦労した点を書いておく。
Google Nest WiFi は基本的には情弱専用機なので細かい設定ができない。
当然デバックログやSyslog飛ばしができないのでなぜ接続に失敗したか不明。
不自由なく設定できるのであれば、この端末を買うことをお勧めしない。

1.SSIDで空白とか記号とか使っているとつながらない端末が出たりする。
  これは、単純に空白がないSSIDに変更すればいい。

2.これはIntelの問題か?ノートPCで、接続はできたがインターネットにつながらないという症状。
  利用しているのは Intel Dual Band Wireless-AC 7265。
  対応としては、802.11n/acを無効化したらつながった。(本日時点でWindows Updateおよびドライバは最新)
  で、1度つながると、有効化しても問題なくつながるようになる。

  具体的には下記の通り。
  コントロールパネルから、デバイスマネージャを開いて
  「ネットワークアダプター」内の「Intel Dual Ban Wireless-AC 7265」を右クリック。プロパティを選択。

  「詳細設定」タブの802.11n/acワイヤレスモードを選択して、「無効」。

 これでつながった。
 細かい設定ができないからストレスたまるね、この端末。

2015年2月23日月曜日

Why we use OPAM for XenServer development


Why we use OPAM for XenServer development
https://opam.ocaml.org/blog/opam-in-xenserver/


  • manages clusters of Xen hosts with shared storage and networking
  • allows running VMs to be migrated between hosts (with or without storage) with minimal downtime
  • automatically restarts VMs after host failure (High Availability)
  • allows cross-site Disaster Recovery
  • simplifies maintainence through Rolling Pool Upgrade
  • collects performance statistics for historical analysis and for alerting
  • has a full-featured XML-RPC based API, used by clients such as XenCenter, Xen Orchestra, OpenStack and CloudStack


xapi のインストール方法(CentOS6への)なので、メモっておきます。

2015年1月21日水曜日

LINEを利用までの長い道のり

LINEが必要だ、さっさと入れろと迫られて、
今までは断ってたのだが、断れない状況になったので専用端末を用意して対応することにした。

2014年12月25日木曜日

Skype API MEMO

Skype API を使う羽目になったので、MEMO。

表現の仕方はしらないが、新しいSkypeは、
個人同士のチャットは、P2Pベースで、
グループチャットは、クラウドベースになったそうだ。
で、P2Pベースだと、既存のAPIが使えるから、Skype4pyとかが問題なく使えるが、
クラウドベースだとAPIが使えない。

AnsibleでVagrant上にHubot+Skype botな環境を作成
http://qiita.com/shufo/items/383eb3cab65578750adc

分かりやすい例があったのでリンクされていただく。


じゃ、どーすればいいのって話だが、Skypeのサイトを見れば一発だった。

What are chat commands and roles?https://support.skype.com/en/faq/FA10042/what-are-chat-commands-and-roles

All new groups created will be cloud-based groups. If you want to create a P2P-based group (to make use of the legacy moderator functionality), type /createmoderatedchat. This will create a new chat group called Empty Group, to which you can add users and use the full list of P2P-based chat commands described below.

まぁ、普通に考えれば、P2Pベースが廃止になってないならP2P指定でグループチャット立てればいいわけだ。
そのコマンドは、 Skypeクライアントから、 /createmoderatedchat って打てばいい。
それで、空のチャット がP2Pで作られる。
試しに、sevabotからつないだら問題なく利用できた。


2014年12月5日金曜日

Citrix Japan Technical Support に問い合わせてみた。その2

Citrix Japan Technical Support に問い合わせてみた。
http://mada0833.blogspot.jp/2014/10/citrix-japan-technical-support.html
の続き。


回答の概要) 
また、弊社 Hardware Compatibility List ページを確認したら
NIC ”Intel Corporation, 82575EB Gigabit Network Connection ”がサポートされていない状況だよ。HCLページに掲載されているNICを使ってね。


サポートされてないNICって返答きたw 年内に帰ってくるなんて高速なレスポンスで驚いた。
だって、1ヶ月と数日ですよ!

HCLで確認するとホントだ。
Intel Corporation 82575EB Gigabit Network Connection
を使ってるんだけど、
サポート対象は、
IntelR 82575EB Gigabit Ethernet Controller
http://hcl.xensource.com/ProductDetails.aspx?ProductType=NIC&ProductName=Intel%C2%AE+82575EB+Gigabit+Ethernet+Controller
でした。

チップが一緒でもHCLの登録名と完全に一致しないと「サポート対象外」になっちゃうなんて、
機器の選定がほぼ不可能ですね。
さぁ、どうしようかなぁ。


2014年11月26日水曜日

What are the top Citrix XenServer Issues/Workarounds/Best Practices for NFSv3

NetAppに情報があったので。

What are the top Citrix XenServer Issues/Workarounds/Best Practices for NFSv3
https://kb.netapp.com/support/index?id=3014326&page=content

あと、折角のリンクが壊れてたので、ここに書いておきます。
XenServer and NetApp Storage Best Prictices
https://www.netapp.com/us/media/tr-3732.pdf

2014年11月12日水曜日

the "mgr_rxbuf=off" option がpage_to_skb()で問題に

Important: kernel security and bug fix update
https://rhn.redhat.com/errata/RHSA-2014-1843.html

セキュリティホールじゃなくて、skbに反応したのでMEMO。
忘れたころにvNICの問題になったりするんだよね・・・

* Due to previous changes in the virtio-net driver, a Red Hat Enterprise
Linux 6.6 guest was unable to boot with the "mgr_rxbuf=off" option
specified. This was caused by providing the page_to_skb() function with an
incorrect packet length in the driver's Rx path. This problem has been
fixed and the guest in the described scenario can now boot successfully.
(BZ#1148693)

2014年11月10日月曜日

LVMiSCSI cinder backend for RDO Juno on CentOS 7

興味があったのでMEMO

LVMiSCSI cinder backend for RDO Juno on CentOS 7
http://bderzhavets.blogspot.jp/2014/11/lvmiscsi-cinder-backend-for-rdo-juno-on.html

と、その前の記事。

RDO Juno Set up Two Real Node (Controller+Compute) Gluster 3.5.2 Cluster ML2&OVS&VXLAN on CentOS 7
http://bderzhavets.blogspot.jp/2014/11/rdo-setup-two-real-node.html



2014年10月30日木曜日

Citrix Japan Technical Support に問い合わせてみた。

「XenServerのサポートはよくない」
という話はよく聞く。
そんなサポートに、超沢山のお金を支払ってるので再度Tryした。
# なお、障害等が発生した場合には、必ずレポートは取っておく
# xen-bugtool --yestoall
  • まず Case を作成する必要がある
    1. MyCitrix に Login
    1. 「Support」タグの「Open a Support Case」
    2. 「Technical support」の「XenServer」を選択し、「Go」
    3. 「Your Support Option」の「Open Support」
    4. 「ケース」タブの「新規ケース」を押す
    5. 「I have a Technical Issue」を選択
    6. 「Enter a brief description of your issue.」になにか入力して検索。
    7. すると「Open a Case」ボタンが表示されるので選択。
    8. 後は書いていくだけ。ここは気合を入れなくてもヨサゲ
  • Case作成後は先方から連絡が来るので、それに沿って対応する。
    • なお、Case登録から連絡が来るまで今回は3時間38分ととても速い対応であった。
      • なので、Case作成後は、速やかに下記障害報告書の作成に入ること。
    • さて、ここからが大変。

Citrix Japan Technical Support 障害報告書テンプレート
http://support.citrix.com/article/CTX130103


この中の「IncidentReport_XS_20140725.txt」を利用する。
で、多くの人はトラブルで心が折れそうになっている人の心をさらにへし折る。
それを乗り越えて、レポートを出しても、は?という回答が来て、さらに心が折れて、
がんばってその回答に返信しても、軽く1ヶ月は放置される。

障害報告書がかけたら、次はアップロード。
にアクセスしてMyCitrixアカウントでログインして、
Getting Startedを飛ばして、Upload Data でアップしよう。

その時に、Case NumberにはCitrixから来た連絡メールに書かれてる番号(必須)と
Descriptionには、自分でわかるように、問合せの件名などを書いておこう。

アップするファイルは、
・障害報告書
・レポート( xen-bugtool --yestoall)
の2つ。

さぁ、再来年くらいには回答がくるのかなぁ。
ちなみに、「XenServerのサポートはよくない」のレベルは、貴方が想像するよりもかなり末期です。

なお、私は、Citrixとは全く関係ない。

2014年10月23日木曜日

Outreach Program Projects of Xen Project

Outreach Program Projects

http://wiki.xenproject.org/wiki/Outreach_Program_Projects

外郭プロジェクトの一覧。Wikiにまとまってるので便利。
更新が進めばいいけど。

2014年10月14日火曜日

ksh - shell hangs if setting variable from command that produces more than 120k and is piped


Bug 1148830 - shell hangs if setting variable from command that produces more than 120k and is piped

https://bugzilla.redhat.com/show_bug.cgi?id=1148830

Previously, the KornShell became unresponsive when setting a variable from a command that produced more than 120 k and was then piped. A patch has been applied to fix this bug, and KornShell now executes commands correctly.

Korn Shellも urgentで出てるね。

2014年8月20日水曜日

MirageOSのMEMO

Re: [Xen-API] [MirageOS-devel] xen dev summit talk slides: Branch Consistency for Xenstore
http://lists.xen.org/archives/html/xen-api/2014-08/msg00027.html

MirageOSについてMEMOしておきます。


MirageOSのMLはココ
MirageOS-devel -- Developer list for MirageOS
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

2014年8月1日金曜日

Xen Project User Summit

Xen Project User Summit 
http://events.linuxfoundation.org/events/xen-project-user-summit/program/schedule
New York, NY
September 15, 2014

XenServer Creedence: XenServer One Year After Being Open-Sourced
Tim Mackey, XenServer Community Manager (Citrix), brings us the latest
information about the XenServer refresh coming with the Creedence
release.  Anyone using or considering XenServer will want to hear
this.
ちょっと聞いてみたい。

2014年7月29日火曜日

Xen

CPU周りの修正が多い印象。

[Xen-changelog] [xen master] document IOMMU related command line options
http://lists.xen.org/archives/html/xen-changelog/2014-07/msg00212.html

[Xen-changelog] [xen master] cxenstored: add support for systemd active sockets
http://lists.xen.org/archives/html/xen-changelog/2014-07/msg00232.html
[Xen-changelog] [xen master] oxenstored: add support for systemd active sockets
http://lists.xen.org/archives/html/xen-changelog/2014-07/msg00233.html


[Xen-changelog] [xen master] avoid crash when doing shutdown with active cpupools
http://lists.xen.org/archives/html/xen-changelog/2014-07/msg00205.html

[Xen-changelog] [xen master] xen: arm: ensure that the boot code is <4K in size
http://lists.xen.org/archives/html/xen-changelog/2014-07/msg00218.html


2014年7月24日木曜日

ethtool 関連 TCP offload


Re: [Xen-users] Network connections stalling - Debian Linux domU's
http://lists.xen.org/archives/html/xen-users/2014-07/msg00364.html

>> One observation: It seems to happen only with IPv4. If I connect to the
>> server using IPv6, everything runs fine - mail, sftp etc is OK. Are
>> there any IP- or TCP-settings that could cause this?
>
> tso and friends perhaps. Check ethtool -k (or is it -K?).
Bingo. "ethtool -K eth0 tx off" on the guest does the trick.

それBingoなのかっていう突っ込みは大いにあるが、一応MEMO。

これに絡んで、こっちもあげておく。
How to disable TCP offloading on XenServer 6.2 host nic's
http://discussions.citrix.com/topic/345963-how-to-disable-tcp-offloading-on-xenserver-62-host-nics/

全てOFFにしちゃうと、XenServer5.6からXenServer6.2にUpgrade時に、
TSOか、GSOか忘れたけど、エラーとになった。
なので、Clearwaterでは、TSOとGSOはONが推奨。

なお、トビアスが紹介している、VIF/PIFにOffloadを一括設定するスクリプトは、
運用するときは、注意してね。
設定を突っ込むとき、TSO/GSOもOFFになるんじゃない?
楽せず自分で書いくことを進める。
また、設定を抜くときは、自分で書くか打ち込んでくしかないけど、
param-clear時、other-configが全部クリアされるので、
PIFでNIC0とかNIC1とかについてるmanagement_purpose:を消さないようにね。


2014年7月23日水曜日

Memory usage alert mail など

xapi


Add Dom0 mem_usage alert
https://github.com/xapi-project/xen-api/pull/1836

+def get_percent_mem_usage(ignored):
+    "Get the percent usage of Dom0 memory/swap. Input list is ignored and should be empty"

Swapの状況もDom0でとれて、Alertメールも出せるようになる。


CP-9019: Automatically log the Xen console
https://github.com/andyhhp/xen-api/commit/9c5c623df0fbe477d3aa1e0c5cdf5054bd9ebe33

/usr/sbin/xenconsoled --log=hv --timestamp=hv --log-dir=/var/log/xen


CP-8987: Use Sexp for Xenops header serialisation
https://github.com/simonjbeaumont/xenopsd/commit/42b0c6061408e08ff8b2c9880344e294c5865a2a
We want to be able to extend the Xenops record in the suspend image in future
versions

sexp_lib

2014年7月16日水曜日

XS62ESP1008

下記更新しました。
XS62ESP1008 (7/15公開)

XenServer6.2 SP1 のパッチリスト (2014/7/16時点)




2014年6月27日金曜日

Slackware 14.1 on XenServer 6.2

Slackware 14.1 on XenServer 6.2 as HVM: fix network driver
http://www.deftunix.it/2014/06/26/slackware-14-1-on-xenserver-6-2-as-hvm-fix-network-driver/

なつかしぃw。Slackwareだって。
ただ単に懐かしかったからという理由でMEMO。当然検証等はしてません。

HVMで Network Driverの問題があるから、8139too をBlackList登録してねってこと。

2014年6月17日火曜日

xapi daemon のRRDの説明、 MPP-RDAC 他

RE: [xs-devel] Gluster FS with libgfapi
https://lists.xenserver.org/sympa/arc/xs-devel/2014-06/msg00052.html

Creedenceでは、libgfapiはサポートしてない模様。


The problem with xapi daemon metrics in monitoring XenServer performance
http://discussions.citrix.com/topic/346909-the-problem-with-xapi-daemon-metrics-in-monitoring-xenserver-performance/

xapi DaemonのRRD関連の
xapi_allocation_kib
xapi_free_memory_kib
xapi_live_memory_kib
xapi_memory_usage_kib
の説明。


MultiPath XenServer MPP-RDAC - IBM DS3512/24 - 1746
http://discussions.citrix.com/topic/352656-multipath-xenserver-mpp-rdac-ibm-ds351224-1746/

iSCSIで組む人は、MPP-RDACがおすすめらしいけど。使ったことない。
LSIのチップ積んだストレージなら可能とManualで読んだ記憶が。
また、MPP-RDACで使えば、XenMotionでPacket Loss無しにSeemlessにMigration可能だという話もどこかで見た記憶がある。