8000 cb_post_boot.sh starts log store and object store services locally on vms · Issue #445 · ibmcb/cbtool · GitHub
[go: up one dir, main page]

Skip to content

cb_post_boot.sh starts log store and object store services locally on vms #445

Open

Description

@rayx

See the following code in scripts/common/cb_post_boot.sh:

if [[ x"${my_vm_uuid}" == x"${load_manager_vm_uuid}" || x"${my_type}" == x"none" ]]
then
    syslog_netcat "Starting (AI) Log store..."
    start_syslog `get_global_sub_attribute logstore port`
    syslog_netcat "Local (AI) Log store started"
    syslog_netcat "Starting (AI) Object store..."
    start_redis ${osportnumber}
    syslog_netcat "Local (AI) Object store started"
    setup_rclocal_restarts
fi

When I run "vmattach tinyvm", I observe that the x"${my_type}" == x"none" check is true and the script starts redis server and rsyslog daemon on the vm.

$ /usr/bin/redis-cli -h 192.168.122.24 -p 6379 -n 0 hget TEST_centos:MYPLM:VM:B409458E-0220-523F-948D-DDA6D4421542 type
"none"

I think these local services on vms are not used (even if the vm serves as load manager)? From my understanding, vms scripts only access object store and log store services running globally.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0