Power Systems Virtual Server on IBM Cloud(AIX)에서 IBM Cloud Object Storage(ICOS)에 액세스

AIX에서 ICOS Endpoint 로의 연결 경로



다음 두 가지가 있습니다.

Endpoints and storage locations

ICOS Public Endpoint에 액세스하는 경로



이 경우, IBM의 9.9.9.9, Cloudflare의 1.1.1.1 등을 AIX의 DNS로 사용하여 엔드포인트 이름을 확인할 수 있습니다.

이름 서버를 사용하도록 호스트 구성

또한 인터넷에 대한 아웃바운드 요금이 다소 발생한다는 점에 유의하십시오.
  • Power Systems Virtual Server on IBM Cloud 아웃바운드 요금

  • How is network bandwidth billed?
    IBM Cloud Power environment: Inbound bandwidth is unlimited and not charged. Outbound bandwidth is charged per gigabyte (GB) when using a public network.
  • IBM Cloud Object Storage (ICOS) 아웃 바운드 요금

  • Billing
    Storage costs for IBM® Cloud Object Storage are determined by total volume of data that is stored, the amount of public outbound bandwidth used, and the total number of operational requests processed by the system.



    ICOS Private Endpoint에 액세스하는 경로



    이 경우, AIX의 DNS로 x86 서버를 지정한 다음 x86 서버에서 DNS 전달 대상으로 10.0.80.11 , 10.0.80.12 (또는 161.26.0.10 , 161.26.0.11 )를 설정하는 것이 좋습니다.

    DNS FAQ

    또한 고객 계정의 x86과 Power Systems 환경을 연결하는 Direct Link Connect 외에도 Proxy 또는 NAT가 필요합니다.



    Using Cloud Object Storage (COS) over IBM Cloud Direct Link


    AIX에서 ICOS 액세스 도구


    # uname -a
    AIX khayama-aix 2 7 00C23E004B00
    

    curl 사용



    기본적으로 curl가 포함되어 있습니다.
    # which curl
    /usr/bin/curl
    

    Using cURL

    파이썬 라이브러리 사용



    기본적으로 python가 포함되어 있습니다.
    # python -V
    Python 2.7.15
    

    Using Python

    aws-cli


    aws-cli 사용할 수 있습니다.
    # cd /tmp
    # curl -k -O https://bootstrap.pypa.io/get-pip.py
    # chmod +x get-pip.py
    # python get-pip.py
    # export PATH=/opt/freeware/bin:$PATH
    # chfs -a size=+1G /opt
    # pip install awscli
    # aws --version
    aws-cli/1.17.9 Python/2.7.15 AIX/2 botocore/1.14.9
    # aws help
    Could not find executable named "groff"
    

    help를 보려면 groff를 설치하십시오.
    # curl -k -O ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/groff/groff-1.17.2-1.aix4.3.ppc.rpm
    # chmod +x groff-1.17.2-1.aix4.3.ppc.rpm
    # rpm -ivh groff-1.17.2-1.aix4.3.ppc.rpm
    # aws s3 help
    

    Use the AWS CLI

    s3cmd


    s3cmd 사용할 수 있습니다.
    cd /tmp
    curl -k -O http://www.oss4aix.org/download/RPMS/python-dateutil/python-dateutil-2.6.0-1.aix5.1.noarch.rpm
    chmod +x python-dateutil-2.6.0-1.aix5.1.noarch.rpm
    rpm -ivh python-dateutil-2.6.0-1.aix5.1.noarch.rpm
    
    curl -k -O http://www.oss4aix.org/download/RPMS/file/file-libs-5.29-2.aix5.1.ppc.rpm
    chmod +x file-libs-5.29-2.aix5.1.ppc.rpm
    rpm -ivh file-libs-5.29-2.aix5.1.ppc.rpm
    
    curl -k -O http://www.oss4aix.org/download/RPMS/file/file-5.29-2.aix5.1.ppc.rpm
    chmod +x file-5.29-2.aix5.1.ppc.rpm
    rpm -ivh file-5.29-2.aix5.1.ppc.rpm
    
    curl -k -O http://www.oss4aix.org/download/RPMS/file/python-magic-5.29-2.aix5.1.ppc.rpm
    chmod +x python-magic-5.29-2.aix5.1.ppc.rpm
    rpm -ivh python-magic-5.29-2.aix5.1.ppc.rpm
    
    curl -k -O http://www.oss4aix.org/download/RPMS/s3cmd/s3cmd-1.6.1-1.aix5.1.noarch.rpm
    chmod +x s3cmd-1.6.1-1.aix5.1.noarch.rpm
    rpm -ivh s3cmd-1.6.1-1.aix5.1.noarch.rpm
    
    export PATH=/opt/freeware/bin:$PATH
    s3cmd --version
    

    참고: IBM Cloud CLI는 지원되지 않습니다.



    설치를 시도했지만 다음 오류가 발생했습니다.
    # curl -sL https://ibm.biz/idt-installer | bash
    [main] --==[ IBM Cloud Developer Tools for Linux/MacOS - Installer, v1.2.3 ]==--
    [main] WARN: Only MacOS and Linux systems are supported by this installer.
    [main] WARN: For Windows, please follow manual installation instructions at:
    [main] WARN: https://github.com/IBM-Cloud/ibm-cloud-developer-tools
    [main] ERROR: Unsupported platform: AIX
    

    IBM Cloud Object Storage CLI

    좋은 웹페이지 즐겨찾기