首页 > 数据库 >DB2 LUW. 11.5.xx - Mac M1 ready

DB2 LUW. 11.5.xx - Mac M1 ready

时间:2023-01-01 10:11:08浏览次数:67  
标签:... database 11.5 LUW Mac command 2022 M1 DB2

DB2 LUW. 11.5.xx - Mac M1 ready

 https://community.ibm.com/community/user/hybriddatamanagement/discussion/db2-luw-115xx-mac-m1-ready Jürgen Jost

Jürgen JostMon January 18, 2021 07:58 PM

Hello, Is the DB2 LUW community edition 11.5.xx (may be on docker) M1 ready? https://isapplesiliconready.com/de ...
  • 1.  DB2 LUW. 11.5.xx - Mac M1 ready

    Like Jürgen Jost Posted Mon January 18, 2021 07:58 PM Reply Hello,   Is the DB2 LUW community edition 11.5.xx (may be on docker) M1 ready?   https://isapplesiliconready.com/de   My profile   https://community.ibm.com/community/user/hybriddatamanagement/network/members/profile/myaccount/inbox     Juergen Jost    

  • 2.  RE: DB2 LUW. 11.5.xx - Mac M1 ready

    Like Jürgen Jost Posted Tue January 19, 2021 02:54 AM Reply maybe there is some testing of LUW 11.5.xx on Rosetta
    from macrumors:
    Macs powered by Apple silicon, such as the M1 MacBook Pro, can run both iOS apps and Mac apps, but they can also run x86-64 software that's been built to work on Intel architecture, thanks to something called Rosetta 2.

    ------------------------------
    Jürgen Jost
    DB2 DBA (LUW / zOS)
    ------------------------------

       Original Message

  • 3.  RE: DB2 LUW. 11.5.xx - Mac M1 ready

    Like Jonathan Herdt Posted Wed January 26, 2022 10:21 AM Reply It doesn't look good from everything I can see. The official Docker image lists itself as not compatible with arm64, and when you try via Rosetta/x86 emulation, you run into problems as described here.

    ------------------------------
    Jonathan Herdt
    ------------------------------

       Original Message

  • 4.  RE: DB2 LUW. 11.5.xx - Mac M1 ready

    Like Jonathan Herdt Posted Wed January 26, 2022 10:30 AM Reply

    Would love to know the same. Having changed computers recently to an M1 and realizing that none of the IBM DB2 stuff works was disappointing.

    I am talking about both the Docker image (https://hub.docker.com/r/ibmcom/db2), as well as the CLI driver (https://public.dhe.ibm.com/ibmdl/export/pub/software/data/db2/drivers/odbc_cli/).

    For us, the Docker image does not seem to know the db2 command, even when run in x86 mode:

    /bin/bash: db2stop: command not found

    As it stands, this makes development with M1 very hard because we now have to find ways around these hurdles.



    ------------------------------
    Jonathan Herdt
    ------------------------------

       Original Message

  • 5.  RE: DB2 LUW. 11.5.xx - Mac M1 ready

    Like Jürgen Jost Posted Thu January 27, 2022 05:07 AM Reply

    When downloading the docker image, I got the following:

    latest: Pulling from ibmcom/db2

    no matching manifest for linux/arm64/v8 in the manifest list entries

    PS
    postgresql works on M1



    ------------------------------
    Jürgen Jost
    DB2 DBA (LUW / zOS)
    ------------------------------

       Original Message

  • 6.  RE: DB2 LUW. 11.5.xx - Mac M1 ready

    Like Jonathan Herdt Posted Thu January 27, 2022 08:12 AM Reply You can try the following to make it run in x86 emulated mode:
    docker run -it --name db2 -e DBNAME=testdb -v ~/:/database -e DB2INST1_PASSWORD=GD1OJfLGG64HV2dtwK -e LICENSE=accept -p 50000:50000 --privileged=true --platform=linux/amd64 ibmcom/db2

    As stated above, this will not work as it will not be able to find db2 and db2stop. For me, I get the following output:
    (*) Previous setup has not been detected. Creating the users... 
    (*) Creating users ...
    (*) Creating instance ... 
    DBI1446I  The db2icrt command is running.
    DB2 installation is being initialized.
     Total number of tasks to be performed: 4 
    Total estimated time for all tasks to be performed: 309 second(s) 
    Task #1 start
    Description: Setting default global profile registry variables 
    Estimated time 1 second(s) 
    Task #1 end 
    Task #2 start
    Description: Initializing instance list 
    Estimated time 5 second(s) 
    Task #2 end 
    Task #3 start
    Description: Configuring DB2 instances 
    Estimated time 300 second(s) 
    Task #3 end 
    Task #4 start
    Description: Updating global profile registry 
    Estimated time 3 second(s) 
    Task #4 end 
    The execution completed successfully.
    For more information see the DB2 installation log at "/tmp/db2icrt.log.195".
    DBI1070I  Program db2icrt completed successfully.
    (*) Fixing /etc/services file for DB2 ... 
    /bin/bash: db2stop: command not found
    
    And then a lot of error output follows.

    ------------------------------
    Jonathan Herdt
    ------------------------------

       Original Message

  • 7.  RE: DB2 LUW. 11.5.xx - Mac M1 ready

    Like Jonathan Herdt Posted Thu February 10, 2022 03:07 AM Reply I would very much like to hear a response from an IBM employee on this. M1 has been around for a year and is now the default architecture for new Macs. More and more people are getting M1 Macs so this issue will not go away but rather become more pressing over time.

    ------------------------------
    Jonathan Herdt
    ------------------------------

       Original Message

  • 8.  RE: DB2 LUW. 11.5.xx - Mac M1 ready

    Like IRINA DELIDJAKOVA Posted Fri February 11, 2022 10:04 AM Reply @Jonathan Herdt I'm aware of the issue and will investigate. Will provide a response to this thread once I know more. ​

    ------------------------------
    IRINA DELIDJAKOVA
    ------------------------------

       Original Message

  • 9.  RE: DB2 LUW. 11.5.xx - Mac M1 ready

    Like IRINA DELIDJAKOVA Posted Wed March 02, 2022 01:03 PM Reply Hi All, this will not be an easy fix and we will need to support Db2 server on arm64 architectures before the container can support it as well. We are planning this for a future Db2 version - no particular date in plan yet as it is currently being evaluated.

    ------------------------------
    IRINA DELIDJAKOVA
    ------------------------------

       Original Message

  • 10.  RE: DB2 LUW. 11.5.xx - Mac M1 ready

    Like Jonathan Herdt Posted Thu March 03, 2022 03:23 AM Reply @IRINA DELIDJAKOVA Hey Irina, thanks a lot for being open about this and very good to hear that you're working on it. I understand that this will be challenging and that it can take time. Any​ chance you could work on making the x86 emulation work in the meantime, in case that's easier/quicker (see my message above for how to start Docker like this)?

    标签:...,database,11.5,LUW,Mac,command,2022,M1,DB2
    From: https://www.cnblogs.com/z-cm/p/17017762.html

相关文章

  • 【K8S】MAC搭建K8S集群
    参考资料​​全网最系统、最清晰!深入微服务架构——Docker和K8s详解-哔哩哔哩​​​​Mac+Docker+K8S本地搭建K8S集群_GoLang成长之​​Mac系统安装k8s集群_51CTO博......
  • CleanMyMac清理垃圾时频繁要求输入密码的处理方法
    CleanMyMac一款专为MacOS用户所设计的Mac系统清理工具,最近有不少用户反映在使用CleanMyMac清理系统垃圾文件的时候会频繁要求输入开机密码,让人烦不胜烦。如何解决这一问题呢......
  • CleanMyMac一直提示输入密码
    原因:当CleanMyMacX试图安装HelperTool时,系统会提示您输入密码-正确运行CleanMyMacX所需的组件。请确保您已经输入正确的密码,并且已安装Helper。CleanMyMacX最新版下载地......
  • macOS 终端运行提示“Operation not permitted ”解决办法
    终端运行命令后提“示Operationnotpermitted”报错,这个问题一般只有在macOSVentura系统出现比较频繁,或者是从其他版本升级到Ventura的也需要注意这个小问题。解决办法打......
  • Illustrator 2022 for mac (AI 2022) v26.4.1中文版
    Illustrator 2022中文版是一款矢量图形软件,Adobeillustrator常被称为“AI”,可以制作适用于印刷、Web、视频和移动设备的徽标、图标、绘图、版式和插图的矢量图设计软件。......
  • MAC地址漂移
     交换机允许相同MAC存在不同的端口的情况发生,但是要在不同的VLAN才可以 MAC漂移发生的情况:1.环路2.ap漫游3.攻击4.vrrp网关切换如何避免:1.配置mac学习优先级......
  • MAC
     2黑洞mac表项:防止虚机攻击  注意:一定要加vlanx,否则不生效 全局:mac-addressblackhole5489-989c-3427 vlan13、配置mac学习优先级防止mac漂移:防止......
  • AirBuddy for Mac(AirPods耳机管理工具)v2.6.3汉化版
    AirBuddy激活版哪里可以下载呢?AirBuddyforMac(AirPods耳机管理工具)v2.6.3汉化版分享给大家,Airbuddyformac是一款功能高效的AirPods耳机管理工具,可以帮助你体验AirPods......
  • MAC之PyQt5环境
    一,安装模块1,pyqt5pip3installpyqt52,pyqt5-toolspip3installpyqt5-tools二,pyqt5designer的位置安装了pyqt5后就有了:/Users/hz/WorkSpace/Python/Qt/venv/lib/python3.......
  • MAC地址漂移
              MAC漂移发生的情况:1.环路2.ap漫游3.攻击4.vrrp网关切换如何避免:1.配置mac学习优先级2.配置漂移检测功能,可以配置检测到漂移后告警......